MjSip Stack
v1.6

org.zoolu.tools
Class Configure

java.lang.Object
  |
  +--org.zoolu.tools.Configure
Direct Known Subclasses:
SipStack

public class Configure
extends java.lang.Object

Configure helps the loading and saving of configuration data.


Field Summary
static java.lang.String NONE
          String 'NONE' used as undefined value (i.e. null).
 
Constructor Summary
protected Configure()
          Costructs a Configure container
  Configure(Configurable configurable, java.lang.String file)
          Costructs a Configure container
 
Method Summary
protected  void loadFile(java.lang.String file)
          Loads Configure attributes from the specified file
protected  void parseLine(java.lang.String line)
          Parses a single text line (read from the config file)
protected  void saveFile(java.lang.String file)
          Saves Configure attributes on the specified file
protected  java.lang.String toLines()
          Converts the entire object into lines (to be saved into the config file)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NONE

public static java.lang.String NONE
String 'NONE' used as undefined value (i.e. null).
Constructor Detail

Configure

protected Configure()
Costructs a Configure container

Configure

public Configure(Configurable configurable,
                 java.lang.String file)
Costructs a Configure container
Method Detail

parseLine

protected void parseLine(java.lang.String line)
Parses a single text line (read from the config file)

toLines

protected java.lang.String toLines()
Converts the entire object into lines (to be saved into the config file)

loadFile

protected void loadFile(java.lang.String file)
Loads Configure attributes from the specified file

saveFile

protected void saveFile(java.lang.String file)
Saves Configure attributes on the specified file

MjSip Stack
v1.6