opennlp.tools.formats
Class NameToTokenSampleStreamFactory

java.lang.Object
  extended by opennlp.tools.formats.NameToTokenSampleStreamFactory
All Implemented Interfaces:
ObjectStreamFactory<TokenSample>

public class NameToTokenSampleStreamFactory
extends Object
implements ObjectStreamFactory<TokenSample>

Note: Do not use this class, internal use only!


Constructor Summary
NameToTokenSampleStreamFactory()
           
 
Method Summary
 ObjectStream<TokenSample> create(String[] args)
          Creates the ObjectStream
 String getUsage()
           
 boolean validateArguments(String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NameToTokenSampleStreamFactory

public NameToTokenSampleStreamFactory()
Method Detail

getUsage

public String getUsage()
Specified by:
getUsage in interface ObjectStreamFactory<TokenSample>

validateArguments

public boolean validateArguments(String[] args)
Specified by:
validateArguments in interface ObjectStreamFactory<TokenSample>

create

public ObjectStream<TokenSample> create(String[] args)
Description copied from interface: ObjectStreamFactory
Creates the ObjectStream

Specified by:
create in interface ObjectStreamFactory<TokenSample>
Returns:


Copyright © 2010. All Rights Reserved.