(incubating) | The Free and Open Productivity Suite
Announcing Apache OpenOffice 3.4

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous

Content for OpenOffice.org version 3.3.

:: 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 Feather

Copyright & License | Privacy | Contact Us

Apache and the Apache feather logos are trademarks of The Apache Software Foundation. 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.

Apache OpenOffice is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.