|
Xindice API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.xindice.tools.command.Command | +--org.apache.xindice.tools.command.ImportTree
ImportTree.java is designed to take a directory/file path and create a Collection from it's name. The files within the directory are converted into Documents and then stored into the newly created Collection with their filename as a document key NOTE: If the collection passed in with the -c option already exists it will be overwritten!
Fields inherited from class org.apache.xindice.tools.command.Command |
COLLECTIONURI, XINDICE_NAME_INDEXER, XINDICE_VAL_INDEXER, XINDICEURI, XMLDBAPIVERSION |
Constructor Summary | |
ImportTree()
|
Method Summary | |
boolean |
execute(java.util.Hashtable table)
|
Methods inherited from class org.apache.xindice.tools.command.Command |
normalizeCollectionURI, normalizeXindiceURI |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ImportTree()
Method Detail |
public boolean execute(java.util.Hashtable table) throws java.lang.Exception
execute
in class Command
|
Xindice API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |