christophedelory.betty
Class BettyResourceControl
java.lang.Object
java.util.ResourceBundle.Control
christophedelory.betty.BettyResourceControl
public class BettyResourceControl
- extends ResourceBundle.Control
A custom ResourceBundle
control.
- Since:
- 0.9.2
- Version:
- $Revision$
- Author:
- Christophe Delory
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SINGLETON
public static final BettyResourceControl SINGLETON
- A ready-to-use instance of this class.
BettyResourceControl
public BettyResourceControl()
makeDirty
public void makeDirty()
- Flags this resource bundle control as "dirty".
This will force a reload of the resources as soon as needed.
- See Also:
needsReload(String,Locale,String,ClassLoader,ResourceBundle,long)
getTimeToLive
public long getTimeToLive(String baseName,
Locale locale)
- Overrides:
getTimeToLive
in class ResourceBundle.Control
needsReload
public boolean needsReload(String baseName,
Locale locale,
String format,
ClassLoader loader,
ResourceBundle bundle,
long loadTime)
- Overrides:
needsReload
in class ResourceBundle.Control
Copyright © 2008-2009 Christophe Delory. All Rights Reserved.