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:
- currentVersion
- organization/name
- versions/version/name
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:
- Tom Copeland&vs;David Dixon-Peugh&vs;David Craine
- tom@infoether.com&vs;ddp@apache.org&vs;dave@infoether.com
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProjectFile
public ProjectFile()
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.