Package com.cometway.text

This package contains a model and reference implementation of text buffer that allows text editor-like functions to a low-level text buffer interface.

See:
          Description

Interface Summary
ITextBuffer This interface defines an interface for reading and manipulating a buffer of text.
ITextBufferListener Listener interface for receiving notifications about changes to text buffers.
ITextFinder Interface for implementing an abstract text searching algorithm.
ITextPointerListener Listener interface for receiving notifications about changes to a text pointer.
 

Class Summary
RegExpTextFinder A text finder which searches for the first range of text matching a given Regular Expression (PERL 5 reg exp)
StringTextBuffer An implementatin of the ITextBuffer interface using the String object to store the contents of the text buffer.
TextFinder A text finder which uses generic search algorithms.
TextFinderResult Represents a range of text returned by the ITextFinder interface.
TextPointer A pointer to a position in an ITextBuffer.
TextRange A representation of a range of text in an ITextBuffer.
 

Package com.cometway.text Description

This package contains a model and reference implementation of text buffer that allows text editor-like functions to a low-level text buffer interface. Some of the features include text pointers and text ranges which automatically maintain their correct marker positions within the buffer while the buffers contents are being changed. Text finders know how to search through the text using user-defined algorithms. Reference implementations for standard matching and regular expression based finders are provided. There are also tools for parsing HTML.