|
|||||||||
| Home >> All >> org >> dinopolis >> util >> [ io overview ] | PREV NEXT | ||||||||
A
- addFileChangeListener(FileChangeListener) - Method in class org.dinopolis.util.io.FileChangeDetection
- Adds a listener that is informed about changes of the observed file.
B
C
- close() - Method in class org.dinopolis.util.io.Tokenizer
- Closes the tokenizer (and the reader is uses internally).
D
- DEFAULT_LOOKUP_PERIOD - Static variable in class org.dinopolis.util.io.FileChangeDetection
- DELIMITER - Static variable in class org.dinopolis.util.io.Tokenizer
- delimiters_ - Variable in class org.dinopolis.util.io.Tokenizer
E
- EOF - Static variable in class org.dinopolis.util.io.Tokenizer
- EOL - Static variable in class org.dinopolis.util.io.Tokenizer
- ERROR - Static variable in class org.dinopolis.util.io.Tokenizer
- eof_reached_ - Variable in class org.dinopolis.util.io.Tokenizer
- eolIsSignificant(boolean) - Method in class org.dinopolis.util.io.Tokenizer
- If set to
truethe end of line is signaled by the EOL token. - eol_is_significant_ - Variable in class org.dinopolis.util.io.Tokenizer
- escape_char_ - Variable in class org.dinopolis.util.io.Tokenizer
- escape_mode_ - Variable in class org.dinopolis.util.io.Tokenizer
F
- FileChangeDetection - class org.dinopolis.util.io.FileChangeDetection.
- This class checks a given file and detects any modifications (if the modificaiton time changes) and informs any listeners on this change.
- FileChangeDetection() - Constructor for class org.dinopolis.util.io.FileChangeDetection
- Constructor using the default lookup period.
- FileChangeDetection(String) - Constructor for class org.dinopolis.util.io.FileChangeDetection
- Constructor observing the given file and using the default lookup period.
- FileChangeDetection(String, long) - Constructor for class org.dinopolis.util.io.FileChangeDetection
- Constructor observing the given file and the given lookup period.
- FileChangeListener - interface org.dinopolis.util.io.FileChangeListener.
- Interface to be informed about file changes (modification date).
- fileChanged(File) - Method in interface org.dinopolis.util.io.FileChangeListener
- Method called if the observed file changed.
- filename_ - Variable in class org.dinopolis.util.io.FileChangeDetection
- fireChangeDetected() - Method in class org.dinopolis.util.io.FileChangeDetection
- Informs all registered listeners about a change.
G
- getDelimiter() - Method in class org.dinopolis.util.io.Tokenizer
- Deprecated. use the getDelimiters() method now
- getDelimiters() - Method in class org.dinopolis.util.io.Tokenizer
- Get the delimiter character.
- getEscapeChar() - Method in class org.dinopolis.util.io.Tokenizer
- Get the escape character.
- getLastToken() - Method in class org.dinopolis.util.io.Tokenizer
- Returns the last token that was returned from the nextToken() method.
- getLineNumber() - Method in class org.dinopolis.util.io.Tokenizer
- Returns the current line number of the reader.
- getQuoteChar() - Method in class org.dinopolis.util.io.Tokenizer
- Get the quote character.
- getWord() - Method in class org.dinopolis.util.io.Tokenizer
- Returns the value of the token.
H
- hasNextLine() - Method in class org.dinopolis.util.io.Tokenizer
- Returns true, if the tokenizer can return another line.
I
- isDelimiter(int) - Method in class org.dinopolis.util.io.Tokenizer
- Returns true, if the given character is seen as a delimiter.
- isEndOfLine(int) - Method in class org.dinopolis.util.io.Tokenizer
- Returns true, if the given character is seen as a end of line character.
- isEolSignificant() - Method in class org.dinopolis.util.io.Tokenizer
- Returns
true, if in case of an end of line detected, an EOL token is returned. - isEscapeChar(int) - Method in class org.dinopolis.util.io.Tokenizer
- Returns true, if the given character is seen as a escape character.
- isQuoteChar(int) - Method in class org.dinopolis.util.io.Tokenizer
- Returns true, if the given character is seen as a quote character.
L
- last_modified_ - Variable in class org.dinopolis.util.io.FileChangeDetection
- last_token_ - Variable in class org.dinopolis.util.io.Tokenizer
- line_count_ - Variable in class org.dinopolis.util.io.Tokenizer
- listeners_ - Variable in class org.dinopolis.util.io.FileChangeDetection
- lookup_period_ - Variable in class org.dinopolis.util.io.FileChangeDetection
- loop_thread_ - Variable in class org.dinopolis.util.io.FileChangeDetection
M
- main(String[]) - Static method in class org.dinopolis.util.io.Tokenizer
N
- NOT_STARTED - Static variable in class org.dinopolis.util.io.Tokenizer
- nextLine() - Method in class org.dinopolis.util.io.Tokenizer
- Returns a list of elements (Strings) from the next line of the tokenizer.
- nextToken() - Method in class org.dinopolis.util.io.Tokenizer
- Returns the next token from the reader.
O
- observed_file_ - Variable in class org.dinopolis.util.io.FileChangeDetection
- org.dinopolis.util.io - package org.dinopolis.util.io
Q
- QUOTED_WORD - Static variable in class org.dinopolis.util.io.Tokenizer
- quote_char_ - Variable in class org.dinopolis.util.io.Tokenizer
R
- readNextChar() - Method in class org.dinopolis.util.io.Tokenizer
- Reads and returns the next character from the reader and checks for the escape character.
- reader_ - Variable in class org.dinopolis.util.io.Tokenizer
- remoteFileChangeListener(FileChangeListener) - Method in class org.dinopolis.util.io.FileChangeDetection
- Removes a listener that is informed about changes of the observed file.
- removeZeroLengthElements(List) - Static method in class org.dinopolis.util.io.Tokenizer
- This helper method removes all zero length elements from the given list and returns it.
- respectEscapedCharacters(boolean) - Method in class org.dinopolis.util.io.Tokenizer
- If escape characters should be respected, set the param to
true. - respectEscapedCharacters() - Method in class org.dinopolis.util.io.Tokenizer
- Returns
true, if escape character is respected. - respectQuotedWords(boolean) - Method in class org.dinopolis.util.io.Tokenizer
- If quoted words should be respected, set the param to
true. - respectQuotedWords() - Method in class org.dinopolis.util.io.Tokenizer
- Returns
true, if quoted words are respected. - respect_escaped_chars_ - Variable in class org.dinopolis.util.io.Tokenizer
- respect_quoted_words_ - Variable in class org.dinopolis.util.io.Tokenizer
- run() - Method in class org.dinopolis.util.io.FileChangeDetection
- Checks the file for its modification time and informs the listeners on a change.
S
- setDelimiter(int) - Method in class org.dinopolis.util.io.Tokenizer
- Set the delimiter character.
- setDelimiters(String) - Method in class org.dinopolis.util.io.Tokenizer
- Set the delimiter characters.
- setEscapeChar(int) - Method in class org.dinopolis.util.io.Tokenizer
- Set the escape character.
- setFile(String) - Method in class org.dinopolis.util.io.FileChangeDetection
- Set the file to check for changes.
- setFile(File) - Method in class org.dinopolis.util.io.FileChangeDetection
- Set the file to check for changes.
- setLookupPeriod(long) - Method in class org.dinopolis.util.io.FileChangeDetection
- Set the period to check the file for changes.
- setQuoteChar(int) - Method in class org.dinopolis.util.io.Tokenizer
- Set the quote character.
- startChangeDetection() - Method in class org.dinopolis.util.io.FileChangeDetection
- Starts the thread that detects any modifications of the file.
- stopChangeDetection() - Method in class org.dinopolis.util.io.FileChangeDetection
- Stops the thread that detects any modifications of the file.
T
- Tokenizer - class org.dinopolis.util.io.Tokenizer.
- This tokenizer merges the benefits of the java.lang.StringTokenizer class and the java.io.StreamTokenizer class.
- Tokenizer(String) - Constructor for class org.dinopolis.util.io.Tokenizer
- Creates a tokenizer that reads from the given string.
- Tokenizer(String, String) - Constructor for class org.dinopolis.util.io.Tokenizer
- Creates a tokenizer that reads from the given string.
- Tokenizer(InputStream) - Constructor for class org.dinopolis.util.io.Tokenizer
- Creates a tokenizer that reads from the given string.
- Tokenizer(Reader) - Constructor for class org.dinopolis.util.io.Tokenizer
- Creates a tokenizer that reads from the given reader.
- testGeonetUTF8(String[]) - Static method in class org.dinopolis.util.io.Tokenizer
- testHighLevel(String[]) - Static method in class org.dinopolis.util.io.Tokenizer
- testHighLevelExample() - Static method in class org.dinopolis.util.io.Tokenizer
- testLowLevel(String[]) - Static method in class org.dinopolis.util.io.Tokenizer
W
A B C D E F G H I L M N O Q R S T W
|
|||||||||
| Home >> All >> org >> dinopolis >> util >> [ io overview ] | PREV NEXT | ||||||||