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 Object

Author:
kura

Field Summary
protected static String O_DESCR
           
protected static String O_DOMAIN
           
protected static String O_FILE
           
protected static String O_HELP
           
protected static String O_IPADDR
           
protected static String O_NO_CHUNK
           
protected static String O_PASS
           
protected static String O_STOREDIR
           
protected static String O_USER
           
 
Constructor Summary
DescriptorBasedRepoExporter()
           
 
Method Summary
protected static org.apache.commons.cli.Options defineOptions()
           
 void doExport(String outDir, ArrayList<String> ids)
           
protected static String getDomain(org.apache.commons.cli.CommandLine commandLine, ServiceDiscoverer disc)
           
static void main(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 String O_DESCR
See Also:
Constant Field Values

O_STOREDIR

protected static final String O_STOREDIR
See Also:
Constant Field Values

O_HELP

protected static final String O_HELP
See Also:
Constant Field Values

O_IPADDR

protected static final String O_IPADDR
See Also:
Constant Field Values

O_USER

protected static final String O_USER
See Also:
Constant Field Values

O_PASS

protected static final String O_PASS
See Also:
Constant Field Values

O_DOMAIN

protected static final String O_DOMAIN
See Also:
Constant Field Values

O_FILE

protected static final String O_FILE
See Also:
Constant Field Values

O_NO_CHUNK

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

DescriptorBasedRepoExporter

public DescriptorBasedRepoExporter()
Method Detail

doExport

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

defineOptions

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

usage

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

getDomain

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

main

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


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