opennlp.tools.formats
Class NameSampleStreamFactory

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

public class NameSampleStreamFactory
extends Object
implements ObjectStreamFactory<NameSample>


Constructor Summary
NameSampleStreamFactory()
           
 
Method Summary
 ObjectStream<NameSample> 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

NameSampleStreamFactory

public NameSampleStreamFactory()
Method Detail

getUsage

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

validateArguments

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

create

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

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


Copyright © 2010. All Rights Reserved.