javax.sound.midi
public class SysexMessage extends MidiMessage
Since: 1.3
| Field Summary | |
|---|---|
| static int | SPECIAL_SYSTEM_EXCLUSIVE |
| static int | SYSTEM_EXCLUSIVE |
| Constructor Summary | |
|---|---|
| SysexMessage()
Create a default valid system exclusive message.
| |
| protected | SysexMessage(byte[] data)
Create a SysexMessage object. |
| Method Summary | |
|---|---|
| Object | clone() |
| byte[] | getData()
Get the data for this message, not including the status byte. |
| void | setMessage(byte[] data, int length)
Set the sysex message. |
| void | setMessage(int status, byte[] data, int length)
Set the sysex message. status must be either 0xF0 or 0xF7.
|
Parameters: data a complete system exclusive message
Returns: the message data, not including the status byte
Parameters: data the message data length the length of the message data
Throws: InvalidMidiDataException if the status byte is not 0xF0 or 0xF7
Parameters: status the sysex statys byte (0xF0 or 0xF7) data the message data length the length of the message data
Throws: InvalidMidiDataException if status is not 0xF0 or 0xF7