public class IpcAnyReader
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ENCODING
Encoding to use for String (de)serialization.
|
| Constructor and Description |
|---|
IpcAnyReader() |
| Modifier and Type | Method and Description |
|---|---|
Any |
readBinaryObject(byte[] binary) |
Any |
readBinaryStream(java.io.InputStream stream) |
Any |
readEmbeddedBinaryAny(byte[] binary) |
Any |
readJsonObject(java.lang.String json) |
Any |
readJsonStream(java.io.InputStream stream) |
Any |
readStream(IpcStreamReader reader) |
public static final java.lang.String ENCODING
public Any readBinaryObject(byte[] binary) throws java.io.IOException
binary - java.io.IOExceptionpublic Any readEmbeddedBinaryAny(byte[] binary) throws java.io.IOException
binary - java.io.IOExceptionpublic Any readBinaryStream(java.io.InputStream stream) throws java.io.IOException
stream - java.io.IOExceptionpublic Any readJsonObject(java.lang.String json) throws java.io.IOException
json - java.io.IOExceptionpublic Any readJsonStream(java.io.InputStream stream) throws java.io.IOException
stream - java.io.IOExceptionpublic Any readStream(IpcStreamReader reader) throws java.io.IOException
reader - java.io.IOException