|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
T - Text error instance class.public interface TextFileDocument<T extends TextError>
Interface for entities which persist their content in text files.
| Method Summary | |
|---|---|
void |
clearErrors()
Clear the collection of errors. |
java.util.List<T> |
getErrors()
Get the collection of errors generated during the most recent file load. |
void |
logError(int lineNumber,
int start,
int end,
java.lang.String message)
Handle an error encountered while loading this document. |
| Methods inherited from interface net.charlesames.utility.io.FileDocument |
|---|
dispose, getFile, getLoadDate, isDirty, load, makeDirty, save, setFile |
| Method Detail |
|---|
java.util.List<T> getErrors()
void logError(int lineNumber,
int start,
int end,
java.lang.String message)
lineNumber - The text line number in which this error occurred.start - The left bound of the text-selection region where the error occurred.end - The right bound of the text-selection region where the error occurred.message - A text string describing the error.void clearErrors()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||