(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 XDataInputStream
Base Interfaces
XDataInputStreamXInputStream

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

Methods' Summary
readBoolean reads in a boolean. It is an 8-bit value. 0 means FALSE; all other values mean TRUE.  
readByte reads an 8-bit byte.  
readChar reads a 16-bit unicode character.  
readShort reads a 16-bit big endian integer.  
readLong reads a 32-bit big endian integer.  
readHyper reads a 64-bit big endian integer.  
readFloat reads a 32-bit IEEE float.  
readDouble reads a 64-bit IEEE double.  
readUTF reads a string of UTF encoded characters.  
Methods' Details
readBoolean
byte
readBoolean()
raises( IOException );

Description
reads in a boolean. It is an 8-bit value. 0 means FALSE; all other values mean TRUE.
readByte
byte
readByte()
raises( IOException );

Description
reads an 8-bit byte.
readChar
char
readChar()
raises( IOException );

Description
reads a 16-bit unicode character.
readShort
short
readShort()
raises( IOException );

Description
reads a 16-bit big endian integer.
readLong
long
readLong()
raises( IOException );

Description
reads a 32-bit big endian integer.
readHyper
hyper
readHyper()
raises( IOException );

Description
reads a 64-bit big endian integer.
readFloat
float
readFloat()
raises( IOException );

Description
reads a 32-bit IEEE float.
readDouble
double
readDouble()
raises( IOException );

Description
reads a 64-bit IEEE double.
readUTF
string
readUTF()
raises( IOException );

Description
reads a string of UTF encoded characters.
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.