< prev index next >

src/java.desktop/share/classes/javax/sound/sampled/spi/AudioFileReader.java

Print this page

        

@@ -1,7 +1,7 @@
 /*
- * Copyright (c) 1999, 2017, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2020, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
  * under the terms of the GNU General Public License version 2 only, as
  * published by the Free Software Foundation.  Oracle designates this

@@ -43,10 +43,15 @@
  * @since 1.3
  */
 public abstract class AudioFileReader {
 
     /**
+     * Constructs an {@code AudioFileReader}.
+     */
+    protected AudioFileReader() {}
+
+    /**
      * Obtains the audio file format of the input stream provided. The stream
      * must point to valid audio file data. In general, audio file readers may
      * need to read some data from the stream before determining whether they
      * support it. These parsers must be able to mark the stream, read enough
      * data to determine whether they support the stream, and reset the stream's
< prev index next >