Package | Description |
---|---|
com.devexperts.io |
Provides input/output utility classes.
|
Modifier and Type | Method and Description |
---|---|
static SerialClassContext |
SerialClassContext.createSerialClassContext(ClassLoader loader,
Collection<String> whiteClasses,
Collection<String> blackClasses)
Creates serial class context with a specified class loader, whitelist, and blacklist.
|
static SerialClassContext |
SerialClassContext.getDefaultSerialContext(ClassLoader loader)
Returns default serial class context for the specified class loader.
|
Modifier and Type | Method and Description |
---|---|
static Object |
IOUtil.bytesToObject(byte[] bytes,
SerialClassContext serialContext)
Deserializes an array of bytes into object with Java Serialization in a given
SerialClassContext . |
static <T> Marshalled<T> |
Marshalled.forBytes(byte[] bytes,
Marshaller<T> marshaller,
SerialClassContext serialContext)
Returns marshalled object for a specified byte array and marshaller.
|
<T> Marshalled<T> |
BufferedInput.readMarshalled(Marshaller<T> marshaller,
SerialClassContext serialContext)
Reads
Marshalled object from a byte stream with a specified marshaller. |
static Object |
IOUtil.readObject(DataInput in,
SerialClassContext serialContext)
Reads an object from the data input as a Java-serialized byte array with compact encapsulation
in a given
SerialClassContext . |
Object |
BufferedInput.readObject(SerialClassContext serialContext)
Read and return an object with a specified serial class context.
|
abstract T |
Marshaller.readObjectFrom(BufferedInput in,
int length,
SerialClassContext serialContext)
Reads object representation according to this marshalling strategy from the specified input.
|
Copyright © 2002–2025 Devexperts LLC. All rights reserved.