src/share/classes/javax/sound/sampled/spi/AudioFileWriter.java

Print this page

        

@@ -28,10 +28,11 @@
 import java.io.File;
 import java.io.IOException;
 import java.io.OutputStream;
 
 import javax.sound.sampled.AudioInputStream;
+import javax.sound.sampled.AudioSystem;
 
 import static javax.sound.sampled.AudioFileFormat.Type;
 
 /**
  * Provider for audio file writing services. Classes providing concrete

@@ -108,12 +109,11 @@
      * Writes a stream of bytes representing an audio file of the file type
      * indicated to the output stream provided. Some file types require that
      * the length be written into the file header, and cannot be written from
      * start to finish unless the length is known in advance. An attempt to
      * write such a file type will fail with an IOException if the length in the
-     * audio file format is {@link javax.sound.sampled.AudioSystem#NOT_SPECIFIED
-     * AudioSystem.NOT_SPECIFIED}.
+     * audio file format is {@link AudioSystem#NOT_SPECIFIED}.
      *
      * @param  stream the audio input stream containing audio data to be written
      *         to the output stream
      * @param  fileType file type to be written to the output stream
      * @param  out stream to which the file data should be written