|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.mit.jwi.data.parse.IndexLineParser
public class IndexLineParser
Parser parser for Wordnet index files (e.g., idx.adv or
adv.idx). It produces an IIndexWord object.
This class follows a singleton design pattern, and is not intended to be
instantiated directly; rather, call the getInstance() method to get
the singleton instance.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface edu.mit.jwi.data.parse.ILineParser |
|---|
ILineParser.MisformattedLineException |
| Constructor Summary | |
|---|---|
protected |
IndexLineParser()
This constructor is marked protected so that the class may be sub-classed, but not directly instantiated. |
| Method Summary | |
|---|---|
static IndexLineParser |
getInstance()
Returns the singleton instance of this class, instantiating it if necessary. |
IIndexWord |
parseLine(java.lang.String line)
Given the line of data, this method produces an object of class T. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected IndexLineParser()
getInstance() method.
| Method Detail |
|---|
public static IndexLineParser getInstance()
null.
null singleton instance of this class,
instantiating it if necessary.public IIndexWord parseLine(java.lang.String line)
ILineParserT.
parseLine in interface ILineParser<IIndexWord>line - the line to be parsed
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||