|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.groovemanager.sampled.providers.AudioFileFormatProvider
com.groovemanager.spi.rex.REXFormatProvider
A REXFormatProvider can read AudioFileFormat out of REX files
| Field Summary | |
|---|---|
(package private) static javax.sound.sampled.AudioFormat[] |
FORMATS
The formats supported by this provider |
(package private) static java.lang.String[] |
PROPERTIES
The property keys supported by this provider |
(package private) static REXFileReader |
reader
The REXFileReader to be used for delegating calls |
private static javax.sound.sampled.AudioFileFormat.Type[] |
TYPES
The types supported by tis provider |
| Constructor Summary | |
|---|---|
REXFormatProvider()
|
|
| Method Summary | |
|---|---|
javax.sound.sampled.AudioFileFormat |
getAudioFileFormat(java.io.File f)
Get the AudioFileFormat out of the given file |
javax.sound.sampled.AudioFormat[] |
getSupportedFormats()
Get the AudioFormats supported by this provider |
java.lang.String[] |
getSupportedProperties()
Get the property keys understood by this provider |
javax.sound.sampled.AudioFileFormat.Type[] |
getSupportedTypes()
Get the AudioFileFormat.Types supported by this provider |
boolean |
isFileSupported(java.io.File f)
Ask this provider, if it is able to get the AudioFileFormat out of this file |
| Methods inherited from class com.groovemanager.sampled.providers.AudioFileFormatProvider |
|---|
isFormatSupported, isPropertySupported, isTypeSupported |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
static final javax.sound.sampled.AudioFormat[] FORMATS
static final java.lang.String[] PROPERTIES
static final REXFileReader reader
private static final javax.sound.sampled.AudioFileFormat.Type[] TYPES
| Constructor Detail |
|---|
public REXFormatProvider()
| Method Detail |
|---|
public javax.sound.sampled.AudioFileFormat getAudioFileFormat(java.io.File f)
throws javax.sound.sampled.UnsupportedAudioFileException,
java.io.IOException
AudioFileFormatProvider
getAudioFileFormat in class AudioFileFormatProviderf - The file to be read
javax.sound.sampled.UnsupportedAudioFileException - If the format of the file is not
known or invalid
java.io.IOException - If an I/O Error occured during readingAudioFileFormatProvider.getAudioFileFormat(java.io.File)public javax.sound.sampled.AudioFormat[] getSupportedFormats()
AudioFileFormatProvider
getSupportedFormats in class AudioFileFormatProviderAudioFileFormatProvider.getSupportedFormats()public java.lang.String[] getSupportedProperties()
AudioFileFormatProvider
getSupportedProperties in class AudioFileFormatProviderAudioFileFormatProvider.getSupportedProperties()public javax.sound.sampled.AudioFileFormat.Type[] getSupportedTypes()
AudioFileFormatProvider
getSupportedTypes in class AudioFileFormatProviderAudioFileFormatProvider.getSupportedTypes()public boolean isFileSupported(java.io.File f)
AudioFileFormatProvider
isFileSupported in class AudioFileFormatProviderf - The file to ask for
AudioFileFormatProvider.isFileSupported(java.io.File)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||