:: com :: sun :: star :: io ::

interface XTextOutputStream
Base Hierarchy
::com::sun::star::uno::XInterface
 |
 +-XOutputStream
    |
    +-XTextOutputStream
Description
Interface to write strings to a stream using a special character encoding.

This interfaces allows to write strings to a stream. The character encoding to be used can be set by setEncoding() . Default encoding is "utf8".


Methods' Summary
writeString writes a string to the stream using the encoding defined by setEncoding .
setEncoding sets character encoding.
Methods' Details
writeString
void
writeString(
 
[in] string 

raises(

 
aString ) 
IOException );

Description
writes a string to the stream using the encoding defined by setEncoding .

Line breaks or delimiters that may be neccessary to support XTextInputStream::readLine and XTextInputStream::readString have to be added manually to the parameter string.

See also
setEncoding
See also
XTextInputStream::readLine
See also
XTextInputStream::readString
setEncoding
void
setEncoding(
 
[in] string
 
Encoding );

Description
sets character encoding.
Parameter Encoding
sets the character encoding that should be used. The character encoding names refer to the document http://www.iana.org/assignments/character-sets. Which character sets are supported depends on the implementation.
Top of Page