org.eclipse.net4j.util.io
Class ExtendedIOUtil
java.lang.Object
org.eclipse.net4j.util.io.ExtendedIOUtil
- public final class ExtendedIOUtil
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
writeByteArray
public static void writeByteArray(DataOutput out,
byte[] b)
throws IOException
- Throws:
IOException
readByteArray
public static byte[] readByteArray(DataInput in)
throws IOException
- Throws:
IOException
writeObject
public static void writeObject(DataOutput out,
Object object)
throws IOException
- Throws:
IOException
readObject
public static Object readObject(DataInput in)
throws IOException
- Throws:
IOException
readObject
public static Object readObject(DataInput in,
ClassLoader classLoader)
throws IOException
- Throws:
IOException
readObject
public static Object readObject(DataInput in,
ExtendedIOUtil.ClassResolver classResolver)
throws IOException
- Throws:
IOException
writeString
public static void writeString(DataOutput out,
String str)
throws IOException
- Throws:
IOException
readString
public static String readString(DataInput in)
throws IOException
- Throws:
IOException
writeEnum
public static void writeEnum(DataOutput out,
Enum<?> literal)
throws IOException
- Throws:
IOException
- Since:
- 3.0
readEnum
public static <T extends Enum<?>> T readEnum(DataInput in,
Class<T> type)
throws IOException
- Throws:
IOException
- Since:
- 3.0
Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others.