@Deprecated public class ClassSerializer extends Object implements ArtifactSerializer<Class<?>>
Constructor and Description |
---|
ClassSerializer()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Class<?> |
create(InputStream in)
Deprecated.
Creates the artifact from the provided
InputStream . |
void |
serialize(Class<?> artifact,
OutputStream out)
Deprecated.
Serializes the artifact to the provided
OutputStream . |
public Class<?> create(InputStream in) throws IOException, InvalidFormatException
ArtifactSerializer
InputStream
.
The InputStream
remains open.create
in interface ArtifactSerializer<Class<?>>
IOException
InvalidFormatException
public void serialize(Class<?> artifact, OutputStream out) throws IOException
ArtifactSerializer
OutputStream
.
The OutputStream
remains open.serialize
in interface ArtifactSerializer<Class<?>>
IOException
Copyright © 2015 The Apache Software Foundation. All rights reserved.