foundry-0.9.1

foundry.configuration
Class ResourceBundleUtilities

java.lang.Object
  |
  +--foundry.configuration.ResourceBundleUtilities

public class ResourceBundleUtilities
extends Object


Inner Class Summary
private static class ResourceBundleUtilities.ClassLocaleDiscriminatorTuple
           
 
Field Summary
private static Map cache
           
private static ArrayList throwableListeners
           
 
Constructor Summary
ResourceBundleUtilities()
           
 
Method Summary
static void addThrowableListener(ThrowableListener l)
           
private static void fireThrowableEvent(Throwable t)
           
private static void fireThrowableEvent(Throwable t, String message)
           
static ResourceBundle getBundle(Class c)
           
static ResourceBundle getBundle(Class c, Locale locale)
           
static void removeThrowableListener(ThrowableListener l)
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

cache

private static final Map cache

throwableListeners

private static final ArrayList throwableListeners
Constructor Detail

ResourceBundleUtilities

public ResourceBundleUtilities()
Method Detail

getBundle

public static ResourceBundle getBundle(Class c)

getBundle

public static ResourceBundle getBundle(Class c,
                                       Locale locale)

addThrowableListener

public static final void addThrowableListener(ThrowableListener l)

removeThrowableListener

public static final void removeThrowableListener(ThrowableListener l)

fireThrowableEvent

private static final void fireThrowableEvent(Throwable t)

fireThrowableEvent

private static final void fireThrowableEvent(Throwable t,
                                             String message)

foundry-0.9.1

Copyright © 2000 - Laird Jarrett Nelson