net.sourceforge.pmd
Class ProjectFile

java.lang.Object
  |
  +--net.sourceforge.pmd.ProjectFile

public class ProjectFile
extends java.lang.Object

Loads the PMD project.xml file and stores the contents in a Properties object. The property keys are the case-insensitive path starting below the root down to the element. For example:

When an element has repeated values, e.g., developer names, one property is created and the values are separated by &vs;. The vs stands for value separator. For example: When there is a collection of repeating values, an empty space will reserve the position of a missing value. This is so that the collection can be parsed on position.

Since:
September 10, 2002
Version:
$Revision: 1.12 $, $Date: 2003/04/08 16:02:10 $
Author:
Donald A. Leckie

Constructor Summary
ProjectFile()
           
 
Method Summary
static java.lang.Exception getException()
           
static java.lang.String getProperty(java.lang.String key)
           
static int getPropertyCount()
           
static java.util.Enumeration getPropertyKeys()
           
static java.lang.String[] toArray(java.lang.String propertyValue)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProjectFile

public ProjectFile()
Method Detail

getProperty

public static final java.lang.String getProperty(java.lang.String key)
Parameters:
key -
Returns:

getPropertyKeys

public static final java.util.Enumeration getPropertyKeys()
Returns:

getPropertyCount

public static final int getPropertyCount()
Returns:

toArray

public static final java.lang.String[] toArray(java.lang.String propertyValue)
Returns:

getException

public static final java.lang.Exception getException()
Returns:


Copyright © 2002-2003 Project Ultra*Log @ DARPA. All Rights Reserved.