|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.slim3.commons.message.MessageResourceBundleCache
public class MessageResourceBundleCache
A class to cache MessageResourceBundle.
| Field Summary | |
|---|---|
protected MessageResourceBundle |
bundle
The message bundle. |
protected File |
file
The file for the message bundle. |
protected long |
lastModified
The last modified time. |
| Constructor Summary | |
|---|---|
MessageResourceBundleCache(MessageResourceBundle bundle,
File file)
Constructor. |
|
| Method Summary | |
|---|---|
MessageResourceBundle |
getBundle()
Returns the message bundle. |
boolean |
isModified()
Determines if the bundle is modified. |
void |
setBundle(MessageResourceBundle bundle)
Sets the message bundle. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected MessageResourceBundle bundle
protected File file
protected long lastModified
| Constructor Detail |
|---|
public MessageResourceBundleCache(MessageResourceBundle bundle,
File file)
bundle - the message bundlefile - the file for the message bundle| Method Detail |
|---|
public boolean isModified()
public MessageResourceBundle getBundle()
public void setBundle(MessageResourceBundle bundle)
bundle - the message bundle
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||