jdepend.framework
Class PropertyConfigurator

java.lang.Object
  extended byjdepend.framework.PropertyConfigurator

public class PropertyConfigurator
extends java.lang.Object

The PropertyConfigurator class contains configuration information contained in the jdepend.properties file, if such a file exists either in the user's home directory or somewhere in the classpath.

Author:
Mike Clark, Clarkware Consulting, Inc.

Field Summary
static java.lang.String DEFAULT_PROPERTY_FILE
           
 
Constructor Summary
PropertyConfigurator()
          Constructs a PropertyConfigurator instance containing the properties specified in the file jdepend.properties, if it exists.
PropertyConfigurator(java.io.File f)
          Constructs a PropertyConfigurator instance with the specified property file.
PropertyConfigurator(java.util.Properties p)
          Constructs a PropertyConfigurator instance with the specified property set.
 
Method Summary
 boolean getAnalyzeInnerClasses()
           
 java.util.Collection getConfiguredPackages()
           
static java.io.File getDefaultPropertyFile()
           
 java.util.Collection getFilteredPackages()
           
static java.util.Properties loadProperties(java.io.File file)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_PROPERTY_FILE

public static final java.lang.String DEFAULT_PROPERTY_FILE
See Also:
Constant Field Values
Constructor Detail

PropertyConfigurator

public PropertyConfigurator()
Constructs a PropertyConfigurator instance containing the properties specified in the file jdepend.properties, if it exists.


PropertyConfigurator

public PropertyConfigurator(java.util.Properties p)
Constructs a PropertyConfigurator instance with the specified property set.

Parameters:
p - Property set.

PropertyConfigurator

public PropertyConfigurator(java.io.File f)
Constructs a PropertyConfigurator instance with the specified property file.

Parameters:
f - Property file.
Method Detail

getFilteredPackages

public java.util.Collection getFilteredPackages()

getConfiguredPackages

public java.util.Collection getConfiguredPackages()

getAnalyzeInnerClasses

public boolean getAnalyzeInnerClasses()

getDefaultPropertyFile

public static java.io.File getDefaultPropertyFile()

loadProperties

public static java.util.Properties loadProperties(java.io.File file)


Copyright © 1999-2005 Clarkware Consulting, Inc.