< prev index next >
src/java.desktop/share/classes/javax/sound/sampled/spi/AudioFileReader.java
Print this page
@@ -66,31 +66,31 @@
*/
public abstract AudioFileFormat getAudioFileFormat(InputStream stream)
throws UnsupportedAudioFileException, IOException;
/**
- * Obtains the audio file format of the URL provided. The URL must point to
- * valid audio file data.
+ * Obtains the audio file format of the {@code URL} provided. The
+ * {@code URL} must point to valid audio file data.
*
- * @param url the URL from which file format information should be
+ * @param url the {@code URL} from which file format information should be
* extracted
* @return an {@code AudioFileFormat} object describing the audio file
* format
- * @throws UnsupportedAudioFileException if the URL does not point to valid
- * audio file data recognized by the system
+ * @throws UnsupportedAudioFileException if the {@code URL} does not point
+ * to valid audio file data recognized by the system
* @throws IOException if an I/O exception occurs
* @throws NullPointerException if {@code url} is {@code null}
*/
public abstract AudioFileFormat getAudioFileFormat(URL url)
throws UnsupportedAudioFileException, IOException;
/**
- * Obtains the audio file format of the {@code File} provided.
- * The {@code File} must point to valid audio file data.
+ * Obtains the audio file format of the {@code File} provided. The
+ * {@code File} must point to valid audio file data.
*
- * @param file the {@code File} from which file format information
- * should be extracted
+ * @param file the {@code File} from which file format information should
+ * be extracted
* @return an {@code AudioFileFormat} object describing the audio file
* format
* @throws UnsupportedAudioFileException if the {@code File} does not point
* to valid audio file data recognized by the system
* @throws IOException if an I/O exception occurs
@@ -121,28 +121,28 @@
*/
public abstract AudioInputStream getAudioInputStream(InputStream stream)
throws UnsupportedAudioFileException, IOException;
/**
- * Obtains an audio input stream from the URL provided. The URL must point
- * to valid audio file data.
+ * Obtains an audio input stream from the {@code URL} provided. The
+ * {@code URL} must point to valid audio file data.
*
- * @param url the URL for which the {@code AudioInputStream} should be
- * constructed
+ * @param url the {@code URL} for which the {@code AudioInputStream} should
+ * be constructed
* @return an {@code AudioInputStream} object based on the audio file data
- * pointed to by the URL
- * @throws UnsupportedAudioFileException if the URL does not point to valid
- * audio file data recognized by the system
+ * pointed to by the {@code URL}
+ * @throws UnsupportedAudioFileException if the {@code URL} does not point
+ * to valid audio file data recognized by the system
* @throws IOException if an I/O exception occurs
* @throws NullPointerException if {@code url} is {@code null}
*/
public abstract AudioInputStream getAudioInputStream(URL url)
throws UnsupportedAudioFileException, IOException;
/**
- * Obtains an audio input stream from the {@code File} provided.
- * The {@code File} must point to valid audio file data.
+ * Obtains an audio input stream from the {@code File} provided. The
+ * {@code File} must point to valid audio file data.
*
* @param file the {@code File} for which the {@code AudioInputStream}
* should be constructed
* @return an {@code AudioInputStream} object based on the audio file data
* pointed to by the File
< prev index next >