Obtains a MIDI sequence from the specified URL. The URL must point to valid MIDI file data for a file type recognized by the system.
This operation can only succeed for files of a type which can be parsed
by an installed file reader. It may fail with an InvalidMidiDataException
even for valid files if no compatible file reader is installed. It
will also fail with an InvalidMidiDataException if a compatible file reader
is installed, but encounters errors while constructing the Sequence
object from the file data.
url | the URL from which the Sequence should be
constructed |
Sequence object based on the MIDI file data
pointed to by the URL
InvalidMidiDataException | if the URL does not point to valid MIDI file data recognized by the system | |
IOException | if an I/O exception occurs while accessing the URL |
Diagram: System, Format