public class NetworkResourceBundle extends KnownAvailabilityResourceBundle
| Constructor and Description |
|---|
NetworkResourceBundle(String root,
String path,
Set<String> rsrcList) |
| Modifier and Type | Method and Description |
|---|---|
String |
getIdent()
Uniquely identifies this resource bundle.
|
BufferedImage |
getImageResource(String path,
boolean useFastIO)
Decodes and returns the specified image resource.
|
InputStream |
getResource(String path)
Fetches the named resource from this bundle.
|
String |
toString()
Returns a string representation of this resource bundle.
|
public String getIdent()
ResourceBundlegetIdent in class ResourceBundlepublic InputStream getResource(String path) throws IOException
ResourceBundlesounds/scream.au.getResource in class ResourceBundlepath - the path to the resource in this jar file.IOException - thrown if an error occurs locating the resource in the jar file.public BufferedImage getImageResource(String path, boolean useFastIO) throws IOException
ResourceBundlegetImageResource in class ResourceBundleIOExceptionCopyright © 2015. All rights reserved.