diff options
author | Tom Tromey <tromey@redhat.com> | 2006-03-16 16:01:21 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2006-03-16 16:01:21 +0000 |
commit | 0f9930a1db9d784a02905123a91472f04e754374 (patch) | |
tree | 2c7b5df5d49eb94a1ff0ebba8751843f5e6c7f05 /javax | |
parent | 0b96d166cc9de4f449d9b7949efcbdab2f4d572c (diff) | |
download | classpath-0f9930a1db9d784a02905123a91472f04e754374.tar.gz |
* javax/sound/sampled/AudioSystem.java (getAudioFileFormat): New
constructor.
* javax/sound/sampled/FloatControl.java: Now abstract.
* javax/sound/sampled/EnumControl.java: Now abstract.
* javax/sound/sampled/CompoundControl.java: Now abstract.
* javax/sound/sampled/BooleanControl.java: Now abstract.
Diffstat (limited to 'javax')
-rw-r--r-- | javax/sound/sampled/AudioSystem.java | 5 | ||||
-rw-r--r-- | javax/sound/sampled/BooleanControl.java | 2 | ||||
-rw-r--r-- | javax/sound/sampled/CompoundControl.java | 2 | ||||
-rw-r--r-- | javax/sound/sampled/EnumControl.java | 2 | ||||
-rw-r--r-- | javax/sound/sampled/FloatControl.java | 2 |
5 files changed, 9 insertions, 4 deletions
diff --git a/javax/sound/sampled/AudioSystem.java b/javax/sound/sampled/AudioSystem.java index 0b0b754b5..2f64f92c5 100644 --- a/javax/sound/sampled/AudioSystem.java +++ b/javax/sound/sampled/AudioSystem.java @@ -68,6 +68,11 @@ public class AudioSystem */ public static final int NOT_SPECIFIED = -1; + // This class is not instantiable. + private AudioSystem() + { + } + /** * Return the file format of a given File. * @param f the file to check diff --git a/javax/sound/sampled/BooleanControl.java b/javax/sound/sampled/BooleanControl.java index aae1e23a2..147a7f8b0 100644 --- a/javax/sound/sampled/BooleanControl.java +++ b/javax/sound/sampled/BooleanControl.java @@ -42,7 +42,7 @@ package javax.sound.sampled; * A BooleanControl is a Control which has two states. * @since 1.3 */ -public class BooleanControl extends Control +public abstract class BooleanControl extends Control { /** * A Type specialized to represent a boolean control. diff --git a/javax/sound/sampled/CompoundControl.java b/javax/sound/sampled/CompoundControl.java index 8664abca8..057bdfd72 100644 --- a/javax/sound/sampled/CompoundControl.java +++ b/javax/sound/sampled/CompoundControl.java @@ -42,7 +42,7 @@ package javax.sound.sampled; * A compound control provides control over several other controls. * @since 1.3 */ -public class CompoundControl extends Control +public abstract class CompoundControl extends Control { /** * This describes a single compound control. diff --git a/javax/sound/sampled/EnumControl.java b/javax/sound/sampled/EnumControl.java index 798f3a91c..1ddc8a9a8 100644 --- a/javax/sound/sampled/EnumControl.java +++ b/javax/sound/sampled/EnumControl.java @@ -43,7 +43,7 @@ package javax.sound.sampled; * values. * @since 1.3 */ -public class EnumControl extends Control +public abstract class EnumControl extends Control { /** * This Type describes an EnumControl. diff --git a/javax/sound/sampled/FloatControl.java b/javax/sound/sampled/FloatControl.java index 409c90de2..bbdb24bab 100644 --- a/javax/sound/sampled/FloatControl.java +++ b/javax/sound/sampled/FloatControl.java @@ -39,7 +39,7 @@ exception statement from your version. */ package javax.sound.sampled; /** @since 1.3 */ -public class FloatControl extends Control +public abstract class FloatControl extends Control { /** * An instance of this class describes a particular floating point control. |