| java.lang.Object de.susebox.jtopas.CharArraySource
Constructor Summary | |
public | CharArraySource(char[] data) Constructing a CharArraySource instance using the
given character buffer starting with offset 0 and the full length of the
array. | public | CharArraySource(char[] data, int offset, int length) Constructing an CharArraySource instance using the
given character buffer starting with the given offset 0 and the given length. |
CharArraySource | public CharArraySource(char[] data)(Code) | | Constructing a CharArraySource instance using the
given character buffer starting with offset 0 and the full length of the
array.
Parameters: data - the character data to tokenize |
CharArraySource | public CharArraySource(char[] data, int offset, int length)(Code) | | Constructing an CharArraySource instance using the
given character buffer starting with the given offset 0 and the given length.
Parameters: data - the character data to tokenize Parameters: offset - there to start in the given data Parameters: length - count of characters to tokenize |
read | public int read(char[] cbuf, int offset, int maxChars) throws Exception(Code) | | This method copies the available data into the given buffer according to
the given offset and maximum character count. See
TokenizerSource.read for details.
Parameters: cbuf - buffer to receive data Parameters: offset - position from where the data should be inserted in cbuf Parameters: maxChars - maximum number of characters to be read into cbuf actually read characters or -1 on an end-of-file condition |
subSequence | public CharSequence subSequence(int start, int end)(Code) | | Implements
java.lang.CharSequence.subSequence for this class.
Parameters: start - the new CharSequence contains the characters from and including this position Parameters: end - the new CharSequence contains the characters up to and excluding this position a part of this CharSequence |
toString | public String toString()(Code) | | Returns the string representation of this CharArraySource according
to the
java.lang.CharSequence interface contract.
a string containing all characters of this CharArraySource |
|
|