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

Quick Search    Search Deep

com.arranger.jarl.shell
Class ShellConfig  view ShellConfig download ShellConfig.java

java.lang.Object
  extended bycom.arranger.jarl.shell.ShellConfig

public class ShellConfig
extends java.lang.Object

ShellConfig maintains a property bag for the jarl shell app. Usage: ShellConfig config = new ShellConfig(); config.getProperties().setProperty("foo", "bar"); config.save();


Field Summary
protected  java.util.Properties m_properties
           
 
Constructor Summary
ShellConfig()
           
 
Method Summary
protected  java.io.File getPrefFile()
           
 java.util.Properties getProperties()
           
 java.lang.String getProperty(java.lang.String name)
           
 void save()
           
 void setProperty(java.lang.String name, java.lang.String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_properties

protected java.util.Properties m_properties
Constructor Detail

ShellConfig

public ShellConfig()
            throws java.lang.Exception
Method Detail

save

public void save()
          throws java.lang.Exception

getProperties

public java.util.Properties getProperties()

getProperty

public java.lang.String getProperty(java.lang.String name)

setProperty

public void setProperty(java.lang.String name,
                        java.lang.String value)

getPrefFile

protected java.io.File getPrefFile()