com.github.dakusui.symfonion
Class CLI

java.lang.Object
  extended by com.github.dakusui.symfonion.CLI

public class CLI
extends Object


Constructor Summary
CLI(String... args)
           
 
Method Summary
 void analyze(org.apache.commons.cli.CommandLine cmd)
           
protected  File composeOutputFile(String outfile, String portName)
           
protected  Symfonion createSymfonion()
           
 Map<String,Pattern> getMidiInDefinitions()
           
 Map<String,Pattern> getMidiOutDefinitions()
           
 com.github.dakusui.symfonion.CLI.Mode getMode()
           
protected  org.apache.commons.cli.Options getOptions()
           
 com.github.dakusui.symfonion.CLI.Route getRoute()
           
 File getSinkFile()
           
 File getSourceFile()
           
 Symfonion getSymfonion()
           
 void init(String... args)
           
static void main(String[] args)
           
protected  Map<String,MidiDevice> prepareMidiInDevices(PrintStream ps)
           
protected  Map<String,MidiDevice> prepareMidiOutDevices(PrintStream ps)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CLI

public CLI(String... args)
    throws org.apache.commons.cli.ParseException,
           CLIException
Throws:
org.apache.commons.cli.ParseException
CLIException
Method Detail

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.