public class FastaParametersInputBean extends Object
Constructor and Description |
---|
FastaParametersInputBean(org.apache.commons.cli.CommandLine aLine,
File fastaFile,
WaitingHandler waitingHandler)
Parses all the arguments from a command line.
|
Modifier and Type | Method and Description |
---|---|
FastaParameters |
getFastaParameters()
Returns the FASTA parameters as parsed from the command line.
|
static boolean |
isValidStartup(org.apache.commons.cli.CommandLine aLine)
Verifies the command line start parameters.
|
public FastaParametersInputBean(org.apache.commons.cli.CommandLine aLine, File fastaFile, WaitingHandler waitingHandler) throws IOException
aLine
- the command linefastaFile
- the FASTA file to infer the parameters from if not
provided in the command line argumentswaitingHandler
- the waiting handlerIOException
- if an error occurs while reading or writing a file.public static boolean isValidStartup(org.apache.commons.cli.CommandLine aLine)
aLine
- the command line to validatepublic FastaParameters getFastaParameters()
Copyright © 2021. All rights reserved.