Class AResourceBundle
java.lang.Object
com.dandymadeproductions.ajqvue.utilities.AResourceBundle
The AResourceBundle class provides a method to more closely
control the loading of locale, image, & other types of resource
files in a program. Handles also the methods needed to retrieve
these various resource.
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) boolean(package private) booleanstatic final LocaleCharset -
Constructor Summary
ConstructorsConstructorDescriptionAResourceBundle(String resourceURLString) AResourceBundle(String resourceURLString, boolean debugMode) AResourceBundle(String resourceURLString, boolean debugMode, boolean cache) AResourceBundle(String resourceURLString, LocaleCharset charset, boolean debugMode, boolean cache) -
Method Summary
Modifier and TypeMethodDescriptionbyte[]getResourceBytes(String resourceName) getResourceFile(String fileName) getResourceImage(String imageFileName) getResourceString(String resourceKey, String defaultValue) voidvoidsetLocaleResource(String localeDirectory, String baseName, String localeString)
-
Field Details
-
debugMode
boolean debugMode -
cacheJar
boolean cacheJar -
DEFAULT_LOCALE_CHARSET
-
-
Constructor Details
-
AResourceBundle
-
AResourceBundle
-
AResourceBundle
-
AResourceBundle
public AResourceBundle(String resourceURLString, LocaleCharset charset, boolean debugMode, boolean cache)
-
-
Method Details
-
getResourceURLString
-
getResourceString
-
getResourceImage
-
getResourceFile
-
getResourceBytes
-
getImage
-
setLocaleResource
-
setImage
-