Package org.eclipse.net4j.util.io
Class DataOutputExtender
java.lang.Object
org.eclipse.net4j.util.io.DataOutputExtender
- All Implemented Interfaces:
Closeable
,DataOutput
,AutoCloseable
,ExtendedDataOutput
- Author:
- Eike Stepper
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.net4j.util.io.ExtendedDataOutput
ExtendedDataOutput.Delegating, ExtendedDataOutput.Stream
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
void
write
(byte[] b) void
write
(byte[] b, int off, int len) void
write
(int b) void
writeBoolean
(boolean v) void
writeByte
(int v) void
writeByteArray
(byte[] b) void
writeBytes
(String s) void
writeChar
(int v) void
writeChars
(String s) void
writeDouble
(double v) void
void
void
writeFloat
(float v) void
writeInt
(int v) void
writeLong
(long v) void
writeObject
(Object object) void
writeShort
(int v) void
writeString
(String str) void
void
writeVarInt
(int v) void
writeVarLong
(long v)
-
Constructor Details
-
DataOutputExtender
-
-
Method Details
-
write
- Specified by:
write
in interfaceDataOutput
- Throws:
IOException
-
write
- Specified by:
write
in interfaceDataOutput
- Throws:
IOException
-
write
- Specified by:
write
in interfaceDataOutput
- Throws:
IOException
-
writeBoolean
- Specified by:
writeBoolean
in interfaceDataOutput
- Throws:
IOException
-
writeByte
- Specified by:
writeByte
in interfaceDataOutput
- Throws:
IOException
-
writeBytes
- Specified by:
writeBytes
in interfaceDataOutput
- Throws:
IOException
-
writeChar
- Specified by:
writeChar
in interfaceDataOutput
- Throws:
IOException
-
writeChars
- Specified by:
writeChars
in interfaceDataOutput
- Throws:
IOException
-
writeDouble
- Specified by:
writeDouble
in interfaceDataOutput
- Throws:
IOException
-
writeFloat
- Specified by:
writeFloat
in interfaceDataOutput
- Throws:
IOException
-
writeInt
- Specified by:
writeInt
in interfaceDataOutput
- Throws:
IOException
-
writeLong
- Specified by:
writeLong
in interfaceDataOutput
- Throws:
IOException
-
writeShort
- Specified by:
writeShort
in interfaceDataOutput
- Throws:
IOException
-
writeUTF
- Specified by:
writeUTF
in interfaceDataOutput
- Throws:
IOException
-
writeVarInt
- Specified by:
writeVarInt
in interfaceExtendedDataOutput
- Throws:
IOException
- Since:
- 3.7
-
writeVarLong
- Specified by:
writeVarLong
in interfaceExtendedDataOutput
- Throws:
IOException
- Since:
- 3.7
-
writeByteArray
- Specified by:
writeByteArray
in interfaceExtendedDataOutput
- Throws:
IOException
-
writeObject
- Specified by:
writeObject
in interfaceExtendedDataOutput
- Throws:
IOException
-
writeString
- Specified by:
writeString
in interfaceExtendedDataOutput
- Throws:
IOException
-
writeEnum
- Specified by:
writeEnum
in interfaceExtendedDataOutput
- Throws:
IOException
- Since:
- 3.0
-
writeException
- Specified by:
writeException
in interfaceExtendedDataOutput
- Throws:
IOException
- Since:
- 3.4
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
- Since:
- 3.6
-