|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.groovemanager.sampled.providers.AudioFileOutputStreamProvider
An AudioFileOutputStreamProvider is something similar to the AudioFileWriter SPI. An AudioFileWriter can provide AudioFileOutputStreams.
| Constructor Summary | |
|---|---|
AudioFileOutputStreamProvider()
|
|
| Method Summary | |
|---|---|
abstract AudioFileOutputStream |
getAudioFileOutputStream(java.io.File f,
javax.sound.sampled.AudioFileFormat.Type type,
javax.sound.sampled.AudioFormat format,
java.util.Map properties)
Provide an AudioFileOutputStream |
abstract javax.sound.sampled.AudioFormat[] |
getSupportedFormats()
Get the audio formats supported by this provider |
abstract java.lang.String[] |
getSupportedProperties()
Get the property keys supported by this provider |
abstract javax.sound.sampled.AudioFileFormat.Type[] |
getSupportedTypes()
Get the audio file types supported by this provider |
boolean |
isFormatSupported(javax.sound.sampled.AudioFormat format)
Ask this provider, if the given AudioFormat is supported or not |
boolean |
isPropertySupported(java.lang.String property)
Ask this provider, if it supports the property specified by the given kay. |
boolean |
isTypeSupported(javax.sound.sampled.AudioFileFormat.Type type)
Ask this provider, if it supports the specified audio file type |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AudioFileOutputStreamProvider()
| Method Detail |
|---|
public abstract AudioFileOutputStream getAudioFileOutputStream(java.io.File f,
javax.sound.sampled.AudioFileFormat.Type type,
javax.sound.sampled.AudioFormat format,
java.util.Map properties)
throws javax.sound.sampled.UnsupportedAudioFileException,
java.io.IOException
f - The file to write totype - The audio file type to writeformat - The AudioFormat to writeproperties - Map of properties to write into the file, if supported
javax.sound.sampled.UnsupportedAudioFileException - If the audio file type is not
supported
java.io.IOException - If an I/O Error occured during creation of the
OutputStreampublic abstract javax.sound.sampled.AudioFormat[] getSupportedFormats()
public abstract java.lang.String[] getSupportedProperties()
public abstract javax.sound.sampled.AudioFileFormat.Type[] getSupportedTypes()
public boolean isFormatSupported(javax.sound.sampled.AudioFormat format)
format - The AudioFormat to ask for
public boolean isPropertySupported(java.lang.String property)
property - The property key to ask for
public boolean isTypeSupported(javax.sound.sampled.AudioFileFormat.Type type)
type - The AudioTypeFormat.Type to ask for
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||