|
Hilbert II - JAVA-Packages - Principia Mathematica II | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.meyling.principia.io.DataDictionary
This class reads entries from property files and gives typed get and set methods.
Method Summary | |
static DataDictionary |
getInstance()
Get instance of config access. |
char |
getMnemonic(String key)
Returns a mnemonic from the resource bundle. |
ResourceBundle |
getResourceBundle()
Returns the resource bundle associated with this application. |
String |
getString(String key)
This method returns a string from the resource bundle. |
static void |
init(String baseName)
Set resource name for this context. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static final DataDictionary getInstance() throws IllegalStateException
#setup
must have been called before.
IllegalStateException
- if #setup
wasn't called before this method callpublic static final void init(String baseName) throws IOException
baseName
- name of resource file
IllegalStateException
- #setup
was called once before
IOException
public String getString(String key)
public final ResourceBundle getResourceBundle()
public final char getMnemonic(String key)
|
Hilbert II - JAVA-Packages - Principia Mathematica II | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
©left GNU General Public Licence All Rights Reserved. |