|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.noaa.gdsg.xmldbremote.commandLine.ResourceManager
public class ResourceManager
Inserts the specified file into the specified database.
Constructor Summary | |
---|---|
ResourceManager()
Creates a new instance of InsertResource |
Method Summary | |
---|---|
static CollectionManager |
createCollectionManager(org.apache.commons.cli.CommandLine cl)
Create the collection manager with command line args |
static void |
doDelete(org.apache.commons.cli.CommandLine cl)
|
static void |
doInsert(org.apache.commons.cli.CommandLine cl)
|
static org.xmldb.api.base.Database |
getDatabase(org.apache.commons.cli.CommandLine cl)
If l is specified use that as an endpoint, otherwise use the default |
static org.w3c.dom.Node |
isToNode(java.io.InputStream is)
Input Stream To Node |
static void |
main(java.lang.String[] args)
|
static void |
queryResource(org.apache.commons.cli.CommandLine cl)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ResourceManager()
Method Detail |
---|
public static void main(java.lang.String[] args)
args
- the command line argumentspublic static void doDelete(org.apache.commons.cli.CommandLine cl) throws java.lang.Exception
java.lang.Exception
public static void queryResource(org.apache.commons.cli.CommandLine cl) throws java.lang.Exception
java.lang.Exception
public static void doInsert(org.apache.commons.cli.CommandLine cl) throws java.lang.Exception
java.lang.Exception
public static org.w3c.dom.Node isToNode(java.io.InputStream is) throws java.lang.Exception
java.lang.Exception
public static CollectionManager createCollectionManager(org.apache.commons.cli.CommandLine cl) throws java.lang.Exception
java.lang.Exception
public static org.xmldb.api.base.Database getDatabase(org.apache.commons.cli.CommandLine cl) throws java.lang.Exception
cl
- The command line.
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |