Class SoundResource
java.lang.Object
de.gurkenlabs.litiengine.resources.NamedResource
de.gurkenlabs.litiengine.resources.SoundResource
public class SoundResource
extends NamedResource
Constructor Summary
Constructors Constructor Description SoundResource()
SoundResource(Sound sound, SoundFormat format)
SoundResource(java.io.InputStream data, java.lang.String name, SoundFormat format)
Method Summary
Modifier and Type Method Description java.lang.String
getData()
SoundFormat
getFormat()
void
setData(java.lang.String data)
void
setFormat(SoundFormat format)
Constructor Details
SoundResource
public SoundResource()SoundResource
SoundResource
public SoundResource(java.io.InputStream data, java.lang.String name, SoundFormat format) throws java.io.IOException, javax.sound.sampled.UnsupportedAudioFileException- Throws:
java.io.IOException
javax.sound.sampled.UnsupportedAudioFileException
Method Details