ccs.utils
Class BigString

java.lang.Object
  extended by ccs.utils.BigString

public class BigString
extends java.lang.Object

Safely write / read strings which may exceed the 64K size limit imposed by writeUTF methods.


Method Summary
static java.lang.String read(java.io.DataInputStream dis)
           
static void write(java.lang.String s, java.io.DataOutputStream dos)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

write

public static void write(java.lang.String s,
                         java.io.DataOutputStream dos)
                  throws java.io.IOException
Throws:
java.io.IOException

read

public static java.lang.String read(java.io.DataInputStream dis)
                             throws java.io.IOException
Throws:
java.io.IOException