Package org.eclipse.net4j.util.io
Class ExtendedDataOutputStream
java.lang.Object
java.io.OutputStream
java.io.FilterOutputStream
java.io.DataOutputStream
org.eclipse.net4j.util.io.ExtendedDataOutputStream
- All Implemented Interfaces:
Closeable
,DataOutput
,Flushable
,AutoCloseable
,ExtendedDataOutput
- Author:
- Eike Stepper
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.net4j.util.io.ExtendedDataOutput
ExtendedDataOutput.Delegating, ExtendedDataOutput.Stream
-
Field Summary
Fields inherited from class java.io.DataOutputStream
written
Fields inherited from class java.io.FilterOutputStream
out
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic OutputStream
unwrap
(OutputStream stream) static ExtendedDataOutputStream
wrap
(OutputStream stream) void
writeByteArray
(byte[] b) void
void
void
writeObject
(Object object) void
writeString
(String str) void
writeVarInt
(int v) void
writeVarLong
(long v) Methods inherited from class java.io.DataOutputStream
flush, size, write, write, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUTF
Methods inherited from class java.io.FilterOutputStream
close, write
Methods inherited from class java.io.OutputStream
nullOutputStream
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.io.DataOutput
write, write, write, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUTF
-
Constructor Details
-
ExtendedDataOutputStream
-
-
Method Details
-
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
-
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
-
writeObject
- Specified by:
writeObject
in interfaceExtendedDataOutput
- Throws:
IOException
-
wrap
-
unwrap
-