Xindice API
version 1.2m1

org.apache.xindice.tools.command
Class AddResource

java.lang.Object
  extended byorg.apache.xindice.tools.command.Command
      extended byorg.apache.xindice.tools.command.AddResource

public class AddResource
extends Command

AddResource is designed to let the user add single binary resource and/or multiple binary resources to any existing collection within the current database.

Version:
$Revision: 578602 $, $Date: 2007-09-23 16:33:31 -0400 (Sun, 23 Sep 2007) $

Field Summary
 
Fields inherited from class org.apache.xindice.tools.command.Command
XINDICE_NAME_INDEXER, XINDICE_TEXT_INDEXER, XINDICE_VAL_INDEXER, XINDICELOCALURI, XINDICEURI, XMLDBAPIVERSION, XMLDBURI
 
Constructor Summary
AddResource()
           
 
Method Summary
 boolean execute(XMLTools.Config table)
          Adds a resource to the collection
 void usage()
           
 
Methods inherited from class org.apache.xindice.tools.command.Command
normalizeCollectionURI
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AddResource

public AddResource()
Method Detail

execute

public boolean execute(XMLTools.Config table)
                throws Exception
Adds a resource to the collection

Specified by:
execute in class Command
Throws:
Exception

usage

public void usage()
Specified by:
usage in class Command

Xindice API
version 1.2m1

Copyright (c) 1999-2007 The Apache Software Foundation. All Rights Reserved.