|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.threerings.openal.ResourceClipProvider
public class ResourceClipProvider
Loads clips from resources.
| Field Summary | |
|---|---|
protected ResourceManager |
_rsrcmgr
The resource manager from which we load resources. |
| Constructor Summary | |
|---|---|
ResourceClipProvider(ResourceManager rsrcmgr)
Creates a new resource clip provider that will obtain resources from the given manager. |
|
| Method Summary | |
|---|---|
Clip |
loadClip(String path)
Loads the specified clip from the appropriate source. |
protected static Clip |
loadOggClip(InputStream in)
Loads an Ogg sound clip. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected ResourceManager _rsrcmgr
| Constructor Detail |
|---|
public ResourceClipProvider(ResourceManager rsrcmgr)
| Method Detail |
|---|
public Clip loadClip(String path)
throws IOException
loadClip in interface ClipProviderIOException
protected static Clip loadOggClip(InputStream in)
throws IOException
IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||