pl.edu.icm.yadda.remoting.cli.export
Class DescriptorBasedRepoExporter

java.lang.Object
  extended by pl.edu.icm.yadda.remoting.cli.export.DescriptorBasedRepoExporter

public class DescriptorBasedRepoExporter
extends java.lang.Object

Author:
kura

Field Summary
protected static java.lang.String O_DESCR
           
protected static java.lang.String O_DOMAIN
           
protected static java.lang.String O_FILE
           
protected static java.lang.String O_HELP
           
protected static java.lang.String O_IPADDR
           
protected static java.lang.String O_NO_CHUNK
           
protected static java.lang.String O_PASS
           
protected static java.lang.String O_STOREDIR
           
protected static java.lang.String O_USER
           
 
Constructor Summary
DescriptorBasedRepoExporter()
           
 
Method Summary
protected static org.apache.commons.cli.Options defineOptions()
           
 void doExport(java.lang.String outDir, java.util.ArrayList<java.lang.String> ids)
           
protected static java.lang.String getDomain(org.apache.commons.cli.CommandLine commandLine, ServiceDiscoverer disc)
           
static void main(java.lang.String[] args)
           
protected static void usage(org.apache.commons.cli.Options options)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

O_DESCR

protected static final java.lang.String O_DESCR
See Also:
Constant Field Values

O_STOREDIR

protected static final java.lang.String O_STOREDIR
See Also:
Constant Field Values

O_HELP

protected static final java.lang.String O_HELP
See Also:
Constant Field Values

O_IPADDR

protected static final java.lang.String O_IPADDR
See Also:
Constant Field Values

O_USER

protected static final java.lang.String O_USER
See Also:
Constant Field Values

O_PASS

protected static final java.lang.String O_PASS
See Also:
Constant Field Values

O_DOMAIN

protected static final java.lang.String O_DOMAIN
See Also:
Constant Field Values

O_FILE

protected static final java.lang.String O_FILE
See Also:
Constant Field Values

O_NO_CHUNK

protected static final java.lang.String O_NO_CHUNK
See Also:
Constant Field Values
Constructor Detail

DescriptorBasedRepoExporter

public DescriptorBasedRepoExporter()
Method Detail

doExport

public void doExport(java.lang.String outDir,
                     java.util.ArrayList<java.lang.String> ids)
              throws java.lang.Exception
Throws:
java.lang.Exception

defineOptions

protected static org.apache.commons.cli.Options defineOptions()

usage

protected static void usage(org.apache.commons.cli.Options options)

getDomain

protected static java.lang.String getDomain(org.apache.commons.cli.CommandLine commandLine,
                                            ServiceDiscoverer disc)

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2002-2012 ICM, Warsaw University. All Rights Reserved.