|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.palserv.XMidi.Util
public class Util
internal utilities
NOT FOR EXTERNAL USE
I have made it public because it contains some methods which should be included in the javadoc.
Constructor Summary | |
---|---|
Util()
|
Method Summary | |
---|---|
static CmdLineArgs |
getCmdLine(java.lang.String[] args)
This routine parses "command line" arguments and returns a structure (class) containing the needed data. |
static java.lang.Object |
getInstanceFromName(java.lang.String name)
Get an instance of an object from its name. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Util()
Method Detail |
---|
public static java.lang.Object getInstanceFromName(java.lang.String name)
public static CmdLineArgs getCmdLine(java.lang.String[] args)
There are two kinds of arguments, options and non-options. Options begin with a hyphen and non-options don't. Options and non-options may be mixed together and options may be in any order. The first non-option is the input fileid. It is required, and should have a file extension of xmi (for XM) or mid (for MX). The second (and hopefully last) non-option is the (optional) output fileid. If it is not coded, we will use the input fileid, changing the file extension to mid (for XM) or xmi (for MX).
options:
If coded, then include "verbose" attributes. This includes NAME and REGISTER on the NOTE_OFF, NOTE_ON, and AFTER tags, and the NAME on the CONTROL tag.
args
- - command line arguments (as in main)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |