1 7 8 package javax.sound.midi.spi; 9 10 import java.io.InputStream ; 11 import java.io.IOException ; 12 import java.io.File ; 13 14 import java.net.URL ; 15 16 import javax.sound.midi.Soundbank ; 17 import javax.sound.midi.InvalidMidiDataException ; 18 19 20 30 public abstract class SoundbankReader { 31 32 33 41 public abstract Soundbank getSoundbank(URL url) throws InvalidMidiDataException , IOException ; 42 43 44 52 public abstract Soundbank getSoundbank(InputStream stream) throws InvalidMidiDataException , IOException ; 53 54 55 63 public abstract Soundbank getSoundbank(File file) throws InvalidMidiDataException , IOException ; 64 65 66 67 } 68 | Popular Tags |