org.xbrlapi.data.bdbxml.examples.utilities
Class LoadSpecificDocument
java.lang.Object
org.xbrlapi.data.bdbxml.examples.utilities.BaseUtilityExample
org.xbrlapi.data.bdbxml.examples.utilities.LoadSpecificDocument
public class LoadSpecificDocument
- extends BaseUtilityExample
Loads a specific document, and all of the documents that it enables
discovery of, into the data store. The document is first deleted from
the data store if it is already in the data store.
Additional commandline arguments (optional ones marked with an *)
- -document [The URI of the document]
- -scope [dts | single]
These are in addition to those commandline arguments documented at
- Author:
- Geoff Shuetrim (geoff@galexy.net)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LoadSpecificDocument
public LoadSpecificDocument(String[] args)
main
public static void main(String[] args)
- Parameters:
args - The array of commandline arguments.
addArgumentDocumentation
protected String addArgumentDocumentation()
- Description copied from class:
BaseUtilityExample
- Provides documentation of the usage of the utility.
Override this to generate the utility documentation, calling
this first to get the initial part of the documentation.
- Overrides:
addArgumentDocumentation in class BaseUtilityExample
- Returns:
- the documentation of the command line arguments.
setUp
protected String setUp()
- Description copied from class:
BaseUtilityExample
- Sets up the database store, the loader and the cache.
Also checks that the base arguments (database, container and cache)
have been supplied. (Overrides should also call this method).
- Overrides:
setUp in class BaseUtilityExample