org.nakedobjects.metamodel.commons.encoding
Class DataOutputStreamExtended
java.lang.Object
org.nakedobjects.metamodel.commons.encoding.DataOutputStreamExtended
- All Implemented Interfaces:
- java.io.DataOutput, java.io.Flushable, DataOutputExtended
public class DataOutputStreamExtended
- extends java.lang.Object
- implements DataOutputExtended
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DataOutputStreamExtended
public DataOutputStreamExtended(java.io.OutputStream output)
getDataOutputStream
public java.io.DataOutputStream getDataOutputStream()
- Specified by:
getDataOutputStream in interface DataOutputExtended
writeBoolean
public void writeBoolean(boolean value)
throws java.io.IOException
- Specified by:
writeBoolean in interface java.io.DataOutput
- Throws:
java.io.IOException
writeBooleans
public void writeBooleans(boolean[] value)
throws java.io.IOException
- Specified by:
writeBooleans in interface DataOutputExtended
- Throws:
java.io.IOException
writeChar
public void writeChar(int value)
throws java.io.IOException
- Specified by:
writeChar in interface java.io.DataOutput
- Throws:
java.io.IOException
writeChars
public void writeChars(char[] value)
throws java.io.IOException
- Specified by:
writeChars in interface DataOutputExtended
- Throws:
java.io.IOException
write
public void write(int value)
throws java.io.IOException
- Description copied from interface:
DataOutputExtended
- NB: only writes out byte.
- Specified by:
write in interface java.io.DataOutput- Specified by:
write in interface DataOutputExtended
- Throws:
java.io.IOException
writeByte
public void writeByte(int value)
throws java.io.IOException
- Description copied from interface:
DataOutputExtended
- Same as
DataOutputExtended.write(int).
- Specified by:
writeByte in interface java.io.DataOutput- Specified by:
writeByte in interface DataOutputExtended
- Throws:
java.io.IOException
write
public void write(byte[] value)
throws java.io.IOException
- Specified by:
write in interface java.io.DataOutput
- Throws:
java.io.IOException
writeBytes
public void writeBytes(byte[] value)
throws java.io.IOException
- Specified by:
writeBytes in interface DataOutputExtended
- Throws:
java.io.IOException
writeShort
public void writeShort(int value)
throws java.io.IOException
- Specified by:
writeShort in interface java.io.DataOutput
- Throws:
java.io.IOException
writeShorts
public void writeShorts(short[] value)
throws java.io.IOException
- Specified by:
writeShorts in interface DataOutputExtended
- Throws:
java.io.IOException
writeInt
public void writeInt(int value)
throws java.io.IOException
- Specified by:
writeInt in interface java.io.DataOutput
- Throws:
java.io.IOException
writeInts
public void writeInts(int[] value)
throws java.io.IOException
- Specified by:
writeInts in interface DataOutputExtended
- Throws:
java.io.IOException
writeLong
public void writeLong(long value)
throws java.io.IOException
- Specified by:
writeLong in interface java.io.DataOutput
- Throws:
java.io.IOException
writeLongs
public void writeLongs(long[] value)
throws java.io.IOException
- Specified by:
writeLongs in interface DataOutputExtended
- Throws:
java.io.IOException
writeFloat
public void writeFloat(float value)
throws java.io.IOException
- Specified by:
writeFloat in interface java.io.DataOutput
- Throws:
java.io.IOException
writeFloats
public void writeFloats(float[] value)
throws java.io.IOException
- Specified by:
writeFloats in interface DataOutputExtended
- Throws:
java.io.IOException
writeDouble
public void writeDouble(double value)
throws java.io.IOException
- Specified by:
writeDouble in interface java.io.DataOutput
- Throws:
java.io.IOException
writeDoubles
public void writeDoubles(double[] value)
throws java.io.IOException
- Specified by:
writeDoubles in interface DataOutputExtended
- Throws:
java.io.IOException
writeUTF
public void writeUTF(java.lang.String value)
throws java.io.IOException
- Specified by:
writeUTF in interface java.io.DataOutput
- Throws:
java.io.IOException
writeUTFs
public void writeUTFs(java.lang.String[] value)
throws java.io.IOException
- Specified by:
writeUTFs in interface DataOutputExtended
- Throws:
java.io.IOException
writeEncodable
public void writeEncodable(java.lang.Object encodable)
throws java.io.IOException
- Specified by:
writeEncodable in interface DataOutputExtended
- Throws:
java.io.IOException
writeEncodables
public void writeEncodables(java.lang.Object[] objects)
throws java.io.IOException
- Specified by:
writeEncodables in interface DataOutputExtended
- Throws:
java.io.IOException
writeSerializable
public void writeSerializable(java.lang.Object serializable)
throws java.io.IOException
- Specified by:
writeSerializable in interface DataOutputExtended
- Throws:
java.io.IOException
writeSerializables
public void writeSerializables(java.lang.Object[] objects)
throws java.io.IOException
- Specified by:
writeSerializables in interface DataOutputExtended
- Throws:
java.io.IOException
write
public void write(byte[] b,
int off,
int len)
throws java.io.IOException
- Specified by:
write in interface java.io.DataOutput
- Throws:
java.io.IOException
writeBytes
public void writeBytes(java.lang.String str)
throws java.io.IOException
- Specified by:
writeBytes in interface java.io.DataOutput
- Throws:
java.io.IOException
writeChars
public void writeChars(java.lang.String str)
throws java.io.IOException
- Specified by:
writeChars in interface java.io.DataOutput
- Throws:
java.io.IOException
flush
public void flush()
throws java.io.IOException
- Specified by:
flush in interface java.io.Flushable
- Throws:
java.io.IOException
Copyright © 2001-2009 Naked Objects Group Ltd.. All Rights Reserved.