|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectuk.ac.starlink.topcat.contrib.gavo.GavoCSVTableParser.RecursiveDescentParser
public static class GavoCSVTableParser.RecursiveDescentParser
Recursive descent parser for parsing a single line
| Constructor Summary | |
|---|---|
GavoCSVTableParser.RecursiveDescentParser()
Creates a new instance of RecursiveDescentParser |
|
GavoCSVTableParser.RecursiveDescentParser(String line)
Creates a new instance of RecursiveDescentParser |
|
| Method Summary | |
|---|---|
String |
getDelimiter()
Getter for property delimiter. |
String |
getLine()
Getter for property line. |
List |
parse()
Parses a line previously set |
List |
parse(String line)
Parses the given line of text |
void |
setDelimiter(String delimiter)
Setter for property delimiter. |
void |
setLine(String line)
Setter for property line. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GavoCSVTableParser.RecursiveDescentParser()
public GavoCSVTableParser.RecursiveDescentParser(String line)
line - the line to parse| Method Detail |
|---|
public void setDelimiter(String delimiter)
delimiter - New value of property delimiter.public String getDelimiter()
public void setLine(String line)
line - New value of property line.public String getLine()
public List parse(String line)
line - a String with delimiters and double quotes
public List parse()
setLine(java.lang.String)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||