| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| public AudioFileFormat. | getAudioFileTypes()
Implements abstract javax. Obtains the file types for which file writing support is provided by this audio file writer. |
| public AudioFileFormat. | getAudioFileTypes(AudioInputStream stream)
Implements abstract javax. Obtains the file types that this audio file writer can write from the audio input stream specified. |
| private AudioInputStream | |
| public void | |
| public int | write(AudioInputStream stream, AudioFileFormat.
Implements abstract javax. Writes a stream of bytes representing an audio file of the file type indicated to the output stream provided. |
| public int | write(AudioInputStream stream, AudioFileFormat.
Implements abstract javax. Writes a stream of bytes representing an audio file of the file format indicated to the external file provided. |
| WaveFloatFileWriter | back to summary |
|---|---|
| public WaveFloatFileWriter() | |
| checkFormat | back to summary |
|---|---|
| private void checkFormat(AudioFileFormat. | |
| getAudioFileTypes | back to summary |
|---|---|
| public AudioFileFormat. Implements abstract javax. Doc from javax. Obtains the file types for which file writing support is provided by this audio file writer.
| |
| getAudioFileTypes | back to summary |
|---|---|
| public AudioFileFormat. Implements abstract javax. Doc from javax. Obtains the file types that this audio file writer can write from the audio input stream specified.
| |
| toLittleEndian | back to summary |
|---|---|
| private AudioInputStream toLittleEndian(AudioInputStream ais) | |
| write | back to summary |
|---|---|
| public void write(AudioInputStream stream, RIFFWriter writer) throws IOException | |
| write | back to summary |
|---|---|
| public int write(AudioInputStream stream, AudioFileFormat. Implements abstract javax. Doc from javax. Writes a stream of bytes representing an audio file of the file type
indicated to the output stream provided. Some file types require that the
length be written into the file header, and cannot be written from start
to finish unless the length is known in advance. An attempt to write such
a file type will fail with an
| |
| write | back to summary |
|---|---|
| public int write(AudioInputStream stream, AudioFileFormat. Implements abstract javax. Doc from javax. Writes a stream of bytes representing an audio file of the file format indicated to the external file provided.
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final OutputStream |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | flush()
Overrides java. Implements java. Flushes this output stream and forces any buffered output bytes to be written out. |
| public void | write(int b)
Implements abstract java. Writes the specified byte to this output stream. |
| public void | write(byte[] b, int off, int len)
Overrides java. Writes |
| public void | write(byte[] b)
Overrides java. Writes |
| out | back to summary |
|---|---|
| pack-priv final OutputStream out | |
| NoCloseOutputStream | back to summary |
|---|---|
| pack-priv NoCloseOutputStream(OutputStream out) | |
| flush | back to summary |
|---|---|
| public void flush() throws IOException Overrides java. Implements java. Doc from java. Flushes this output stream and forces any buffered output bytes
to be written out. The general contract of If the intended destination of this stream is an abstraction provided by the underlying operating system, for example a file, then flushing the stream guarantees only that bytes previously written to the stream are passed to the operating system for writing; it does not guarantee that they are actually written to a physical device such as a disk drive.
| |
| write | back to summary |
|---|---|
| public void write(int b) throws IOException Implements abstract java. Doc from java. Writes the specified byte to this output stream. The general
contract for
| |
| write | back to summary |
|---|---|
| public void write(byte[] b, int off, int len) throws IOException Overrides java. Doc from java. Writes
If
If
| |
| write | back to summary |
|---|---|
| public void write(byte[] b) throws IOException Overrides java. Doc from java. Writes
| |