Language:

The Free and Open Productivity Suite
Apache OpenOffice 4.1.4 released

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous


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

interface XTextOutputStream
Base Interfaces
XTextOutputStreamXOutputStream

XOutputStream
(referenced interface's summary:)
This is the basic interface to write data to a stream.
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  aString )
raises( 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, XTextInputStream::readLine, 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

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache and the Apache feather logo are trademarks of The Apache Software Foundation. OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.