Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.lilacsoftware.orca
Class OrcaProperties  view OrcaProperties download OrcaProperties.java

java.lang.Object
  extended bycom.lilacsoftware.orca.OrcaProperties

public class OrcaProperties
extends java.lang.Object


Field Summary
(package private)  java.io.File appDir
           
(package private)  java.io.File applicationPropFile
           
(package private)  java.util.Properties applicationProps
           
(package private)  boolean applicationPropsLoaded
           
(package private)  java.util.Properties defaultProps
           
private  boolean initialized
           
private static OrcaProperties instance
           
 
Constructor Summary
private OrcaProperties()
          A private constructor since this is a Singleton
 
Method Summary
 java.io.File getAppDir()
           
static OrcaProperties getInstance()
           
 java.util.Properties getProperties()
           
private  void init()
          Load local properties file.
 boolean isInitialized()
           
 void store()
           
 void storeDefaults()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

instance

private static OrcaProperties instance

initialized

private boolean initialized

applicationProps

java.util.Properties applicationProps

defaultProps

java.util.Properties defaultProps

appDir

java.io.File appDir

applicationPropsLoaded

boolean applicationPropsLoaded

applicationPropFile

java.io.File applicationPropFile
Constructor Detail

OrcaProperties

private OrcaProperties()
A private constructor since this is a Singleton

Method Detail

getInstance

public static OrcaProperties getInstance()

init

private void init()
Load local properties file. Create and save it if needed.


isInitialized

public boolean isInitialized()

getProperties

public java.util.Properties getProperties()

store

public void store()
           throws java.io.IOException,
                  NotInitializedException

storeDefaults

public void storeDefaults()
                   throws java.io.IOException,
                          NotInitializedException

getAppDir

public java.io.File getAppDir()