Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.13

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: 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 Software Foundation

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

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