public class WordNetData
extends java.lang.Object
Constructor and Description |
---|
WordNetData(java.lang.String fileName,
long offset)
Create a new data entry with the given offset and filename
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescription()
Get the description for this WordNetData object.
|
java.lang.String |
getFileName()
Get the file name containing this data entry
|
long |
getOffset()
Get the offset for this data entry
|
java.util.Map<java.lang.Long,java.lang.String> |
getPointers()
Get the set of pointers for this data entry.
|
java.util.Set<java.lang.String> |
getTerms()
Get the set of terms for this data entry
|
void |
setDescription(java.lang.String desc)
Set the description for this WordNetData object.
|
public WordNetData(java.lang.String fileName, long offset)
fileName
- the name of the file this data entry originated fromoffset
- the byte offsetpublic java.lang.String getDescription()
public java.lang.String getFileName()
public long getOffset()
public java.util.Map<java.lang.Long,java.lang.String> getPointers()
public java.util.Set<java.lang.String> getTerms()
public void setDescription(java.lang.String desc)
desc
- the description