org.siebengeisslein.client
Class IOHelper

java.lang.Object
  extended by org.siebengeisslein.client.IOHelper

public class IOHelper
extends java.lang.Object


Method Summary
static java.lang.Class[][] createArrayClasses()
           
static java.lang.Class[] createArrayClasses(java.lang.Class clazz, int length)
           
static java.lang.Object getUserScope(UserLocal userLocal)
           
static java.lang.Object readArray(java.io.DataInput in)
           
static java.lang.String readString(java.io.DataInput in)
           
static UserLocal readUserScope(java.io.DataInput in)
           
static void setUserScope(java.lang.Object value, UserLocal target)
           
static void writeArray(java.io.DataOutput out, java.lang.Object data)
           
static void writeString(java.io.DataOutput out, java.lang.String value)
           
static void writeUserScope(java.io.DataOutput out, UserLocal userLocal)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createArrayClasses

public static java.lang.Class[][] createArrayClasses()

createArrayClasses

public static java.lang.Class[] createArrayClasses(java.lang.Class clazz,
                                                   int length)

readArray

public static final java.lang.Object readArray(java.io.DataInput in)
                                        throws java.io.IOException,
                                               CoreException
Throws:
java.io.IOException
CoreException

writeArray

public static final void writeArray(java.io.DataOutput out,
                                    java.lang.Object data)
                             throws java.io.IOException
Throws:
java.io.IOException

writeString

public static void writeString(java.io.DataOutput out,
                               java.lang.String value)
                        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

setUserScope

public static void setUserScope(java.lang.Object value,
                                UserLocal target)

writeUserScope

public static void writeUserScope(java.io.DataOutput out,
                                  UserLocal userLocal)
                           throws java.io.IOException
Throws:
java.io.IOException

readUserScope

public static UserLocal readUserScope(java.io.DataInput in)
                               throws java.io.IOException,
                                      CoreException
Throws:
java.io.IOException
CoreException

getUserScope

public static java.lang.Object getUserScope(UserLocal userLocal)
                                     throws java.io.IOException,
                                            CoreException,
                                            java.lang.InterruptedException
Throws:
java.io.IOException
CoreException
java.lang.InterruptedException