public class CLICopyStoreToStore extends AbstractLauncher
The mm-copy-store-to-store command is used to copy media file information from one store to another.
It has the following usage:
usage: mm-manager [-c
Modifier and Type | Method and Description |
---|---|
protected java.lang.Integer |
getFilmPart(java.io.File file,
IFilm film) |
protected java.lang.String |
getPrintArguments() |
static void |
main(java.lang.String[] args)
The entry point to the application.
|
protected void |
printUsage(org.apache.commons.cli.Options options,
java.io.PrintStream stdout,
java.io.PrintStream stderr) |
protected boolean |
processOptions(java.lang.String[] args,
org.apache.commons.cli.CommandLine cmd)
Used to check the CLI options are valid
|
protected boolean |
run()
This does the actual work of the tool.
|
getController, parseLongOption, processOptionsInternal, setConfig
addOption, checkSubCommand, displayHelp, doExit, fatal, fatal, getName, getOptions, getStderr, getStdout, handleBadSubCommandOption, info, init, launch, printOptions, shouldDisplayHelp, warn
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getName
public static void main(java.lang.String[] args)
args
- The arguments.protected boolean run()
run
in class BaseLauncher
protected java.lang.Integer getFilmPart(java.io.File file, IFilm film)
protected boolean processOptions(java.lang.String[] args, org.apache.commons.cli.CommandLine cmd)
processOptions
in class AbstractLauncher
cmd
- The CLI optionsprotected void printUsage(org.apache.commons.cli.Options options, java.io.PrintStream stdout, java.io.PrintStream stderr)
printUsage
in class BaseLauncher
protected java.lang.String getPrintArguments()