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>
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:
- the artifact
- 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 © 2013 The Apache Software Foundation. All Rights Reserved.