throw new UnsupportedOperationException();
return new AndroidSequence(file.toURL());
File file = File.createTempFile("javax.sound.midi-", null); file.deleteOnExit(); BufferedOutputStream out = new BufferedOutputStream(new FileOutputStream(file)); byte[] buffer = new byte[1024]; int count = stream.read(buffer); while (count >= 0) { out.write(buffer, 0, count); count = stream.read(buffer); } out.flush(); out.close(); return getSequence(file);
return new AndroidSequence(url);