public interface IParser
This interface can be implemented by parser classes which can parse an input file.
It’s implemented by the following classes:
SoundbankParser
– loads a soundbank file (.sf2 / .dls) or URLSequenceParser
– parses a MIDI stream using one of the following sub classes:
MidiParser
– parses the stream from a MIDI file (.mid)MidicaPLParser
– parses the stream from a MidicaPL file (.midica)Modifier and Type | Method and Description |
---|---|
void |
parse(java.lang.Object fileOrUrl)
Parses an input file.
|
void parse(java.lang.Object fileOrUrl) throws ParseException
Parses an input file.
fileOrUrl
- Input file or URL (as string) written in a format that the derived parser class can parse.ParseException
- If the file or URL can not be parsed correctly.