com.jmex.audio.util
Class AudioLoader

java.lang.Object
  extended by com.jmex.audio.util.AudioLoader

public class AudioLoader
extends java.lang.Object

Utility class for loading audio files. For use by the underlying AudioSystem code.

Version:
$Id: AudioLoader.java 4342 2009-05-13 00:45:51Z mulova $
Author:
Joshua Slack

Constructor Summary
AudioLoader()
           
 
Method Summary
static void fillBuffer(AudioBuffer buffer, java.net.URL file)
           
static AudioInputStream openStream(java.net.URL resource)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AudioLoader

public AudioLoader()
Method Detail

fillBuffer

public static void fillBuffer(AudioBuffer buffer,
                              java.net.URL file)
                       throws java.io.IOException
Throws:
java.io.IOException

openStream

public static AudioInputStream openStream(java.net.URL resource)
                                   throws java.io.IOException
Throws:
java.io.IOException