|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DCacheAdapter
A lightweight wrapper type for DefinitionsDocuments that may or may not be resident in memory. An instance of this The wrapper includes a copy of the String text of the document if it has been kicked out of the cache.
| Method Summary | |
|---|---|
void |
addDocumentListener(DocumentListener l)
Adds a DocumentListener to the reconstructor. |
void |
close()
Closes the corresponding document for this adapter. |
void |
documentModified()
|
void |
documentReset()
|
void |
documentSaved()
|
DefinitionsDocument |
getDocument()
Retrieves the document for its corresponding ODD |
int |
getLength()
|
String |
getText()
|
String |
getText(int offset,
int length)
|
boolean |
isReady()
Checks whether the document is ready to be returned. |
| Method Detail |
|---|
DefinitionsDocument getDocument()
throws IOException,
FileMovedException
IOException
FileMovedExceptionint getLength()
String getText()
String getText(int offset,
int length)
throws BadLocationException
BadLocationExceptionboolean isReady()
void close()
void addDocumentListener(DocumentListener l)
void documentSaved()
void documentModified()
void documentReset()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||