| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public abstract AudioFileFormat. | Returns: array of file types. If no file types are supported, an array of length 0 is returned.Obtains the file types for which file writing support is provided by this audio file writer. |
| public abstract AudioFileFormat. | Returns: array of file types. If no file types are supported, an array of length 0 is returned.the audio input stream for which audio file type support
is queried stream)Obtains the file types that this audio file writer can write from the audio input stream specified. |
| public boolean | Returns: true if the file type is supported, otherwise
falsethe file type for which write capabilities are queried fileTypeIndicates whether file writing support for the specified file type is provided by this audio file writer. |
| public boolean | Returns: true if the file type is supported for this audio input
stream, otherwise falsefile type for which write capabilities are queried fileType,for which file writing support is queried stream)Indicates whether an audio file of the type specified can be written from the audio input stream indicated. |
| public abstract int | Returns: the number of bytes written to the output streamthe audio input stream containing audio data to be written
to the output stream stream, AudioFileFormat.file type to be written to the output stream fileType,stream to which the file data should be written out)Writes a stream of bytes representing an audio file of the file type indicated to the output stream provided. |
| public abstract int | Returns: the number of bytes written to the filethe audio input stream containing audio data to be written
to the file stream, AudioFileFormat.file type to be written to the file fileType,external file to which the file data should be written out)Writes a stream of bytes representing an audio file of the file format indicated to the external file provided. |
| AudioFileWriter | back to summary |
|---|---|
| protected AudioFileWriter() Constructor for subclasses to call. | |
| getAudioFileTypes | back to summary |
|---|---|
| public abstract AudioFileFormat. Obtains the file types for which file writing support is provided by this audio file writer.
| |
| getAudioFileTypes | back to summary |
|---|---|
| public abstract AudioFileFormat. Obtains the file types that this audio file writer can write from the audio input stream specified.
| |
| isFileTypeSupported | back to summary |
|---|---|
| public boolean isFileTypeSupported(final AudioFileFormat. Indicates whether file writing support for the specified file type is provided by this audio file writer.
| |
| isFileTypeSupported | back to summary |
|---|---|
| public boolean isFileTypeSupported(final AudioFileFormat. Indicates whether an audio file of the type specified can be written from the audio input stream indicated.
| |
| write | back to summary |
|---|---|
| public abstract int write(AudioInputStream stream, AudioFileFormat. 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 abstract int write(AudioInputStream stream, AudioFileFormat. Writes a stream of bytes representing an audio file of the file format indicated to the external file provided.
| |