Class Entry
- java.lang.Object
 - 
- opennlp.tools.dictionary.serializer.Entry
 
 
- 
public class Entry extends java.lang.ObjectAnEntryis aStringListwhich can optionally be mapped to attributes.Entrys is a read and written by theDictionaryEntryPersistor.- See Also:
 DictionaryEntryPersistor,Attributes
 
- 
- 
Constructor Summary
Constructors Constructor Description Entry(StringList tokens, Attributes attributes)Initializes the current instance. 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AttributesgetAttributes()Retrieves theAttributes.StringListgetTokens()Retrieves the tokens. 
 - 
 
- 
- 
Constructor Detail
- 
Entry
public Entry(StringList tokens, Attributes attributes)
Initializes the current instance.- Parameters:
 tokens-attributes-
 
 - 
 
- 
Method Detail
- 
getTokens
public StringList getTokens()
Retrieves the tokens.- Returns:
 - the tokens
 
 
- 
getAttributes
public Attributes getAttributes()
Retrieves theAttributes.- Returns:
 - the 
Attributes 
 
 - 
 
 -