Package opennlp.tools.util.model
Class FeatureGeneratorFactorySerializer
- java.lang.Object
-
- opennlp.tools.util.model.FeatureGeneratorFactorySerializer
-
- All Implemented Interfaces:
ArtifactSerializer<FeatureGeneratorFactory>
@Deprecated public class FeatureGeneratorFactorySerializer extends java.lang.Object implements ArtifactSerializer<FeatureGeneratorFactory>
Deprecated.
-
-
Constructor Summary
Constructors Constructor Description FeatureGeneratorFactorySerializer()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description FeatureGeneratorFactory
create(java.io.InputStream in)
Deprecated.Creates the artifact from the providedInputStream
.void
serialize(FeatureGeneratorFactory artifact, java.io.OutputStream out)
Deprecated.Serializes the artifact to the providedOutputStream
.
-
-
-
Method Detail
-
create
public FeatureGeneratorFactory create(java.io.InputStream in) throws java.io.IOException, InvalidFormatException
Deprecated.Description copied from interface:ArtifactSerializer
Creates the artifact from the providedInputStream
. TheInputStream
remains open.- Specified by:
create
in interfaceArtifactSerializer<FeatureGeneratorFactory>
- Returns:
- the artifact
- Throws:
java.io.IOException
InvalidFormatException
-
serialize
public void serialize(FeatureGeneratorFactory artifact, java.io.OutputStream out) throws java.io.IOException
Deprecated.Description copied from interface:ArtifactSerializer
Serializes the artifact to the providedOutputStream
. TheOutputStream
remains open.- Specified by:
serialize
in interfaceArtifactSerializer<FeatureGeneratorFactory>
- Throws:
java.io.IOException
-
-