org.shiftone.cache.config
Class PropertiesTree

java.lang.Object
  extended byorg.shiftone.cache.config.PropertiesTree

public class PropertiesTree
extends java.lang.Object

Version:
$Revision: 1.9 $
Author:
Jeff Drost

Constructor Summary
PropertiesTree()
          Constructor PropertiesTree
PropertiesTree(java.util.Properties properties)
          Constructor PropertiesTree
 
Method Summary
 java.util.Properties getProperties()
          Regenerates a Properties object based on the tree.
 Node getRoot()
          Method getRoot
 void print(java.io.PrintStream out)
          Prints out the tree in a cheezy XML like format
static java.lang.String[] tokenize(java.lang.String text)
           
static java.lang.String[] tokenize(java.lang.String text, java.lang.String token)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertiesTree

public PropertiesTree()
               throws ConfigurationException
Constructor PropertiesTree


PropertiesTree

public PropertiesTree(java.util.Properties properties)
               throws ConfigurationException
Constructor PropertiesTree

Method Detail

getProperties

public java.util.Properties getProperties()
Regenerates a Properties object based on the tree.


getRoot

public Node getRoot()
Method getRoot

Returns:
.

print

public void print(java.io.PrintStream out)
Prints out the tree in a cheezy XML like format


tokenize

public static java.lang.String[] tokenize(java.lang.String text)

tokenize

public static java.lang.String[] tokenize(java.lang.String text,
                                          java.lang.String token)