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, ExtendedDataOutput
- public class ExtendedDataOutputStream
- extends DataOutputStream
- implements ExtendedDataOutput
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.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 |
ExtendedDataOutputStream
public ExtendedDataOutputStream(OutputStream out)
writeByteArray
public void writeByteArray(byte[] b)
throws IOException
- Specified by:
writeByteArray
in interface ExtendedDataOutput
- Throws:
IOException
writeString
public void writeString(String str)
throws IOException
- Specified by:
writeString
in interface ExtendedDataOutput
- Throws:
IOException
writeEnum
public void writeEnum(Enum<?> literal)
throws IOException
- Specified by:
writeEnum
in interface ExtendedDataOutput
- Throws:
IOException
- Since:
- 3.0
writeObject
public void writeObject(Object object)
throws IOException
- Specified by:
writeObject
in interface ExtendedDataOutput
- Throws:
IOException
wrap
public static ExtendedDataOutputStream wrap(OutputStream stream)
unwrap
public static OutputStream unwrap(OutputStream stream)
Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others.