|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object text.FileGetter text.XMLGetter
public class XMLGetter
Retieves data from a XLM file saved in TextConvertor format into the data structure.
Field Summary | |
---|---|
private static java.lang.String |
content
|
private java.lang.String |
tmp
|
Fields inherited from class text.FileGetter |
---|
counter |
Fields inherited from interface text.TextConstants |
---|
COMMA, CREATED_BY_ZYX, DELIM, DOUBLE_QUOTE, ELEMENT_DOCUMENT, ELEMENT_ITEM, EMPTY, FALSE, FORWARD_SLASH, FOUR_SPACES, ID_EQUALS, JAVA_LANG_STRING, LEFT_ANGLE, LEFT_BRACE, LEFT_BRACKET, MENU_ONE, MENU_TWO, NEW_LINE, ONE, RIGHT_ANGLE, RIGHT_BRACE, RIGHT_BRACKET, SEMICOLON, SINGLE_QUOTE, SPACE, TRUE, TWO, XML_VERSION, ZERO |
Constructor Summary | |
---|---|
XMLGetter()
Default Constructor. |
Method Summary | |
---|---|
void |
addColumnNames()
Adds column names to the content string. |
void |
addData()
Adds the data contained in the XML file to the CSV string. |
java.lang.String |
makeCSVString(java.lang.String content_)
Constructs a string representing CSV file from the XML file content. |
Methods inherited from class text.FileGetter |
---|
appendToCSV, appendToValue, clearCSV, clearValue, getCSV, getValue |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static java.lang.String content
private java.lang.String tmp
Constructor Detail |
---|
public XMLGetter()
Method Detail |
---|
public java.lang.String makeCSVString(java.lang.String content_)
content_
- - XML file content.
public void addColumnNames()
public void addData()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |