reads text until one of the given delimiter characters
or EOF is found and returns it as string (without delimiter).
Important: CR/LF is not used as default
delimiter! So if no delimiter is defined or none of the
delimiters is found, the stream will be read to EOF. The
read characters are converted according to the encoding
defined by setEncoding. If EOF is already
reached before calling this method an empty string is returned.
This method has to be used to detect if the end
of the stream is reached.
This cannot be detected by asking for an empty string
because that can be a valid return value of
readLine() (if the line is empty) and
readString() (if a delimiter is directly followed
by the next one).
true, if the end of file is reached, so that
no next string can be read. false otherwise
sets the character encoding that should be used.
The character encoding names refer to the document
Which character sets are supported depends on
Apache, OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation.
The Apache feather logo is a trademark of The Apache Software Foundation.
Other names appearing on the site may be trademarks of their respective owners.