1 7 8 package javax.sound.sampled.spi; 9 10 import java.io.File ; 11 import java.io.InputStream ; 12 import java.io.IOException ; 13 import java.net.URL ; 14 15 import javax.sound.sampled.AudioFileFormat ; 16 import javax.sound.sampled.AudioInputStream ; 17 import javax.sound.sampled.UnsupportedAudioFileException ; 18 19 28 public abstract class AudioFileReader { 29 30 48 public abstract AudioFileFormat getAudioFileFormat(InputStream stream) throws UnsupportedAudioFileException , IOException ; 49 50 60 public abstract AudioFileFormat getAudioFileFormat(URL url) throws UnsupportedAudioFileException , IOException ; 61 62 72 public abstract AudioFileFormat getAudioFileFormat(File file) throws UnsupportedAudioFileException , IOException ; 73 74 93 public abstract AudioInputStream getAudioInputStream(InputStream stream) throws UnsupportedAudioFileException , IOException ; 94 95 106 public abstract AudioInputStream getAudioInputStream(URL url) throws UnsupportedAudioFileException , IOException ; 107 108 119 public abstract AudioInputStream getAudioInputStream(File file) throws UnsupportedAudioFileException , IOException ; 120 } 121 | Popular Tags |