Xindice API
version 1.1

org.apache.xindice.tools.command
Class AddResource

java.lang.Object
  |
  +--org.apache.xindice.tools.command.Command
        |
        +--org.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: 511426 $, $Date: 2007-02-24 22:25:02 -0500 (Sat, 24 Feb 2007) $

Fields inherited from class org.apache.xindice.tools.command.Command
XINDICE_NAME_INDEXER, XINDICE_VAL_INDEXER, XINDICELOCALURI, XINDICEURI, XMLDBAPIVERSION, XMLDBURI
 
Constructor Summary
AddResource()
           
 
Method Summary
 boolean execute(Hashtable table)
          Adds a resource to the collection
 
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(Hashtable table)
                throws Exception
Adds a resource to the collection
Overrides:
execute in class Command

Xindice API
version 1.1

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