|
Syntax
- string readLine
();
- raises ( com::sun::star::io::IOException );
Description
reads text until a line break (CR, LF, or CR/LF) or EOF is found
and returns it as string (without CR, LF).
The read characters are converted according to the encoding defined
by XTextInputStream::setEncoding .
Syntax
- string readString
(
- sequence< char > Delimiters,
- boolean bRemoveDelimiter )
- raises ( com::sun::star::io::IOException );
Description
reads text until one of the given delimiter characters or EOF is found.
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 XTextInputStream::setEncoding .
See also
- setEncoding
-
Syntax
- boolean isEOF
();
- raises ( com::sun::star::io::IOException );
Description
-
Returns
-
true>
, if the end of file is reached, so that no next string can be read.
See also
- setEncoding
-
Syntax
- void setEncoding
(
- string Encoding );
Description
sets character encoding.
|