|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectopennlp.tools.util.model.ClassSerializer
@Deprecated public class ClassSerializer
Constructor Summary | |
---|---|
ClassSerializer()
Deprecated. |
Method Summary | |
---|---|
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 . |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ClassSerializer()
Method Detail |
---|
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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |