|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectxml2fol.FOLTable
public class FOLTable
Constructor Summary | |
---|---|
FOLTable(java.lang.String fxolFilename,
java.lang.String tableFlag,
boolean saveText)
Creates an FOLTable with the following parameters No Index Filename (filename is empty string) Values are stored in both Map and List Min character length is 0 |
|
FOLTable(java.lang.String fxolFilename,
java.lang.String tableFlag,
boolean storeMap,
boolean storeList,
boolean saveText)
Creates an FOLTable with the following parameters Min character length is 0 No Index Filename (filename is empty string) |
|
FOLTable(java.lang.String fxolFilename,
java.lang.String tableFlag,
int minCharacterLength,
boolean saveText)
Creates an FOLTable with the following parameters No Index Filename (filename is empty string) Values are stored in both Map and List |
|
FOLTable(java.lang.String fxolFilename,
java.lang.String tableFlag,
int minCharacterLength,
boolean storeMap,
boolean storeList,
boolean saveText)
Creates an FOLTable with the following parameters No Index Filename (filename is empty string) |
|
FOLTable(java.lang.String fxolFilename,
java.lang.String idxFilename,
java.lang.String tableFlag,
boolean saveText)
Creates an FOLTable with the following parameters Values are stored in both Map and List Min character length is 0 |
|
FOLTable(java.lang.String fxolFilename,
java.lang.String idxFilename,
java.lang.String tableFlag,
boolean storeMap,
boolean storeList,
boolean saveText)
Creates an FOLTable with the following parameters Min character length is 0 |
|
FOLTable(java.lang.String fxolFilename,
java.lang.String idxFilename,
java.lang.String tableFlag,
int minCharacterLength,
boolean saveText)
Creates an FOLTable with the following parameters Values are stored in both Map and List |
|
FOLTable(java.lang.String fxolFilename,
java.lang.String idxFilename,
java.lang.String tableFlag,
int minCharacterLength,
boolean storeMap,
boolean storeList,
boolean saveText)
Creates an FOLTable with the following parameters |
Method Summary | |
---|---|
int |
AddFile(java.lang.String xmlfilename)
Adds a given xmlfile (and all its xpaths) to the table |
void |
ClearCollection()
Clears the values in the collection |
void |
CloseTable()
Closes the tables |
java.lang.String |
GetListString()
Returns all the values in the table as a string |
void |
LoadIndex(boolean storeMap,
boolean storeList)
Loads the values from the index into memory |
void |
OpenTable()
Opens the tables |
void |
PopulateCollection(java.lang.String xmlfilename,
boolean storeMap,
boolean storeList)
This method loads the details of a particular document it assumes that index is loaded |
void |
PrintCollection()
Prints the values in the table to the screen |
void |
PrintIndex()
Prints the index to the screen |
void |
ResortTable()
Sorts a table |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FOLTable(java.lang.String fxolFilename, java.lang.String tableFlag, boolean saveText)
fxolFilename
- - The name of the FOL tabletableFlag
- - A flag to indicate the type of table createdsaveText
- - A flag to indicate if text elements should be stored in the tablepublic FOLTable(java.lang.String fxolFilename, java.lang.String idxFilename, java.lang.String tableFlag, boolean saveText)
fxolFilename
- - The name of the FOL tableidxFilename
- - The name of the FOL table's indextableFlag
- - A flag to indicate the type of table createdsaveText
- - A flag to indicate if text elements should be stored in the tablepublic FOLTable(java.lang.String fxolFilename, java.lang.String tableFlag, int minCharacterLength, boolean saveText)
fxolFilename
- - The name of the FOL tabletableFlag
- - A flag to indicate the type of table createdminCharacterLength
- - The minimum character length required for elements to be stored in the tablesaveText
- - A flag to indicate if text elements should be stored in the tablepublic FOLTable(java.lang.String fxolFilename, java.lang.String idxFilename, java.lang.String tableFlag, int minCharacterLength, boolean saveText)
fxolFilename
- - The name of the FOL tableidxFilename
- - The name of the FOL table's indextableFlag
- - A flag to indicate the type of table createdminCharacterLength
- - The minimum character length required for elements to be stored in the tablesaveText
- - A flag to indicate if text elements should be stored in the tablepublic FOLTable(java.lang.String fxolFilename, java.lang.String tableFlag, boolean storeMap, boolean storeList, boolean saveText)
fxolFilename
- - The name of the FOL tabletableFlag
- - A flag to indicate the type of table createdstoreMap
- - A flag to indicate if values should be store in the MapstoreList
- - A flag to indicate if values should be store in the MapsaveText
- - A flag to indicate if text elements should be stored in the tablepublic FOLTable(java.lang.String fxolFilename, java.lang.String idxFilename, java.lang.String tableFlag, boolean storeMap, boolean storeList, boolean saveText)
fxolFilename
- - The name of the FOL tableidxFilename
- - The name of the FOL table's indextableFlag
- - A flag to indicate the type of table createdstoreMap
- - A flag to indicate if values should be store in the MapstoreList
- - A flag to indicate if values should be store in the MapsaveText
- - A flag to indicate if text elements should be stored in the tablepublic FOLTable(java.lang.String fxolFilename, java.lang.String tableFlag, int minCharacterLength, boolean storeMap, boolean storeList, boolean saveText)
fxolFilename
- - The name of the FOL tabletableFlag
- - A flag to indicate the type of table createdminCharacterLength
- - The minimum character length required for elements to be stored in the tablestoreMap
- - A flag to indicate if values should be store in the MapstoreList
- - A flag to indicate if values should be store in the MapsaveText
- - A flag to indicate if text elements should be stored in the tablepublic FOLTable(java.lang.String fxolFilename, java.lang.String idxFilename, java.lang.String tableFlag, int minCharacterLength, boolean storeMap, boolean storeList, boolean saveText)
fxolFilename
- - The name of the FOL tableidxFilename
- - The name of the FOL table's indextableFlag
- - A flag to indicate the type of table createdminCharacterLength
- - The minimum character length required for elements to be stored in the tablestoreMap
- - A flag to indicate if values should be store in the MapstoreList
- - A flag to indicate if values should be store in the MapsaveText
- - A flag to indicate if text elements should be stored in the tableMethod Detail |
---|
public void OpenTable()
public void CloseTable()
public int AddFile(java.lang.String xmlfilename)
xmlfilename
-
public void ClearCollection()
public void LoadIndex(boolean storeMap, boolean storeList)
storeMap
- storeList
- public void PopulateCollection(java.lang.String xmlfilename, boolean storeMap, boolean storeList)
xmlfilename
- storeMap
- storeList
- public void PrintIndex()
public void PrintCollection()
public java.lang.String GetListString()
public void ResortTable()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |