Lines Matching refs:UnsupportedAudioFileException

40 import javax.sound.sampled.UnsupportedAudioFileException;
74 * @throws UnsupportedAudioFileException if the stream does not point to valid audio
80 public AudioFileFormat getAudioFileFormat(InputStream stream) throws UnsupportedAudioFileException, IOException {
96 * @throws UnsupportedAudioFileException if the URL does not point to valid audio
100 public AudioFileFormat getAudioFileFormat(URL url) throws UnsupportedAudioFileException, IOException {
118 * @throws UnsupportedAudioFileException if the File does not point to valid audio
122 public AudioFileFormat getAudioFileFormat(File file) throws UnsupportedAudioFileException, IOException {
149 * @throws UnsupportedAudioFileException if the stream does not point to valid audio
155 public AudioInputStream getAudioInputStream(InputStream stream) throws UnsupportedAudioFileException, IOException {
157 AudioFileFormat fileFormat = getFMT(stream, true); // throws UnsupportedAudioFileException, IOException
172 * @throws UnsupportedAudioFileException if the URL does not point to valid audio
176 public AudioInputStream getAudioInputStream(URL url) throws UnsupportedAudioFileException, IOException {
197 * @throws UnsupportedAudioFileException if the File does not point to valid audio
201 public AudioInputStream getAudioInputStream(File file) throws UnsupportedAudioFileException, IOException {
219 private AudioFileFormat getFMT(InputStream stream, boolean doReset) throws UnsupportedAudioFileException, IOException {
253 // not WAVE, throw UnsupportedAudioFileException
257 throw new UnsupportedAudioFileException("not a WAVE file");
279 throw new UnsupportedAudioFileException("Not a valid WAV file");
303 throw new UnsupportedAudioFileException("Not a supported WAV file");
357 throw new UnsupportedAudioFileException("Not a valid WAV file");