|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object marf.Storage.SampleLoaderFactory
public final class SampleLoaderFactory
Provides a factory to instantiate requested SampleLoader module(s).
$Id: SampleLoaderFactory.java,v 1.3 2007/12/23 06:29:46 mokhov Exp $
Method Summary | |
---|---|
static ISampleLoader |
create(int piSampleFormat)
Instantiates a SampleLoader module indicated by the first parameter with the 2nd parameter as an argument. |
static ISampleLoader |
create(java.lang.Integer poSampleFormat)
Instantiates a SampleLoader module indicated by the first parameter with the 2nd parameter as an argument. |
static java.lang.String |
getMARFSourceCodeRevision()
Returns source code revision information. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static final ISampleLoader create(java.lang.Integer poSampleFormat) throws InvalidSampleFormatException
poSampleFormat
- the integer value corresponding to the
desired SampleLoader module
InvalidSampleFormatException
- if the indicated module is
unknown or could not be loaded due sample format mismatchMARF.WAV
,
MARF.MP3
,
MARF.ULAW
,
MARF.SINE
,
MARF.AIFF
,
MARF.AIFFC
,
MARF.AU
,
MARF.SND
,
MARF.MIDI
,
WAVLoader
,
MP3Loader
,
ULAWLoader
,
SineLoader
,
AIFFLoader
,
AIFFCLoader
,
AULoader
,
SNDLoader
,
MIDILoader
public static final ISampleLoader create(int piSampleFormat) throws InvalidSampleFormatException
piSampleFormat
- the integer value corresponding to the
desired SampleLoader module
InvalidSampleFormatException
- if the indicated module is
unknown or could not be loaded due sample format mismatchMARF.WAV
,
MARF.MP3
,
MARF.ULAW
,
MARF.SINE
,
MARF.AIFF
,
MARF.AIFFC
,
MARF.AU
,
MARF.SND
,
MARF.MIDI
,
MARF.CUSTOM
,
WAVLoader
,
MP3Loader
,
ULAWLoader
,
SineLoader
,
AIFFLoader
,
AIFFCLoader
,
AULoader
,
SNDLoader
,
MIDILoader
public static java.lang.String getMARFSourceCodeRevision()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |