|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.sound.sampled.AudioFileFormat.Type marf.Storage.MARFAudioFileFormat.Type
public static class MARFAudioFileFormat.Type
In addition to the types defined in AudioFileFormat.Type
defines MP3, MIDI, and ULAW formats and their extensions.
AudioFileFormat.Type
Field Summary | |
---|---|
static MARFAudioFileFormat.Type |
AIFC
Specifies an AIFF-C file. |
static MARFAudioFileFormat.Type |
AIFF
Specifies an AIFF file. |
static MARFAudioFileFormat.Type |
AU
Specifies an AU file. |
static MARFAudioFileFormat.Type |
CUSTOM
Specifies custom plug-in file. |
static MARFAudioFileFormat.Type |
MIDI
Specifies MIDI file. |
static MARFAudioFileFormat.Type |
MP3
Specifies MP3 file. |
static MARFAudioFileFormat.Type |
SINE
Specifies SINE file. |
static MARFAudioFileFormat.Type |
SND
Specifies a SND file. |
static MARFAudioFileFormat.Type |
TEXT
Specifies text file. |
static MARFAudioFileFormat.Type |
ULAW
Specifies ULAW file. |
static MARFAudioFileFormat.Type |
WAVE
Specifies a WAVE file. |
Constructor Summary | |
---|---|
MARFAudioFileFormat.Type(java.lang.String pstrName,
java.lang.String pstrExtension)
Mimics parent's constructor. |
Method Summary | |
---|---|
static MARFAudioFileFormat.Type |
forFormatCode(int piFormat)
Given valid format code returns the corresponding Type instance. |
Methods inherited from class javax.sound.sampled.AudioFileFormat.Type |
---|
equals, getExtension, hashCode, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final MARFAudioFileFormat.Type WAVE
public static final MARFAudioFileFormat.Type AU
public static final MARFAudioFileFormat.Type AIFF
public static final MARFAudioFileFormat.Type AIFC
public static final MARFAudioFileFormat.Type SND
public static final MARFAudioFileFormat.Type MP3
public static final MARFAudioFileFormat.Type SINE
public static final MARFAudioFileFormat.Type MIDI
public static final MARFAudioFileFormat.Type ULAW
public static final MARFAudioFileFormat.Type CUSTOM
public static final MARFAudioFileFormat.Type TEXT
Constructor Detail |
---|
public MARFAudioFileFormat.Type(java.lang.String pstrName, java.lang.String pstrExtension)
pstrName
- format namepstrExtension
- typical file extensionMethod Detail |
---|
public static final MARFAudioFileFormat.Type forFormatCode(int piFormat) throws InvalidSampleFormatException
piFormat
- the desired format code
InvalidSampleFormatException
- if the format code is out of rangeMARFAudioFileFormat.LOWEST_FORMAT
,
MARFAudioFileFormat.HIGHEST_FORMAT
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |