public interface IParser
This interface can be implemented by parser classes which can parse an input file.
It’s implemented by the following classes:
SoundfontParser
– loads a soundfont file (.sf2)SequenceParser
– 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.io.File file)
Parses an input file.
|
void parse(java.io.File file) throws ParseException
Parses an input file.
file
- Input file written in a format that the derived parser class can parse.ParseException
- If the file can not be parsed correctly.