public class FileCommandOption extends CommandOption
| Constructor and Description |
|---|
FileCommandOption(String longKey)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
process(String optionKey,
Object jsonObject,
File tmpDir,
List<String> command)
Processes a file command line option.
|
getLongKey, getValue, setValuepublic FileCommandOption(String longKey)
longKey - A String with the long key of the file command line option.public static void process(String optionKey, Object jsonObject, File tmpDir, List<String> command) throws IOException
optionKey - A String with the key of the option.jsonObject - An object with the JSON object that represents the value of the command line
option.tmpDir - A File with the temporary directory where to create files referenced by this
command line option.command - A ListIOException - if there are problems processing this command line.Copyright © 2000–2023 LOCKSS Program. All rights reserved.