harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mloe...@apache.org
Subject svn commit: r437525 - in /incubator/harmony/enhanced/classlib/trunk/modules/sound/src/main/java/javax/sound/midi/spi: MidiFileReader.java MidiFileWriter.java SoundbankReader.java
Date Mon, 28 Aug 2006 04:28:11 GMT
Author: mloenko
Date: Sun Aug 27 21:28:10 2006
New Revision: 437525

URL: http://svn.apache.org/viewvc?rev=437525&view=rev
Log:
fix japi diff in sound

Modified:
    incubator/harmony/enhanced/classlib/trunk/modules/sound/src/main/java/javax/sound/midi/spi/MidiFileReader.java
    incubator/harmony/enhanced/classlib/trunk/modules/sound/src/main/java/javax/sound/midi/spi/MidiFileWriter.java
    incubator/harmony/enhanced/classlib/trunk/modules/sound/src/main/java/javax/sound/midi/spi/SoundbankReader.java

Modified: incubator/harmony/enhanced/classlib/trunk/modules/sound/src/main/java/javax/sound/midi/spi/MidiFileReader.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/sound/src/main/java/javax/sound/midi/spi/MidiFileReader.java?rev=437525&r1=437524&r2=437525&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/sound/src/main/java/javax/sound/midi/spi/MidiFileReader.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/sound/src/main/java/javax/sound/midi/spi/MidiFileReader.java
Sun Aug 27 21:28:10 2006
@@ -17,23 +17,31 @@
 package javax.sound.midi.spi;
 
 import java.io.File;
+import java.io.IOException;
 import java.io.InputStream;
 import java.net.URL;
 
+import javax.sound.midi.InvalidMidiDataException;
 import javax.sound.midi.MidiFileFormat;
 import javax.sound.midi.Sequence;
 
 public abstract class MidiFileReader {
 
-    public abstract MidiFileFormat getMidiFileFormat(File file);
+    public abstract MidiFileFormat getMidiFileFormat(File file)
+            throws InvalidMidiDataException, IOException;
 
-    public abstract MidiFileFormat getMidiFileFormat(InputStream stream);
+    public abstract MidiFileFormat getMidiFileFormat(InputStream stream)
+            throws InvalidMidiDataException, IOException;
 
-    public abstract MidiFileFormat getMidiFileFormat(URL url);
+    public abstract MidiFileFormat getMidiFileFormat(URL url)
+            throws InvalidMidiDataException, IOException;
 
-    public abstract Sequence getSequence(File file);
+    public abstract Sequence getSequence(File file)
+            throws InvalidMidiDataException, IOException;
 
-    public abstract Sequence getSequence(InputStream stream);
+    public abstract Sequence getSequence(InputStream stream)
+            throws InvalidMidiDataException, IOException;
 
-    public abstract Sequence getSequence(URL url);
+    public abstract Sequence getSequence(URL url)
+            throws InvalidMidiDataException, IOException;
 }

Modified: incubator/harmony/enhanced/classlib/trunk/modules/sound/src/main/java/javax/sound/midi/spi/MidiFileWriter.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/sound/src/main/java/javax/sound/midi/spi/MidiFileWriter.java?rev=437525&r1=437524&r2=437525&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/sound/src/main/java/javax/sound/midi/spi/MidiFileWriter.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/sound/src/main/java/javax/sound/midi/spi/MidiFileWriter.java
Sun Aug 27 21:28:10 2006
@@ -17,6 +17,7 @@
 package javax.sound.midi.spi;
 
 import java.io.File;
+import java.io.IOException;
 import java.io.OutputStream;
 
 import javax.sound.midi.Sequence;
@@ -47,7 +48,9 @@
         return false;
     }
 
-    public abstract int write(Sequence in, int fileType, File out);
+    public abstract int write(Sequence in, int fileType, File out)
+            throws IOException;
 
-    public abstract int write(Sequence in, int fileType, OutputStream out);
+    public abstract int write(Sequence in, int fileType, OutputStream out)
+            throws IOException;
 }

Modified: incubator/harmony/enhanced/classlib/trunk/modules/sound/src/main/java/javax/sound/midi/spi/SoundbankReader.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/sound/src/main/java/javax/sound/midi/spi/SoundbankReader.java?rev=437525&r1=437524&r2=437525&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/sound/src/main/java/javax/sound/midi/spi/SoundbankReader.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/sound/src/main/java/javax/sound/midi/spi/SoundbankReader.java
Sun Aug 27 21:28:10 2006
@@ -17,16 +17,21 @@
 package javax.sound.midi.spi;
 
 import java.io.File;
+import java.io.IOException;
 import java.io.InputStream;
 import java.net.URL;
 
+import javax.sound.midi.InvalidMidiDataException;
 import javax.sound.midi.Soundbank;
 
 public abstract class SoundbankReader {
 
-    public abstract Soundbank getSoundbank(File file);
+    public abstract Soundbank getSoundbank(File file)
+            throws InvalidMidiDataException, IOException;
 
-    public abstract Soundbank getSoundbank(InputStream stream);
+    public abstract Soundbank getSoundbank(InputStream stream)
+            throws InvalidMidiDataException, IOException;
 
-    public abstract Soundbank getSoundbank(URL url);
+    public abstract Soundbank getSoundbank(URL url)
+            throws InvalidMidiDataException, IOException;
 }



Mime
View raw message