|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.threerings.resource.ResourceBundle
public abstract class ResourceBundle
A resource bundle provides access to media resources.
| Constructor Summary | |
|---|---|
ResourceBundle()
|
|
| Method Summary | |
|---|---|
abstract String |
getIdent()
Uniquely identifies this resource bundle. |
abstract BufferedImage |
getImageResource(String path,
boolean useFastIO)
Decodes and returns the specified image resource. |
abstract InputStream |
getResource(String path)
Fetches the named resource from this bundle. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ResourceBundle()
| Method Detail |
|---|
public abstract String getIdent()
public abstract InputStream getResource(String path)
throws IOException
sounds/scream.au.
path - the path to the resource in this jar file.
IOException - thrown if an error occurs locating the resource in the jar file.
public abstract BufferedImage getImageResource(String path,
boolean useFastIO)
throws IOException
IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||