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 FeatureGeneratorFactorycreate(java.io.InputStream in)Deprecated.Creates the artifact from the providedInputStream.voidserialize(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:ArtifactSerializerCreates the artifact from the providedInputStream. TheInputStreamremains open.- Specified by:
createin interfaceArtifactSerializer<FeatureGeneratorFactory>- Returns:
- the artifact
- Throws:
java.io.IOExceptionInvalidFormatException
-
serialize
public void serialize(FeatureGeneratorFactory artifact, java.io.OutputStream out) throws java.io.IOException
Deprecated.Description copied from interface:ArtifactSerializerSerializes the artifact to the providedOutputStream. TheOutputStreamremains open.- Specified by:
serializein interfaceArtifactSerializer<FeatureGeneratorFactory>- Throws:
java.io.IOException
-
-