|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.groovemanager.sampled.providers.AudioFileOutputStreamProvider
com.groovemanager.sampled.providers.WavOutputStreamProvider
This AudioFileOutputStreamProvider implementation provides wave file writing services.
| Field Summary | |
|---|---|
private static javax.sound.sampled.AudioFormat[] |
FORMATS
Supported formats |
private static java.lang.String[] |
PROPERTIES
Supported properties |
private static javax.sound.sampled.AudioFileFormat.Type[] |
TYPES
Supported types |
| Constructor Summary | |
|---|---|
WavOutputStreamProvider()
|
|
| Method Summary | |
|---|---|
protected static javax.sound.sampled.AudioFormat[] |
createFormats()
Create the supported AudioFormats |
AudioFileOutputStream |
getAudioFileOutputStream(java.io.File f,
javax.sound.sampled.AudioFileFormat.Type type,
javax.sound.sampled.AudioFormat format,
java.util.Map properties)
Provide an AudioFileOutputStream |
javax.sound.sampled.AudioFormat[] |
getSupportedFormats()
Get the audio formats supported by this provider |
java.lang.String[] |
getSupportedProperties()
Get the property keys supported by this provider |
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 |
| Methods inherited from class com.groovemanager.sampled.providers.AudioFileOutputStreamProvider |
|---|
isPropertySupported, isTypeSupported |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private static final javax.sound.sampled.AudioFormat[] FORMATS
private static final java.lang.String[] PROPERTIES
private static final javax.sound.sampled.AudioFileFormat.Type[] TYPES
| Constructor Detail |
|---|
public WavOutputStreamProvider()
| Method Detail |
|---|
protected static javax.sound.sampled.AudioFormat[] createFormats()
public 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
AudioFileOutputStreamProvider
getAudioFileOutputStream in class AudioFileOutputStreamProviderf - 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
java.io.IOException - If an I/O Error occured during creation of the
OutputStream
javax.sound.sampled.UnsupportedAudioFileException - If the audio file type is not
supportedAudioFileOutputStreamProvider.getAudioFileOutputStream(java.io.File, javax.sound.sampled.AudioFileFormat.Type, javax.sound.sampled.AudioFormat, java.util.Map)public javax.sound.sampled.AudioFormat[] getSupportedFormats()
AudioFileOutputStreamProvider
getSupportedFormats in class AudioFileOutputStreamProviderAudioFileOutputStreamProvider.getSupportedFormats()public java.lang.String[] getSupportedProperties()
AudioFileOutputStreamProvider
getSupportedProperties in class AudioFileOutputStreamProviderAudioFileOutputStreamProvider.getSupportedProperties()public javax.sound.sampled.AudioFileFormat.Type[] getSupportedTypes()
AudioFileOutputStreamProvider
getSupportedTypes in class AudioFileOutputStreamProviderAudioFileOutputStreamProvider.getSupportedTypes()public boolean isFormatSupported(javax.sound.sampled.AudioFormat format)
AudioFileOutputStreamProvider
isFormatSupported in class AudioFileOutputStreamProviderformat - The AudioFormat to ask for
AudioFileOutputStreamProvider.isFormatSupported(javax.sound.sampled.AudioFormat)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||