public class SearchApplication extends Object
Modifier and Type | Field and Description |
---|---|
protected int |
timeout |
Constructor and Description |
---|
SearchApplication() |
Modifier and Type | Method and Description |
---|---|
protected static org.apache.commons.cli.Options |
createOptions() |
protected static String |
getEinecs(org.apache.commons.cli.CommandLine line) |
protected static String |
getFile(org.apache.commons.cli.CommandLine line) |
protected static String |
getHost(org.apache.commons.cli.CommandLine line) |
protected static NCISearchProcessor.METHODS |
getOutput(org.apache.commons.cli.CommandLine line) |
protected static String |
getQuery(org.apache.commons.cli.CommandLine line) |
protected static boolean |
getRetrieveConformers(org.apache.commons.cli.CommandLine line) |
protected static boolean |
getRetrieveSDF(org.apache.commons.cli.CommandLine line) |
protected static String |
getSource(org.apache.commons.cli.CommandLine line) |
protected static int |
getTimeout(org.apache.commons.cli.CommandLine line) |
protected static long |
getWait(org.apache.commons.cli.CommandLine line) |
static void |
main(String[] args) |
void |
processCactus(String file,
String query,
NCISearchProcessor.METHODS output,
long wait,
String host) |
void |
setTimeout(int ms) |
public void setTimeout(int ms)
public void processCactus(String file, String query, NCISearchProcessor.METHODS output, long wait, String host)
public static void main(String[] args)
protected static String getSource(org.apache.commons.cli.CommandLine line)
protected static String getEinecs(org.apache.commons.cli.CommandLine line)
protected static String getQuery(org.apache.commons.cli.CommandLine line)
protected static NCISearchProcessor.METHODS getOutput(org.apache.commons.cli.CommandLine line)
protected static String getFile(org.apache.commons.cli.CommandLine line)
protected static long getWait(org.apache.commons.cli.CommandLine line)
protected static int getTimeout(org.apache.commons.cli.CommandLine line)
protected static String getHost(org.apache.commons.cli.CommandLine line)
protected static boolean getRetrieveSDF(org.apache.commons.cli.CommandLine line)
protected static boolean getRetrieveConformers(org.apache.commons.cli.CommandLine line)
protected static org.apache.commons.cli.Options createOptions()
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.