public abstract class ResourceBundle extends Object
| Constructor and Description |
|---|
ResourceBundle() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
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
IOExceptionCopyright © 2015. All rights reserved.