com.groiss.component
Class DefaultResource

java.lang.Object
  extended by com.groiss.component.DefaultResource

public class DefaultResource
extends java.lang.Object

Provides static methods for accessing the default resource.


Constructor Summary
DefaultResource()
           
 
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
 

Constructor Detail

DefaultResource

public DefaultResource()
Method Detail

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.