@Deprecated public class ClassSerializer extends java.lang.Object implements ArtifactSerializer<java.lang.Class<?>>
Constructor and Description |
---|
ClassSerializer()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Class<?> |
create(java.io.InputStream in)
Deprecated.
Creates the artifact from the provided
InputStream . |
void |
serialize(java.lang.Class<?> artifact,
java.io.OutputStream out)
Deprecated.
Serializes the artifact to the provided
OutputStream . |
public java.lang.Class<?> create(java.io.InputStream in) throws java.io.IOException, InvalidFormatException
ArtifactSerializer
InputStream
.
The InputStream
remains open.create
in interface ArtifactSerializer<java.lang.Class<?>>
java.io.IOException
InvalidFormatException
public void serialize(java.lang.Class<?> artifact, java.io.OutputStream out) throws java.io.IOException
ArtifactSerializer
OutputStream
.
The OutputStream
remains open.serialize
in interface ArtifactSerializer<java.lang.Class<?>>
java.io.IOException
Copyright © 2010 - 2020 Adobe. All Rights Reserved