com.sentilla.io
Interface DataOutput

All Superinterfaces:
Output
All Known Subinterfaces:
DataOutputStream, DataRandomAccess, ObjectOutput, ObjectOutputStream, ObjectRandomAccess, RandomAccessFile
All Known Implementing Classes:
ByteBuffer, RemoteRandomAccessFile

public interface DataOutput
extends Output

Provides methods for writing primitive types and UTF strings. Methods will throw IORuntimeException if the value cannot be written.


Method Summary
 void writeBoolean(boolean a)
           
 void writeByte(int a)
           
 void writeChar(int a)
           
 void writeDouble(double a)
           
 void writeFloat(float a)
           
 void writeInt(int a)
           
 void writeLong(long a)
           
 void writeShort(int a)
           
 void writeUTF(String s)
           
 
Methods inherited from interface com.sentilla.io.Output
close, flush, write, write, write
 

Method Detail

writeBoolean

void writeBoolean(boolean a)
                  throws IORuntimeException
Throws:
IORuntimeException

writeByte

void writeByte(int a)
               throws IORuntimeException
Throws:
IORuntimeException

writeShort

void writeShort(int a)
                throws IORuntimeException
Throws:
IORuntimeException

writeChar

void writeChar(int a)
               throws IORuntimeException
Throws:
IORuntimeException

writeInt

void writeInt(int a)
              throws IORuntimeException
Throws:
IORuntimeException

writeLong

void writeLong(long a)
               throws IORuntimeException
Throws:
IORuntimeException

writeFloat

void writeFloat(float a)
                throws IORuntimeException
Throws:
IORuntimeException

writeDouble

void writeDouble(double a)
                 throws IORuntimeException
Throws:
IORuntimeException

writeUTF

void writeUTF(String s)
              throws IORuntimeException
Throws:
IORuntimeException


Copyright © 2007 Sentilla Corporation. All Rights Reserved.