public class MidiFileFormat
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
UNKNOWN_LENGTH |
Constructor and Description |
---|
MidiFileFormat(int nType,
float fDivisionType,
int nResolution,
int nByteLength,
long lMicrosecondLength) |
MidiFileFormat(int nType,
float fDivisionType,
int nResolution,
int nByteLength,
long lMicrosecondLength,
java.util.Map<java.lang.String,java.lang.Object> properties) |
Modifier and Type | Method and Description |
---|---|
int |
getByteLength() |
float |
getDivisionType() |
long |
getMicrosecondLength() |
java.lang.Object |
getProperty(java.lang.String key) |
int |
getResolution() |
int |
getType() |
java.util.Map<java.lang.String,java.lang.Object> |
properties() |
public static final int UNKNOWN_LENGTH
public MidiFileFormat(int nType, float fDivisionType, int nResolution, int nByteLength, long lMicrosecondLength)
public MidiFileFormat(int nType, float fDivisionType, int nResolution, int nByteLength, long lMicrosecondLength, java.util.Map<java.lang.String,java.lang.Object> properties)
public int getType()
public float getDivisionType()
public int getResolution()
public int getByteLength()
public long getMicrosecondLength()
public java.util.Map<java.lang.String,java.lang.Object> properties()
public java.lang.Object getProperty(java.lang.String key)