com.groiss.component
Class DefaultResource
java.lang.Object
com.groiss.component.DefaultResource
public class DefaultResource
- extends java.lang.Object
Provides static methods for accessing the default resource.
Method Summary |
static java.util.List<java.lang.String> |
createLocalizedList(java.lang.String... args)
|
static java.lang.String |
getErrorMessage(java.lang.String key)
|
static java.lang.String |
getErrorMessage(java.lang.String key,
java.lang.Object[] arguments)
|
static Resource |
getResource()
|
static java.lang.String |
getString(java.lang.String key)
|
static java.lang.String |
getString(java.lang.String key,
java.lang.Object[] arguments)
|
static void |
init()
|
static void |
init(Resource res)
|
static void |
init(java.lang.String stringBundle,
java.lang.String errorBundle)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultResource
public DefaultResource()
init
public static void init()
init
public static void init(java.lang.String stringBundle,
java.lang.String errorBundle)
init
public static void init(Resource res)
getResource
public static Resource getResource()
getString
public static java.lang.String getString(java.lang.String key,
java.lang.Object[] arguments)
getString
public static java.lang.String getString(java.lang.String key)
getErrorMessage
public static java.lang.String getErrorMessage(java.lang.String key)
getErrorMessage
public static java.lang.String getErrorMessage(java.lang.String key,
java.lang.Object[] arguments)
createLocalizedList
public static java.util.List<java.lang.String> createLocalizedList(java.lang.String... args)
@enterprise 8.0.22989 Copyright © 2001-2017 Groiss Informatics GmbH. All Rights Reserved.