java.lang.Object | |
↳ | com.pnfsoftware.jeb.util.serialization.SerializationManager |
This object provides serializer and deserializers optimized for a collection of specific types.
It implements the PNF-ORPD
mechanism and specifications.
Currently, third-party code should not used the serializer - i.e., units produced by third-party
plugins should be transient until the PNF-ORPD implementation is complete. If you choose to
persist third-party units, make sure to read some limitations explained
there
.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int | FLAG_HAS_STRINGPOOL | ||||||||||
String | MAGIC | "PNF Software Obfuscation-Resilient Persisted Data" |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
SerializationManager(ITypeIdProvider typeIdProvider) |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
void |
addClassloader(ClassLoader cl)
Register an additional classloader for deserialization.
| ||||||||||
Deserializer | getDeserializer(InputStream in) | ||||||||||
Serializer | getSerializer(OutputStream out) | ||||||||||
Serializer | getSerializer(OutputStream out, boolean generateStringPool) | ||||||||||
Serializer_v4 | getSerializer_v4(OutputStream out) | ||||||||||
ITypeIdProvider | getTypeIdProvider() |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
"PNF Software Obfuscation-Resilient Persisted Data"
Register an additional classloader for deserialization. The additional classloaders take precedence over the system classloader, which is used if all else failed.
Calling this method is useless if the manager is to be used for serialization only.
cl | a classloader |
---|