public class IdentificationParametersInputBean
extends java.lang.Object
| Constructor and Description |
|---|
IdentificationParametersInputBean(org.apache.commons.cli.CommandLine aLine)
Takes all the arguments from a command line.
|
| Modifier and Type | Method and Description |
|---|---|
java.io.File |
getDestinationFile()
Returns the file where to save the identification parameters.
|
SearchParameters |
getSearchParameters()
Returns the search parameters.
|
java.lang.Boolean |
isListMods()
Indicates whether the modifications should be printed on the screen.
|
static boolean |
isValidModifications(org.apache.commons.cli.CommandLine aLine)
Verifies that modifications are correctly recognized.
|
static boolean |
isValidStartup(org.apache.commons.cli.CommandLine aLine)
Verifies the command line start parameters.
|
public IdentificationParametersInputBean(org.apache.commons.cli.CommandLine aLine)
throws java.io.FileNotFoundException,
java.io.IOException,
java.lang.ClassNotFoundException
aLine - the command linejava.io.FileNotFoundExceptionjava.io.IOExceptionjava.lang.ClassNotFoundExceptionpublic SearchParameters getSearchParameters()
public java.io.File getDestinationFile()
public java.lang.Boolean isListMods()
public static boolean isValidModifications(org.apache.commons.cli.CommandLine aLine)
throws java.io.IOException
aLine - the command line to validatejava.io.IOExceptionpublic static boolean isValidStartup(org.apache.commons.cli.CommandLine aLine)
throws java.io.IOException
aLine - the command line to validatejava.io.IOExceptionCopyright © 2014. All Rights Reserved.