public class ModificationsCLIInputBean extends Object
Constructor and Description |
---|
ModificationsCLIInputBean(org.apache.commons.cli.CommandLine aLine)
Parses all the arguments from a command line.
|
Modifier and Type | Method and Description |
---|---|
File |
getFileIn()
Returns the file provided as input.
|
File |
getFileOut()
Returns the file provided as output.
|
PTM |
getModificationToAdd()
Returns the modification to add.
|
String |
getModificationToRemove()
Returns the name of the modification to remove.
|
boolean |
isList()
Returns a boolean indicating whether the list of implemented enzymes
should be printed.
|
static boolean |
isValidStartup(org.apache.commons.cli.CommandLine aLine)
Verifies the command line start parameters.
|
public ModificationsCLIInputBean(org.apache.commons.cli.CommandLine aLine) throws IOException
aLine
- the command lineIOException
- 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 File getFileIn()
public File getFileOut()
public boolean isList()
public String getModificationToRemove()
public PTM getModificationToAdd()
Copyright © 2019. All rights reserved.