org.nakedobjects.metamodel.commons.encoding
Interface DataOutputExtended

All Superinterfaces:
java.io.DataOutput, java.io.Flushable
All Known Implementing Classes:
DataOutputExtendedDecorator, DataOutputStreamExtended, DebugDataOutputExtended

public interface DataOutputExtended
extends java.io.DataOutput, java.io.Flushable


Method Summary
 java.io.DataOutputStream getDataOutputStream()
           
 void write(int b)
          NB: only writes out byte.
 void writeBooleans(boolean[] booleans)
           
 void writeByte(int v)
          Same as write(int).
 void writeBytes(byte[] bytes)
           
 void writeChars(char[] chars)
           
 void writeDoubles(double[] doubles)
           
 void writeEncodable(java.lang.Object encodable)
           
 void writeEncodables(java.lang.Object[] encodables)
           
 void writeFloats(float[] floats)
           
 void writeInts(int[] ints)
           
 void writeLongs(long[] longs)
           
 void writeSerializable(java.lang.Object serializable)
           
 void writeSerializables(java.lang.Object[] serializables)
           
 void writeShorts(short[] shorts)
           
 void writeUTFs(java.lang.String[] strings)
           
 
Methods inherited from interface java.io.DataOutput
write, write, writeBoolean, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUTF
 
Methods inherited from interface java.io.Flushable
flush
 

Method Detail

writeBooleans

void writeBooleans(boolean[] booleans)
                   throws java.io.IOException
Throws:
java.io.IOException

writeChars

void writeChars(char[] chars)
                throws java.io.IOException
Throws:
java.io.IOException

write

void write(int b)
           throws java.io.IOException
NB: only writes out byte.

Specified by:
write in interface java.io.DataOutput
Throws:
java.io.IOException

writeByte

void writeByte(int v)
               throws java.io.IOException
Same as write(int).

Specified by:
writeByte in interface java.io.DataOutput
Throws:
java.io.IOException

writeBytes

void writeBytes(byte[] bytes)
                throws java.io.IOException
Throws:
java.io.IOException

writeShorts

void writeShorts(short[] shorts)
                 throws java.io.IOException
Throws:
java.io.IOException

writeInts

void writeInts(int[] ints)
               throws java.io.IOException
Throws:
java.io.IOException

writeLongs

void writeLongs(long[] longs)
                throws java.io.IOException
Throws:
java.io.IOException

writeDoubles

void writeDoubles(double[] doubles)
                  throws java.io.IOException
Throws:
java.io.IOException

writeFloats

void writeFloats(float[] floats)
                 throws java.io.IOException
Throws:
java.io.IOException

writeUTFs

void writeUTFs(java.lang.String[] strings)
               throws java.io.IOException
Throws:
java.io.IOException

writeEncodable

void writeEncodable(java.lang.Object encodable)
                    throws java.io.IOException
Throws:
java.io.IOException

writeEncodables

void writeEncodables(java.lang.Object[] encodables)
                     throws java.io.IOException
Throws:
java.io.IOException

writeSerializable

void writeSerializable(java.lang.Object serializable)
                       throws java.io.IOException
Throws:
java.io.IOException

writeSerializables

void writeSerializables(java.lang.Object[] serializables)
                        throws java.io.IOException
Throws:
java.io.IOException

getDataOutputStream

java.io.DataOutputStream getDataOutputStream()


Copyright © 2001-2009 Naked Objects Group Ltd.. All Rights Reserved.