org.eclipse.net4j.util.io
Class ExtendedIOUtil

java.lang.Object
  extended by org.eclipse.net4j.util.io.ExtendedIOUtil

public final class ExtendedIOUtil
extends java.lang.Object


Nested Class Summary
static class ExtendedIOUtil.ClassLoaderClassResolver
           
static interface ExtendedIOUtil.ClassResolver
           
 
Method Summary
static byte[] readByteArray(java.io.DataInput in)
           
static java.lang.Object readObject(java.io.DataInput in)
           
static java.lang.Object readObject(java.io.DataInput in, java.lang.ClassLoader classLoader)
           
static java.lang.Object readObject(java.io.DataInput in, ExtendedIOUtil.ClassResolver classResolver)
           
static java.lang.String readString(java.io.DataInput in)
           
static void writeByteArray(java.io.DataOutput out, byte[] b)
           
static void writeObject(java.io.DataOutput out, java.lang.Object object)
           
static void writeString(java.io.DataOutput out, java.lang.String str)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

writeByteArray

public static void writeByteArray(java.io.DataOutput out,
                                  byte[] b)
                           throws java.io.IOException
Throws:
java.io.IOException

writeObject

public static void writeObject(java.io.DataOutput out,
                               java.lang.Object object)
                        throws java.io.IOException
Throws:
java.io.IOException

writeString

public static void writeString(java.io.DataOutput out,
                               java.lang.String str)
                        throws java.io.IOException
Throws:
java.io.IOException

readByteArray

public static byte[] readByteArray(java.io.DataInput in)
                            throws java.io.IOException
Throws:
java.io.IOException

readObject

public static java.lang.Object readObject(java.io.DataInput in)
                                   throws java.io.IOException
Throws:
java.io.IOException

readObject

public static java.lang.Object readObject(java.io.DataInput in,
                                          java.lang.ClassLoader classLoader)
                                   throws java.io.IOException
Throws:
java.io.IOException

readObject

public static java.lang.Object readObject(java.io.DataInput in,
                                          ExtendedIOUtil.ClassResolver classResolver)
                                   throws java.io.IOException
Throws:
java.io.IOException

readString

public static java.lang.String readString(java.io.DataInput in)
                                   throws java.io.IOException
Throws:
java.io.IOException

Copyright (c) 2004 - 2008 Eike Stepper, Germany.
All Rights Reserved.