net.sourceforge.jinit
Class DirectoryConfigurator

java.lang.Object
  extended by net.sourceforge.jinit.DirectoryConfigurator

public class DirectoryConfigurator
extends Object

Configures the directories from the given properties. Reads directories from a Properties object and is responsible for configuring the actual Directory objects.

Author:
Trevor Miller

Field Summary
static String DIRECTORY_PREFIX
          DIRECTORY_PREFIX = jinit.dirs
 
Method Summary
static Directory parseDirs(Properties props)
          Parse the directories defined in the Properties object and return the root Directory object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DIRECTORY_PREFIX

public static String DIRECTORY_PREFIX
DIRECTORY_PREFIX = jinit.dirs

Method Detail

parseDirs

public static Directory parseDirs(Properties props)
                           throws ConfigurationException
Parse the directories defined in the Properties object and return the root Directory object.

Parameters:
props - The properties to use
Returns:
The root directory
Throws:
ConfigurationException - If the project's name is not found


Copyright © 2005 JInit Project. All Rights Reserved.