Class Resources
Object
ResourceBundle
IndexedResourceBundle
Resources
- All Implemented Interfaces:
- Localized
public final class Resources
extends IndexedResourceBundle
Warning and error messages that are specific to the 
 package.
sis-cloud-aws module.
 Resources in this file should not be used by any other module. For resources shared by
 all modules in the Apache SIS project, see 
invalid @link
org.apache.sis.util.resources- Since:
- 1.2
Defined in the sis-cloud-aws module
- 
Nested Class SummaryNested ClassesNested classes/interfaces inherited from class ResourceBundleResourceBundle.Control
- 
Field SummaryFields inherited from class IndexedResourceBundleLOCALE_KEYFields inherited from class ResourceBundleparent
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic ResourcesforLocale(Locale locale) Returns resources in the given locale.static Stringformat(short key) Gets a string for the given key from this resource bundle or one of its parents.static StringGets a string for the given key and replaces all occurrence of "{0}" with value ofarg0.static StringGets a string for the given key and replaces all occurrence of "{0}", "{1}", with values ofarg0,arg1.protected KeyConstantsReturns the handle for theKeysconstants.Methods inherited from class IndexedResourceBundleappendLabel, getBundle, getKeys, getLabel, getLocale, getLogRecord, getLogRecord, getLogRecord, getLogRecord, getLogRecord, getString, getString, getString, getString, getString, getString, handleGetObject, list, toLabel, toStringMethods inherited from class ResourceBundleclearCache, clearCache, containsKey, getBaseBundleName, getBundle, getBundle, getBundle, getBundle, getBundle, getBundle, getBundle, getBundle, getLocale, getObject, getString, getStringArray, handleKeySet, keySet, setParentMethods inherited from class Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface LocalizedgetLocale
- 
Constructor Details- 
ResourcesConstructs a new resource bundle loading data from the given UTF file.- Parameters:
- resources- the path of the binary file containing resources, or- nullif there is no resources. The resources may be a file or an entry in a JAR file.
 
 
- 
- 
Method Details- 
getKeyConstantsprotected KeyConstants getKeyConstants()Returns the handle for theKeysconstants.- Overrides:
- getKeyConstantsin class- IndexedResourceBundle
- Returns:
- a handler for the constants declared in the inner Keysclass.
 
- 
forLocaleReturns resources in the given locale.- Parameters:
- locale- the locale, or- nullfor the default locale.
- Returns:
- resources in the given locale.
- Throws:
- MissingResourceException- if resources cannot be found.
 
- 
formatGets a string for the given key from this resource bundle or one of its parents.- Parameters:
- key- the key for the desired string.
- Returns:
- the string for the given key.
- Throws:
- MissingResourceException- if no object for the given key can be found.
 
- 
formatGets a string for the given key and replaces all occurrence of "{0}" with value ofarg0.- Parameters:
- key- the key for the desired string.
- arg0- value to substitute to "{0}".
- Returns:
- the formatted string for the given key.
- Throws:
- MissingResourceException- if no object for the given key can be found.
 
- 
formatGets a string for the given key and replaces all occurrence of "{0}", "{1}", with values ofarg0,arg1.- Parameters:
- key- the key for the desired string.
- arg0- value to substitute to "{0}".
- arg1- value to substitute to "{1}".
- Returns:
- the formatted string for the given key.
- Throws:
- MissingResourceException- if no object for the given key can be found.
 
 
-