com.github.dakusui.symfonion
Class CLI
java.lang.Object
com.github.dakusui.symfonion.CLI
public class CLI
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CLI
public CLI(String... args)
throws org.apache.commons.cli.ParseException,
CLIException
- Throws:
org.apache.commons.cli.ParseException
CLIException
prepareMidiOutDevices
protected Map<String,MidiDevice> prepareMidiOutDevices(PrintStream ps)
throws CLIException
- Throws:
CLIException
prepareMidiInDevices
protected Map<String,MidiDevice> prepareMidiInDevices(PrintStream ps)
throws CLIException
- Throws:
CLIException
composeOutputFile
protected File composeOutputFile(String outfile,
String portName)
getOptions
protected org.apache.commons.cli.Options getOptions()
getSymfonion
public Symfonion getSymfonion()
init
public void init(String... args)
throws org.apache.commons.cli.ParseException,
CLIException
- Throws:
org.apache.commons.cli.ParseException
CLIException
createSymfonion
protected Symfonion createSymfonion()
analyze
public void analyze(org.apache.commons.cli.CommandLine cmd)
throws CLIException
- Throws:
CLIException
getMode
public com.github.dakusui.symfonion.CLI.Mode getMode()
getSourceFile
public File getSourceFile()
getSinkFile
public File getSinkFile()
getMidiInDefinitions
public Map<String,Pattern> getMidiInDefinitions()
getMidiOutDefinitions
public Map<String,Pattern> getMidiOutDefinitions()
getRoute
public com.github.dakusui.symfonion.CLI.Route getRoute()
main
public static void main(String[] args)
throws org.apache.commons.cli.ParseException,
CLIException
- Throws:
org.apache.commons.cli.ParseException
CLIException
Copyright © 2013. All Rights Reserved.