net.aethersanctum.curlyml.util
Class CurlyMLResourceBundle
java.lang.Object
  
java.util.ResourceBundle
      
net.aethersanctum.curlyml.util.CurlyMLResourceBundle
public class CurlyMLResourceBundle
- extends java.util.ResourceBundle
 
a ResourceBundle that reads from a stream or file containing properties in a CurlyML format.
- Author:
 
  - ben
 
 
| Fields inherited from class java.util.ResourceBundle | 
parent | 
 
 
| 
Method Summary | 
 java.util.Enumeration<java.lang.String> | 
getKeys()
 
            | 
protected  java.lang.Object | 
handleGetObject(java.lang.String key)
 
            | 
 
| Methods inherited from class java.util.ResourceBundle | 
getBundle, getBundle, getBundle, getLocale, getObject, getString, getStringArray, setParent | 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
PROPERTY_VALUE_EMPTY
public static final java.lang.String PROPERTY_VALUE_EMPTY
- See Also:
 - Constant Field Values
 
CurlyMLResourceBundle
public CurlyMLResourceBundle(java.io.InputStream s)
                      throws java.io.IOException,
                             SyntaxException
- initialize this bundle from an open stream
- Parameters:
 s - the stream to read
- Throws:
 java.io.IOException
SyntaxException
 
CurlyMLResourceBundle
public CurlyMLResourceBundle(java.lang.String file)
                      throws java.io.IOException,
                             SyntaxException
- initialize this bundle from a named file
- Parameters:
 file - the name of the file to be opened
- Throws:
 java.io.IOException
SyntaxException
 
handleGetObject
protected java.lang.Object handleGetObject(java.lang.String key)
- Specified by:
 handleGetObject in class java.util.ResourceBundle
 
 
getKeys
public java.util.Enumeration<java.lang.String> getKeys()
- Specified by:
 getKeys in class java.util.ResourceBundle