- public class ImportTree
- extends Command
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!
- $Revision: 511426 $, $Date: 2007-02-24 22:25:02 -0500 (Sat, 24 Feb 2007) $
|Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public boolean execute(Hashtable table)
execute in class
protected void importFile(String baseCollection,
protected String createCollection(String baseCollection,
Copyright (c) 1999-2007 The Apache Software Foundation. All Rights Reserved.