Overview | Module | Use | Devguide | Index

Methods' Summary | Attributes' Summary | Methods' Details | Attributes' Details

:: com :: sun :: star :: io ::
interface XTextOutputStream
  Base Interfaces
      XTextOutputStream
      ┗ XOutputStream
  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

Copyright © 2000, 2014 LibreOffice contributors and/or their affiliates. All rights reserved.

LibreOffice was created by The Document Foundation, based on OpenOffice.org, which is Copyright 2000, 2010 Oracle and/or its affiliates.

The Document Foundation acknowledges all community members, please find more info at our website.

Privacy Policy | Impressum (Legal Info) | Copyright information: The source code of LibreOffice is licensed under the GNU Lesser General Public License (LGPLv3). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.