|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.io.OutputStream
com.groovemanager.sampled.providers.AudioFileOutputStream
An AudioFileOutputStream is an OutputStream for writing a soecific type of audio file.
| Field Summary | |
|---|---|
protected javax.sound.sampled.AudioFormat |
format
The AudioFormat in which to write the file |
protected java.io.File |
outputFile
The file to write to |
protected java.util.Map |
properties
Map of additional properties to write into the file, if supported |
protected javax.sound.sampled.AudioFileFormat.Type |
type
The audio file type to write |
| Constructor Summary | |
|---|---|
AudioFileOutputStream(java.io.File f,
javax.sound.sampled.AudioFormat format,
javax.sound.sampled.AudioFileFormat.Type t,
java.util.Map properties)
Construct a new AudioFileOutputStream |
|
| Method Summary | |
|---|---|
javax.sound.sampled.AudioFormat |
getFormat()
Get the AudioFormat of this AudioFileOutputStream |
java.io.File |
getOutputFile()
Get the file into which this stream writes |
javax.sound.sampled.AudioFileFormat.Type |
getType()
Get the audio file type of this stream |
| Methods inherited from class java.io.OutputStream |
|---|
close, flush, write, write, write |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final javax.sound.sampled.AudioFormat format
protected final java.io.File outputFile
protected final java.util.Map properties
protected final javax.sound.sampled.AudioFileFormat.Type type
| Constructor Detail |
|---|
public AudioFileOutputStream(java.io.File f,
javax.sound.sampled.AudioFormat format,
javax.sound.sampled.AudioFileFormat.Type t,
java.util.Map properties)
f - The file to write toformat - The format in which the audio data should be written into
the filet - The audio file type to writeproperties - Map of additional properties to write into the file,
if supported| Method Detail |
|---|
public javax.sound.sampled.AudioFormat getFormat()
public java.io.File getOutputFile()
public javax.sound.sampled.AudioFileFormat.Type getType()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||