Class DefaultResource

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

public class DefaultResource extends Object
Provides static methods for accessing the default resource.
  • Method Details

    • 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)
    • getStringIfMarked

      public static String getStringIfMarked(String s)