public final class HproseFormatter extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
static OutputStream |
serialize(BigDecimal bd,
OutputStream stream) |
static OutputStream |
serialize(BigInteger bi,
OutputStream stream) |
static ByteBufferStream |
serialize(boolean b) |
static OutputStream |
serialize(boolean b,
OutputStream stream) |
static ByteBufferStream |
serialize(byte b) |
static OutputStream |
serialize(byte b,
OutputStream stream) |
static ByteBufferStream |
serialize(char c) |
static OutputStream |
serialize(char c,
OutputStream stream) |
static ByteBufferStream |
serialize(double d) |
static OutputStream |
serialize(double d,
OutputStream stream) |
static ByteBufferStream |
serialize(float f) |
static OutputStream |
serialize(float f,
OutputStream stream) |
static ByteBufferStream |
serialize(int i) |
static OutputStream |
serialize(int i,
OutputStream stream) |
static ByteBufferStream |
serialize(long l) |
static OutputStream |
serialize(long l,
OutputStream stream) |
static ByteBufferStream |
serialize(Object obj) |
static ByteBufferStream |
serialize(Object obj,
boolean simple) |
static ByteBufferStream |
serialize(Object obj,
HproseMode mode) |
static ByteBufferStream |
serialize(Object obj,
HproseMode mode,
boolean simple) |
static OutputStream |
serialize(Object obj,
OutputStream stream) |
static OutputStream |
serialize(Object obj,
OutputStream stream,
boolean simple) |
static OutputStream |
serialize(Object obj,
OutputStream stream,
HproseMode mode) |
static OutputStream |
serialize(Object obj,
OutputStream stream,
HproseMode mode,
boolean simple) |
static ByteBufferStream |
serialize(short s) |
static OutputStream |
serialize(short s,
OutputStream stream) |
static Object |
unserialize(byte[] data) |
static Object |
unserialize(byte[] data,
boolean simple) |
static <T> T |
unserialize(byte[] data,
boolean simple,
Class<T> type) |
static <T> T |
unserialize(byte[] data,
Class<T> type) |
static Object |
unserialize(byte[] data,
HproseMode mode) |
static Object |
unserialize(byte[] data,
HproseMode mode,
boolean simple) |
static <T> T |
unserialize(byte[] data,
HproseMode mode,
boolean simple,
Class<T> type) |
static <T> T |
unserialize(byte[] data,
HproseMode mode,
Class<T> type) |
static Object |
unserialize(ByteBuffer data) |
static Object |
unserialize(ByteBuffer data,
boolean simple) |
static <T> T |
unserialize(ByteBuffer data,
boolean simple,
Class<T> type) |
static <T> T |
unserialize(ByteBuffer data,
Class<T> type) |
static Object |
unserialize(ByteBuffer data,
HproseMode mode) |
static Object |
unserialize(ByteBuffer data,
HproseMode mode,
boolean simple) |
static <T> T |
unserialize(ByteBuffer data,
HproseMode mode,
boolean simple,
Class<T> type) |
static <T> T |
unserialize(ByteBuffer data,
HproseMode mode,
Class<T> type) |
static Object |
unserialize(ByteBufferStream stream) |
static Object |
unserialize(ByteBufferStream stream,
boolean simple) |
static <T> T |
unserialize(ByteBufferStream stream,
boolean simple,
Class<T> type) |
static <T> T |
unserialize(ByteBufferStream stream,
Class<T> type) |
static Object |
unserialize(ByteBufferStream stream,
HproseMode mode) |
static Object |
unserialize(ByteBufferStream stream,
HproseMode mode,
boolean simple) |
static <T> T |
unserialize(ByteBufferStream stream,
HproseMode mode,
boolean simple,
Class<T> type) |
static <T> T |
unserialize(ByteBufferStream stream,
HproseMode mode,
Class<T> type) |
static Object |
unserialize(InputStream stream) |
static Object |
unserialize(InputStream stream,
boolean simple) |
static <T> T |
unserialize(InputStream stream,
boolean simple,
Class<T> type) |
static <T> T |
unserialize(InputStream stream,
Class<T> type) |
static Object |
unserialize(InputStream stream,
HproseMode mode) |
static Object |
unserialize(InputStream stream,
HproseMode mode,
boolean simple) |
static <T> T |
unserialize(InputStream stream,
HproseMode mode,
boolean simple,
Class<T> type) |
static <T> T |
unserialize(InputStream stream,
HproseMode mode,
Class<T> type) |
public static final OutputStream serialize(byte b, OutputStream stream) throws IOException
IOExceptionpublic static final OutputStream serialize(short s, OutputStream stream) throws IOException
IOExceptionpublic static final OutputStream serialize(int i, OutputStream stream) throws IOException
IOExceptionpublic static final OutputStream serialize(long l, OutputStream stream) throws IOException
IOExceptionpublic static final OutputStream serialize(float f, OutputStream stream) throws IOException
IOExceptionpublic static final OutputStream serialize(double d, OutputStream stream) throws IOException
IOExceptionpublic static final OutputStream serialize(boolean b, OutputStream stream) throws IOException
IOExceptionpublic static final OutputStream serialize(char c, OutputStream stream) throws IOException
IOExceptionpublic static final OutputStream serialize(BigInteger bi, OutputStream stream) throws IOException
IOExceptionpublic static final OutputStream serialize(BigDecimal bd, OutputStream stream) throws IOException
IOExceptionpublic static final OutputStream serialize(Object obj, OutputStream stream) throws IOException
IOExceptionpublic static final OutputStream serialize(Object obj, OutputStream stream, boolean simple) throws IOException
IOExceptionpublic static final OutputStream serialize(Object obj, OutputStream stream, HproseMode mode) throws IOException
IOExceptionpublic static final OutputStream serialize(Object obj, OutputStream stream, HproseMode mode, boolean simple) throws IOException
IOExceptionpublic static final ByteBufferStream serialize(byte b) throws IOException
IOExceptionpublic static final ByteBufferStream serialize(short s) throws IOException
IOExceptionpublic static final ByteBufferStream serialize(int i) throws IOException
IOExceptionpublic static final ByteBufferStream serialize(long l) throws IOException
IOExceptionpublic static final ByteBufferStream serialize(float f) throws IOException
IOExceptionpublic static final ByteBufferStream serialize(double d) throws IOException
IOExceptionpublic static final ByteBufferStream serialize(boolean b) throws IOException
IOExceptionpublic static final ByteBufferStream serialize(char c) throws IOException
IOExceptionpublic static final ByteBufferStream serialize(Object obj) throws IOException
IOExceptionpublic static final ByteBufferStream serialize(Object obj, HproseMode mode) throws IOException
IOExceptionpublic static final ByteBufferStream serialize(Object obj, boolean simple) throws IOException
IOExceptionpublic static final ByteBufferStream serialize(Object obj, HproseMode mode, boolean simple) throws IOException
IOExceptionpublic static final Object unserialize(ByteBufferStream stream) throws IOException
IOExceptionpublic static final Object unserialize(ByteBufferStream stream, HproseMode mode) throws IOException
IOExceptionpublic static final Object unserialize(ByteBufferStream stream, boolean simple) throws IOException
IOExceptionpublic static final Object unserialize(ByteBufferStream stream, HproseMode mode, boolean simple) throws IOException
IOExceptionpublic static final <T> T unserialize(ByteBufferStream stream, Class<T> type) throws IOException
IOExceptionpublic static final <T> T unserialize(ByteBufferStream stream, HproseMode mode, Class<T> type) throws IOException
IOExceptionpublic static final <T> T unserialize(ByteBufferStream stream, boolean simple, Class<T> type) throws IOException
IOExceptionpublic static final <T> T unserialize(ByteBufferStream stream, HproseMode mode, boolean simple, Class<T> type) throws IOException
IOExceptionpublic static final Object unserialize(ByteBuffer data) throws IOException
IOExceptionpublic static final Object unserialize(ByteBuffer data, HproseMode mode) throws IOException
IOExceptionpublic static final Object unserialize(ByteBuffer data, boolean simple) throws IOException
IOExceptionpublic static final Object unserialize(ByteBuffer data, HproseMode mode, boolean simple) throws IOException
IOExceptionpublic static final <T> T unserialize(ByteBuffer data, Class<T> type) throws IOException
IOExceptionpublic static final <T> T unserialize(ByteBuffer data, HproseMode mode, Class<T> type) throws IOException
IOExceptionpublic static final <T> T unserialize(ByteBuffer data, boolean simple, Class<T> type) throws IOException
IOExceptionpublic static final <T> T unserialize(ByteBuffer data, HproseMode mode, boolean simple, Class<T> type) throws IOException
IOExceptionpublic static final Object unserialize(byte[] data) throws IOException
IOExceptionpublic static final Object unserialize(byte[] data, HproseMode mode) throws IOException
IOExceptionpublic static final Object unserialize(byte[] data, boolean simple) throws IOException
IOExceptionpublic static final Object unserialize(byte[] data, HproseMode mode, boolean simple) throws IOException
IOExceptionpublic static final <T> T unserialize(byte[] data,
Class<T> type)
throws IOException
IOExceptionpublic static final <T> T unserialize(byte[] data,
HproseMode mode,
Class<T> type)
throws IOException
IOExceptionpublic static final <T> T unserialize(byte[] data,
boolean simple,
Class<T> type)
throws IOException
IOExceptionpublic static final <T> T unserialize(byte[] data,
HproseMode mode,
boolean simple,
Class<T> type)
throws IOException
IOExceptionpublic static final Object unserialize(InputStream stream) throws IOException
IOExceptionpublic static final Object unserialize(InputStream stream, HproseMode mode) throws IOException
IOExceptionpublic static final Object unserialize(InputStream stream, boolean simple) throws IOException
IOExceptionpublic static final Object unserialize(InputStream stream, HproseMode mode, boolean simple) throws IOException
IOExceptionpublic static final <T> T unserialize(InputStream stream, Class<T> type) throws IOException
IOExceptionpublic static final <T> T unserialize(InputStream stream, HproseMode mode, Class<T> type) throws IOException
IOExceptionpublic static final <T> T unserialize(InputStream stream, boolean simple, Class<T> type) throws IOException
IOExceptionpublic static final <T> T unserialize(InputStream stream, HproseMode mode, boolean simple, Class<T> type) throws IOException
IOExceptionCopyright © 2018. All rights reserved.