jTracer
1.03
Stack trace visualization tool
|
Configuration registry. More...
Public Member Functions | |
Object | get (String section, String key) |
Get an entry. More... | |
boolean | test (String section, String key) |
Get a boolean entry. More... | |
Enumeration | getSectionKeys (String nm) |
Get all the keys of a section. More... | |
File | getResource (String path) throws IOException |
Get a resource file. More... | |
ImageIcon | loadIcon (String nm) |
Load an icon from the current theme. More... | |
void | browse (URL url) |
Open a URL on the registered web browser. More... | |
void | mail (URL url) |
Open a URL on the registered mail composer. More... | |
void | setup () throws IOException |
Setup any process specific resources before the main application frame is launched. More... | |
Vector< Image > | getProjectIcons () |
Get a cross-platform set of project icons. More... | |
Static Public Member Functions | |
static Registry | getCurrent () |
Get the current registry. More... | |
static void | setCurrent (Registry cur) |
Set the current registry. More... | |
static File | getHomeDirectory () throws IOException |
Get the user home directory. More... | |
static File | getPrefix () throws IOException |
Get the installation prefix. More... | |
static synchronized void | debug (Throwable err) |
Output debug text for an exception. More... | |
static synchronized void | debug (String msg) |
Output a debug message. More... | |
static String | getOsName () |
static boolean | isLinux () |
Static Private Attributes | |
static final long | serialVersionUID = 0x00 |
Class version. More... | |
static Registry | current = null |
Current registry. More... | |
Configuration registry.
A Registry object provides the application runtime configuration, organized per section. Every registry entry has a distinct section and key pair and a value. Current registry entries are static (hard coded), in future version they will be loaded from a hierarhical tree of XML configuration files
Definition at line 41 of file Registry.java.