com.caucho.quercus.lib
Class UnserializeReader

java.lang.Object
  extended by com.caucho.quercus.lib.UnserializeReader

public final class UnserializeReader
extends java.lang.Object


Nested Class Summary
static class UnserializeReader.StringKey
           
 
Constructor Summary
UnserializeReader(java.lang.String s)
           
UnserializeReader(StringValue s)
           
 
Method Summary
 Value createReference(Value value)
           
 void expect(int expectCh)
           
 boolean isValidString(int len)
           
 int read()
           
 int read(char[] buffer, int offset, int length)
           
 long readInt()
           
 java.lang.String readString(int len)
           
 StringValue readStringValue(Env env, int len)
           
 StringValue readUnicodeValue(Env env, int len)
           
 void unread()
           
 Value unserialize(Env env)
           
 Value unserializeKey(Env env)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UnserializeReader

public UnserializeReader(StringValue s)
                  throws java.io.IOException
Throws:
java.io.IOException

UnserializeReader

public UnserializeReader(java.lang.String s)
                  throws java.io.IOException
Throws:
java.io.IOException
Method Detail

unserialize

public Value unserialize(Env env)
                  throws java.io.IOException
Throws:
java.io.IOException

createReference

public Value createReference(Value value)

unserializeKey

public Value unserializeKey(Env env)
                     throws java.io.IOException
Throws:
java.io.IOException

expect

public final void expect(int expectCh)
                  throws java.io.IOException
Throws:
java.io.IOException

readInt

public final long readInt()

isValidString

public final boolean isValidString(int len)

readString

public final java.lang.String readString(int len)

readStringValue

public final StringValue readStringValue(Env env,
                                         int len)

readUnicodeValue

public final StringValue readUnicodeValue(Env env,
                                          int len)

read

public final int read()

read

public final int read(char[] buffer,
                      int offset,
                      int length)

unread

public final void unread()