nl.knowledgeplaza.util
Class XmlResourceBundle
java.lang.Object
java.util.ResourceBundle
nl.knowledgeplaza.util.XmlResourceBundle
public class XmlResourceBundle
- extends ResourceBundle
A ResourceBundle implementation that uses a XML file to store the resources.
- Version:
- Author:
- Sebastian Schaffert
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
debug
protected boolean debug
root
protected Document root
language
protected String language
elem_locale
protected Element elem_locale
elem_common
protected Element elem_common
elem_default
protected Element elem_default
XmlResourceBundle
public XmlResourceBundle(String resourcefile,
String lang)
throws Exception
- Throws:
Exception
getResult
protected String getResult(Element element,
String key)
handleGetObject
public Object handleGetObject(String key)
- Specified by:
handleGetObject in class ResourceBundle
getKeys
protected void getKeys(Element element,
Hashtable hash)
getKeys
public Enumeration getKeys()
- Specified by:
getKeys in class ResourceBundle
Copyright © 2011 KnowledgePlaza. All Rights Reserved.