| 程序包 | 说明 |
|---|---|
| cn.sexycode.util.core.object |
| 限定符和类型 | 方法和说明 |
|---|---|
static Object |
SerializationHelper.clone(Serializable object)
Deep clone an
Object using serialization. |
static Object |
SerializationHelper.deserialize(byte[] objectData)
Deserializes an object from an array of bytes using the Thread Context
ClassLoader (TCCL).
|
static Object |
SerializationHelper.deserialize(byte[] objectData,
ClassLoader loader)
Deserializes an object from an array of bytes.
|
static <T> T |
SerializationHelper.deserialize(InputStream inputStream)
Deserializes an object from the specified stream using the Thread Context
ClassLoader (TCCL).
|
static Object |
SerializationHelper.deserialize(InputStream inputStream,
ClassLoader loader)
Deserializes an object from the specified stream using the Thread Context
ClassLoader (TCCL).
|
static <T> T |
SerializationHelper.doDeserialize(InputStream inputStream,
ClassLoader loader,
ClassLoader fallbackLoader1,
ClassLoader fallbackLoader2) |
static byte[] |
SerializationHelper.serialize(Serializable obj)
Serializes an
Object to a byte array for
storage/serialization. |
static void |
SerializationHelper.serialize(Serializable obj,
OutputStream outputStream)
Serializes an
Object to the specified stream. |
Copyright © 2020. All rights reserved.