opennlp.tools.util.model
Class FeatureGeneratorFactorySerializer
java.lang.Object
opennlp.tools.util.model.FeatureGeneratorFactorySerializer
- All Implemented Interfaces:
- ArtifactSerializer<FeatureGeneratorFactory>
Deprecated.
@Deprecated
public class FeatureGeneratorFactorySerializer
- extends Object
- implements ArtifactSerializer<FeatureGeneratorFactory>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FeatureGeneratorFactorySerializer
public FeatureGeneratorFactorySerializer()
- Deprecated.
create
public FeatureGeneratorFactory create(InputStream in)
throws IOException,
InvalidFormatException
- Deprecated.
- Description copied from interface:
ArtifactSerializer
- Creates the artifact from the provided
InputStream
.
The InputStream
remains open.
- Specified by:
create
in interface ArtifactSerializer<FeatureGeneratorFactory>
- Returns:
-
- Throws:
IOException
InvalidFormatException
serialize
public void serialize(FeatureGeneratorFactory artifact,
OutputStream out)
throws IOException
- Deprecated.
- Description copied from interface:
ArtifactSerializer
- Serializes the artifact to the provided
OutputStream
.
The OutputStream
remains open.
- Specified by:
serialize
in interface ArtifactSerializer<FeatureGeneratorFactory>
- Throws:
IOException
Copyright © 2010. All Rights Reserved.