public final class Sound
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static Sound |
get(java.lang.String path)
Loads the sound from the specified path and returns it.
|
javax.sound.sampled.AudioFormat |
getFormat() |
java.lang.String |
getName() |
byte[] |
getStreamData() |
public static Sound get(java.lang.String path)
path - The path of the file to be loaded.(Can be relative or absolute)public javax.sound.sampled.AudioFormat getFormat()
public java.lang.String getName()
public byte[] getStreamData()