(incubating) | The Free and Open Productivity Suite

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous

Content for OpenOffice.org version 3.3.

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

interface XDataOutputStream
Base Interfaces
XDataOutputStreamXOutputStream

XOutputStream
(referenced interface's summary:)
This is the basic interface to write data to a stream.
Description
makes it possible to write machine-independent simple data types to a stream.
See also
XDataInputStream

Methods' Summary
writeBoolean writes a boolean. It is an 8-bit value. 0 means FALSE; all other values mean TRUE.  
writeByte writes an 8-bit byte.  
writeChar writes a 16-bit character.  
writeShort writes a 16-bit big endian integer.  
writeLong writes a 32-bit big endian integer.  
writeHyper writes a 64-bit big endian integer.  
writeFloat writes a 32-bit IEEE float.  
writeDouble writes a 64-bit IEEE double.  
writeUTF writes a string in UTF format.  
Methods' Details
writeBoolean
void
writeBoolean( [in] boolean  Value )
raises( IOException );

Description
writes a boolean. It is an 8-bit value. 0 means FALSE; all other values mean TRUE.
writeByte
void
writeByte( [in] byte  Value )
raises( IOException );

Description
writes an 8-bit byte.
writeChar
void
writeChar( [in] char  Value )
raises( IOException );

Description
writes a 16-bit character.
writeShort
void
writeShort( [in] short  Value )
raises( IOException );

Description
writes a 16-bit big endian integer.
writeLong
void
writeLong( [in] long  Value )
raises( IOException );

Description
writes a 32-bit big endian integer.
writeHyper
void
writeHyper( [in] hyper  Value )
raises( IOException );

Description
writes a 64-bit big endian integer.
writeFloat
void
writeFloat( [in] float  Value )
raises( IOException );

Description
writes a 32-bit IEEE float.
writeDouble
void
writeDouble( [in] double  Value )
raises( IOException );

Description
writes a 64-bit IEEE double.
writeUTF
void
writeUTF( [in] string  Value )
raises( IOException );

Description
writes a string in UTF format.
Top of Page

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.

Copyright & License
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.