opennlp.tools.util.model
Class FeatureGeneratorFactorySerializer

java.lang.Object
  extended by opennlp.tools.util.model.FeatureGeneratorFactorySerializer
All Implemented Interfaces:
ArtifactSerializer<FeatureGeneratorFactory>

Deprecated.

@Deprecated
public class FeatureGeneratorFactorySerializer
extends Object
implements ArtifactSerializer<FeatureGeneratorFactory>


Constructor Summary
FeatureGeneratorFactorySerializer()
          Deprecated.  
 
Method Summary
 FeatureGeneratorFactory create(InputStream in)
          Deprecated. Creates the artifact from the provided InputStream.
 void serialize(FeatureGeneratorFactory artifact, OutputStream out)
          Deprecated. Serializes the artifact to the provided OutputStream.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FeatureGeneratorFactorySerializer

public FeatureGeneratorFactorySerializer()
Deprecated. 
Method Detail

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.