public class ITrackerResources extends Object
Modifier and Type | Field | Description |
---|---|---|
static String |
BASE_LOCALE |
|
static String |
DEFAULT_LOCALE |
|
static String |
HEXCHARS |
|
static String |
KEY_BASE_CUSTOMFIELD |
|
static String |
KEY_BASE_CUSTOMFIELD_LABEL |
|
static String |
KEY_BASE_CUSTOMFIELD_OPTION |
|
static String |
KEY_BASE_CUSTOMFIELD_TYPE |
|
static String |
KEY_BASE_ISSUE_RELATION |
|
static String |
KEY_BASE_LOCALE_NAME |
|
static String |
KEY_BASE_PERMISSION |
|
static String |
KEY_BASE_PRIORITY |
|
static String |
KEY_BASE_PRIORITY_LABEL |
|
static String |
KEY_BASE_PRIORITY_SIZE |
|
static String |
KEY_BASE_PROJECT_STATUS |
|
static String |
KEY_BASE_RESOLUTION |
|
static String |
KEY_BASE_SEVERITY |
|
static String |
KEY_BASE_STATUS |
|
static String |
KEY_BASE_USER_STATUS |
|
static String |
KEY_BASE_WORKFLOW_EVENT |
|
static String |
RESOURCE_BUNDLE_NAME |
Constructor | Description |
---|---|
ITrackerResources() |
Modifier and Type | Method | Description |
---|---|---|
static void |
clearBundle(Locale locale) |
Clears a single cached resource bundle.
|
static void |
clearBundles() |
Clears all cached resource bundles.
|
static void |
clearKeyFromBundles(String key,
boolean markDirty) |
Clears a single key from all cached resource bundles.
|
static int |
decodeHex(char ch) |
|
static char |
encodeHex(int value) |
|
static String |
escapeUnicodeString(String str,
boolean escapeAll) |
|
static ResourceBundle |
getBundle() |
|
static ResourceBundle |
getBundle(String locale) |
|
static ResourceBundle |
getBundle(Locale locale) |
|
static String |
getCheckForKey(String key) |
|
static String |
getCheckForKey(String key,
Locale locale) |
|
static String |
getDefaultLocale() |
|
static ResourceBundle |
getEditBundle(Locale locale) |
|
static Locale |
getLocale() |
|
static Locale |
getLocale(String localeString) |
|
static String |
getLocaleDN(String locale,
Locale displayLocale) |
|
static String |
getLocaleDN(Locale locale,
Locale displayLocale) |
|
static String |
getLocaleFullDN(Locale locale,
Locale displayLocale) |
|
static Map<String,String> |
getLocaleNamesMap(Locale locale,
Set<String> languageCodes,
Map<String,List<String>> languagesMap) |
|
static String |
getLocaleNativeName(Locale locale) |
|
static String |
getString(String key) |
|
static String |
getString(String key,
Object[] options) |
|
static String |
getString(String key,
String locale) |
|
static String |
getString(String key,
String locale,
Object[] options) |
|
static String |
getString(String key,
String locale,
String option) |
|
static String |
getString(String key,
Locale locale) |
|
static String |
getString(String key,
Locale locale,
Object[] options) |
|
static String |
getString(String key,
Locale locale,
String option) |
|
static boolean |
isInitialized() |
|
static boolean |
isLongString(String key) |
|
static void |
putBundle(Locale locale,
ResourceBundle bundle) |
|
static void |
setConfigurationService(ITrackerResourcesProvider service) |
|
static String |
unescapeUnicodeString(String str) |
public static final String RESOURCE_BUNDLE_NAME
public static final String DEFAULT_LOCALE
public static final String BASE_LOCALE
public static final String KEY_BASE_CUSTOMFIELD_TYPE
public static final String KEY_BASE_WORKFLOW_EVENT
public static final String KEY_BASE_PROJECT_STATUS
public static final String KEY_BASE_PERMISSION
public static final String KEY_BASE_PRIORITY
public static final String KEY_BASE_PRIORITY_LABEL
public static final String KEY_BASE_PRIORITY_SIZE
public static final String KEY_BASE_RESOLUTION
public static final String KEY_BASE_ISSUE_RELATION
public static final String KEY_BASE_SEVERITY
public static final String KEY_BASE_STATUS
public static final String KEY_BASE_USER_STATUS
public static final String KEY_BASE_CUSTOMFIELD
public static final String KEY_BASE_CUSTOMFIELD_OPTION
public static final String KEY_BASE_CUSTOMFIELD_LABEL
public static final String KEY_BASE_LOCALE_NAME
public static final String HEXCHARS
public static Locale getLocale()
public static String getDefaultLocale()
public static Map<String,String> getLocaleNamesMap(Locale locale, Set<String> languageCodes, Map<String,List<String>> languagesMap)
public static ResourceBundle getBundle()
public static ResourceBundle getBundle(String locale)
public static ResourceBundle getBundle(Locale locale)
public static ResourceBundle getEditBundle(Locale locale)
public static void putBundle(Locale locale, ResourceBundle bundle)
public static void clearBundle(Locale locale)
public static void clearBundles()
public static void clearKeyFromBundles(String key, boolean markDirty)
public static String getCheckForKey(String key) throws MissingResourceException
MissingResourceException
public static String getCheckForKey(String key, Locale locale) throws MissingResourceException
MissingResourceException
public static boolean isLongString(String key)
public static char encodeHex(int value)
public static int decodeHex(char ch)
public static boolean isInitialized()
public static void setConfigurationService(ITrackerResourcesProvider service)
Copyright © 2002–2019 itracker. All rights reserved.