FileDocCategorySizeDatePackage
AudioFileWriter.javaAPI DocAndroid 1.5 API2164Wed May 06 22:41:02 BST 2009javax.sound.sampled.spi

AudioFileWriter

public abstract class AudioFileWriter extends Object

Fields Summary
Constructors Summary
Methods Summary
public abstract javax.sound.sampled.AudioFileFormat.Type[]getAudioFileTypes()

public abstract javax.sound.sampled.AudioFileFormat.Type[]getAudioFileTypes(javax.sound.sampled.AudioInputStream stream)

public booleanisFileTypeSupported(javax.sound.sampled.AudioFileFormat.Type fileType)

        AudioFileFormat.Type[] supported = getAudioFileTypes();
        for (Type element : supported) {
            if (fileType.equals(element)) {
                return true;
            }
        }
        return false;
    
public booleanisFileTypeSupported(javax.sound.sampled.AudioFileFormat.Type fileType, javax.sound.sampled.AudioInputStream stream)

        AudioFileFormat.Type[] supported = getAudioFileTypes(stream);
        for (Type element : supported) {
            if (fileType.equals(element)) {
                return true;
            }
        }
        return false;
    
public abstract intwrite(javax.sound.sampled.AudioInputStream stream, javax.sound.sampled.AudioFileFormat.Type fileType, java.io.File out)

public abstract intwrite(javax.sound.sampled.AudioInputStream stream, javax.sound.sampled.AudioFileFormat.Type fileType, java.io.OutputStream out)