|
Extension SDK 10.1.2 | ||||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
The TextBuffer
package assists in the manipulation of in-memory text content, whether it is read-only text, or read-write text.
See:
Description
Interface Summary | |
LineMap | A LineMap is an interface for accessing the line structure information of a TextBuffer . |
OffsetMark | The OffsetMark is used by the TextBuffer to provide bookmark services. |
ReadTextBuffer | The ReadTextBuffer interface provides a subset of the TextBuffer methods for read-only access to text data. |
TextBuffer | The TextBuffer interface describes a class which can be used for managing the raw text content of a document. |
TextBufferListener | The TextBufferListener interface should be implemented by observers interested in receiving notifications of changes to the associated TextBuffer . |
Class Summary | |
CharArrayReadTextBuffer | The CharArrayReadTextBuffer is a wrapper implementation that provides a ReadTextBuffer interface on top of a String datasource. |
ReadWriteLock | The ReadWriteLock class is a basic implementation of a read/write or shared/exclusive lock. |
TextBufferFactory | The TextBufferFactory is a static factory class for creating TextBuffer instances for use. |
Exception Summary | |
ReadOnlyException | An ReadOnlyException is thrown when clients attempt to modify a TextBuffer instance marked as read only. |
The TextBuffer
package assists in the manipulation of in-memory text content, whether it is read-only text, or read-write text. All text data is stored in normal Java Unicode format as a sequence of char
's.
Text buffers can be accessed through two interfaces:
ReadTextBuffer
: The first interface provides read-only access to the contents of the text buffer.TextBuffer
: The second interface provides full read-write access to the contents of the text buffer.To create a TextBuffer
instance or ReadTextBuffer
, use the TextBufferFactory
factory class. For more details about how to use this package, please refer to the JavaDoc for these two interfaces.
|
Extension SDK | ||||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
Copyright © 1997, 2004, Oracle. All rights reserved.