public final class UnserializeReader
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
UnserializeReader.StringKey |
| Constructor and Description |
|---|
UnserializeReader(java.lang.String s) |
UnserializeReader(StringValue s) |
| Modifier and Type | Method and Description |
|---|---|
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) |
protected boolean |
useReference() |
public UnserializeReader(StringValue s) throws java.io.IOException
java.io.IOExceptionpublic UnserializeReader(java.lang.String s)
throws java.io.IOException
java.io.IOExceptionprotected boolean useReference()
public Value unserialize(Env env) throws java.io.IOException
java.io.IOExceptionpublic Value unserializeKey(Env env) throws java.io.IOException
java.io.IOExceptionpublic final void expect(int expectCh)
throws java.io.IOException
java.io.IOExceptionpublic final long readInt()
public final boolean isValidString(int len)
public final java.lang.String readString(int len)
public final StringValue readStringValue(Env env, int len)
public final StringValue readUnicodeValue(Env env, int len)
public final int read()
public final int read(char[] buffer,
int offset,
int length)
public final void unread()