org.nakedobjects.metamodel.commons.encoding
Class DataOutputExtendedDecorator
java.lang.Object
org.nakedobjects.metamodel.commons.encoding.DataOutputExtendedDecorator
- All Implemented Interfaces:
- java.io.DataOutput, java.io.Flushable, DataOutputExtended
- Direct Known Subclasses:
- DebugDataOutputExtended
public class DataOutputExtendedDecorator
- extends java.lang.Object
- implements DataOutputExtended
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DataOutputExtendedDecorator
public DataOutputExtendedDecorator(DataOutputExtended underlying)
getDataOutputStream
public java.io.DataOutputStream getDataOutputStream()
- Specified by:
getDataOutputStream in interface DataOutputExtended
writeBoolean
public void writeBoolean(boolean v)
throws java.io.IOException
- Specified by:
writeBoolean in interface java.io.DataOutput
- Throws:
java.io.IOException
writeBooleans
public void writeBooleans(boolean[] booleans)
throws java.io.IOException
- Specified by:
writeBooleans in interface DataOutputExtended
- Throws:
java.io.IOException
writeChar
public void writeChar(int v)
throws java.io.IOException
- Specified by:
writeChar in interface java.io.DataOutput
- Throws:
java.io.IOException
writeChars
public void writeChars(char[] chars)
throws java.io.IOException
- Specified by:
writeChars in interface DataOutputExtended
- Throws:
java.io.IOException
write
public void write(int b)
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 v)
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[] b)
throws java.io.IOException
- Specified by:
write in interface java.io.DataOutput
- Throws:
java.io.IOException
writeBytes
public void writeBytes(byte[] bytes)
throws java.io.IOException
- Specified by:
writeBytes in interface DataOutputExtended
- Throws:
java.io.IOException
writeShort
public void writeShort(int v)
throws java.io.IOException
- Specified by:
writeShort in interface java.io.DataOutput
- Throws:
java.io.IOException
writeShorts
public void writeShorts(short[] shorts)
throws java.io.IOException
- Specified by:
writeShorts in interface DataOutputExtended
- Throws:
java.io.IOException
writeInt
public void writeInt(int v)
throws java.io.IOException
- Specified by:
writeInt in interface java.io.DataOutput
- Throws:
java.io.IOException
writeInts
public void writeInts(int[] ints)
throws java.io.IOException
- Specified by:
writeInts in interface DataOutputExtended
- Throws:
java.io.IOException
writeLong
public void writeLong(long v)
throws java.io.IOException
- Specified by:
writeLong in interface java.io.DataOutput
- Throws:
java.io.IOException
writeLongs
public void writeLongs(long[] longs)
throws java.io.IOException
- Specified by:
writeLongs in interface DataOutputExtended
- Throws:
java.io.IOException
writeFloat
public void writeFloat(float v)
throws java.io.IOException
- Specified by:
writeFloat in interface java.io.DataOutput
- Throws:
java.io.IOException
writeFloats
public void writeFloats(float[] floats)
throws java.io.IOException
- Specified by:
writeFloats in interface DataOutputExtended
- Throws:
java.io.IOException
writeDouble
public void writeDouble(double v)
throws java.io.IOException
- Specified by:
writeDouble in interface java.io.DataOutput
- Throws:
java.io.IOException
writeDoubles
public void writeDoubles(double[] doubles)
throws java.io.IOException
- Specified by:
writeDoubles in interface DataOutputExtended
- Throws:
java.io.IOException
writeUTF
public void writeUTF(java.lang.String str)
throws java.io.IOException
- Specified by:
writeUTF in interface java.io.DataOutput
- Throws:
java.io.IOException
writeUTFs
public void writeUTFs(java.lang.String[] strings)
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[] encodables)
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[] serializables)
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 s)
throws java.io.IOException
- Specified by:
writeBytes in interface java.io.DataOutput
- Throws:
java.io.IOException
writeChars
public void writeChars(java.lang.String s)
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.