jdepend.framework

Class PropertyConfigurator

public class PropertyConfigurator extends 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 (mike@clarkware.com) Clarkware Consulting, Inc.

Field Summary
static StringDEFAULT_PROPERTY_FILE
Constructor Summary
PropertyConfigurator()
Constructs a PropertyConfigurator instance containing the properties specified in the jdepend.propertiesfile, if it exists.
PropertyConfigurator(Properties p)
Constructs a PropertyConfigurator instance with the specified property set.
PropertyConfigurator(File f)
Constructs a PropertyConfigurator instance with the specified property file.
Method Summary
booleangetAnalyzeInnerClasses()
CollectiongetConfiguredPackages()
static FilegetDefaultPropertyFile()
CollectiongetFilteredPackages()
Returns the collection of filtered package names.
static PropertiesloadProperties(File file)

Field Detail

DEFAULT_PROPERTY_FILE

public static final String DEFAULT_PROPERTY_FILE

Constructor Detail

PropertyConfigurator

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

PropertyConfigurator

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

Parameters: p Property set.

PropertyConfigurator

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

Parameters: f Property file.

Method Detail

getAnalyzeInnerClasses

public boolean getAnalyzeInnerClasses()

getConfiguredPackages

public Collection getConfiguredPackages()

getDefaultPropertyFile

public static File getDefaultPropertyFile()

getFilteredPackages

public Collection getFilteredPackages()
Returns the collection of filtered package names.

Returns: Filtered package names.

loadProperties

public static Properties loadProperties(File file)
Copyright B) 1999-2003 Clarkware Consulting, Inc.