Package org.eclipse.net4j.util.io
Class DataOutputExtender
- java.lang.Object
- 
- org.eclipse.net4j.util.io.DataOutputExtender
 
- 
- All Implemented Interfaces:
- java.io.Closeable,- java.io.DataOutput,- java.lang.AutoCloseable,- ExtendedDataOutput
 
 public class DataOutputExtender extends java.lang.Object implements ExtendedDataOutput, java.io.Closeable - Author:
- Eike Stepper
 
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from interface org.eclipse.net4j.util.io.ExtendedDataOutputExtendedDataOutput.Delegating, ExtendedDataOutput.Stream
 
- 
 - 
Constructor SummaryConstructors Constructor Description DataOutputExtender(java.io.DataOutput output)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()voidwrite(byte[] b)voidwrite(byte[] b, int off, int len)voidwrite(int b)voidwriteBoolean(boolean v)voidwriteByte(int v)voidwriteByteArray(byte[] b)voidwriteBytes(java.lang.String s)voidwriteChar(int v)voidwriteChars(java.lang.String s)voidwriteDouble(double v)voidwriteEnum(java.lang.Enum<?> literal)voidwriteException(java.lang.Throwable t)voidwriteFloat(float v)voidwriteInt(int v)voidwriteLong(long v)voidwriteObject(java.lang.Object object)voidwriteShort(int v)voidwriteString(java.lang.String str)voidwriteUTF(java.lang.String str)voidwriteVarInt(int v)voidwriteVarLong(long v)
 
- 
- 
- 
Method Detail- 
writepublic void write(byte[] b, int off, int len) throws java.io.IOException- Specified by:
- writein interface- java.io.DataOutput
- Throws:
- java.io.IOException
 
 - 
writepublic void write(byte[] b) throws java.io.IOException- Specified by:
- writein interface- java.io.DataOutput
- Throws:
- java.io.IOException
 
 - 
writepublic void write(int b) throws java.io.IOException- Specified by:
- writein interface- java.io.DataOutput
- Throws:
- java.io.IOException
 
 - 
writeBooleanpublic void writeBoolean(boolean v) throws java.io.IOException- Specified by:
- writeBooleanin interface- java.io.DataOutput
- Throws:
- java.io.IOException
 
 - 
writeBytepublic void writeByte(int v) throws java.io.IOException- Specified by:
- writeBytein interface- java.io.DataOutput
- Throws:
- java.io.IOException
 
 - 
writeBytespublic void writeBytes(java.lang.String s) throws java.io.IOException- Specified by:
- writeBytesin interface- java.io.DataOutput
- Throws:
- java.io.IOException
 
 - 
writeCharpublic void writeChar(int v) throws java.io.IOException- Specified by:
- writeCharin interface- java.io.DataOutput
- Throws:
- java.io.IOException
 
 - 
writeCharspublic void writeChars(java.lang.String s) throws java.io.IOException- Specified by:
- writeCharsin interface- java.io.DataOutput
- Throws:
- java.io.IOException
 
 - 
writeDoublepublic void writeDouble(double v) throws java.io.IOException- Specified by:
- writeDoublein interface- java.io.DataOutput
- Throws:
- java.io.IOException
 
 - 
writeFloatpublic void writeFloat(float v) throws java.io.IOException- Specified by:
- writeFloatin interface- java.io.DataOutput
- Throws:
- java.io.IOException
 
 - 
writeIntpublic void writeInt(int v) throws java.io.IOException- Specified by:
- writeIntin interface- java.io.DataOutput
- Throws:
- java.io.IOException
 
 - 
writeLongpublic void writeLong(long v) throws java.io.IOException- Specified by:
- writeLongin interface- java.io.DataOutput
- Throws:
- java.io.IOException
 
 - 
writeShortpublic void writeShort(int v) throws java.io.IOException- Specified by:
- writeShortin interface- java.io.DataOutput
- Throws:
- java.io.IOException
 
 - 
writeUTFpublic void writeUTF(java.lang.String str) throws java.io.IOException- Specified by:
- writeUTFin interface- java.io.DataOutput
- Throws:
- java.io.IOException
 
 - 
writeVarIntpublic void writeVarInt(int v) throws java.io.IOException- Specified by:
- writeVarIntin interface- ExtendedDataOutput
- Throws:
- java.io.IOException
- Since:
- 3.7
 
 - 
writeVarLongpublic void writeVarLong(long v) throws java.io.IOException- Specified by:
- writeVarLongin interface- ExtendedDataOutput
- Throws:
- java.io.IOException
- Since:
- 3.7
 
 - 
writeByteArraypublic void writeByteArray(byte[] b) throws java.io.IOException- Specified by:
- writeByteArrayin interface- ExtendedDataOutput
- Throws:
- java.io.IOException
 
 - 
writeObjectpublic void writeObject(java.lang.Object object) throws java.io.IOException- Specified by:
- writeObjectin interface- ExtendedDataOutput
- Throws:
- java.io.IOException
 
 - 
writeStringpublic void writeString(java.lang.String str) throws java.io.IOException- Specified by:
- writeStringin interface- ExtendedDataOutput
- Throws:
- java.io.IOException
 
 - 
writeEnumpublic void writeEnum(java.lang.Enum<?> literal) throws java.io.IOException- Specified by:
- writeEnumin interface- ExtendedDataOutput
- Throws:
- java.io.IOException
- Since:
- 3.0
 
 - 
writeExceptionpublic void writeException(java.lang.Throwable t) throws java.io.IOException- Specified by:
- writeExceptionin interface- ExtendedDataOutput
- Throws:
- java.io.IOException
- Since:
- 3.4
 
 - 
closepublic void close() throws java.io.IOException- Specified by:
- closein interface- java.lang.AutoCloseable
- Specified by:
- closein interface- java.io.Closeable
- Throws:
- java.io.IOException
- Since:
- 3.6
 
 
- 
 
-