|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.sound.midi.MidiMessage
public abstract class MidiMessage
Base class for MIDI messages.
Method Summary | |
---|---|
abstract java.lang.Object |
clone()
Create a copy of this MIDI message. |
int |
getLength()
Returns the length of the whole message in bytes. |
byte[] |
getMessage()
Return the complete message. |
int |
getStatus()
Returns the status byte of the message. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public byte[] getMessage()
data
and returns a
reference to the copy.
The returned array contains only the bytes that form the MIDI
message, even if data
contains additional invalid
bytes. This requirement also means that the length of the
returned array is equal to length
and equal
to the value returned by getLength()
.
public int getStatus()
data
,
which is always the status byte.
public int getLength()
length
.
The value returned by this method
is always equal to the length of the array returned by
getMessage()
.
length
,
getMessage()
public abstract java.lang.Object clone()
clone
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |