com.groiss.component
Class DefaultResource

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

public class DefaultResource
extends Object

Provides static methods for accessing the default resource.


Constructor Summary
DefaultResource()
           
 
Method Summary
static List<String> createLocalizedList(String... args)
           
static String getErrorMessage(String key)
           
static String getErrorMessage(String key, Object[] arguments)
           
static Resource getResource()
           
static String getString(String key)
           
static String getString(String key, Object[] arguments)
           
static void init()
           
static void init(Resource res)
           
static void init(String stringBundle, 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(String stringBundle,
                        String errorBundle)

init

public static void init(Resource res)

getResource

public static Resource getResource()

getString

public static String getString(String key,
                               Object[] arguments)

getString

public static String getString(String key)

getErrorMessage

public static String getErrorMessage(String key)

getErrorMessage

public static String getErrorMessage(String key,
                                     Object[] arguments)

createLocalizedList

public static List<String> createLocalizedList(String... args)


@enterprise 8.0.10078 Copyright © 2001-2011 Groiss Informatics GmbH. All Rights Reserved.