jdepend.framework

Class 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.
Authors:
Mike Clark (mike@clarkware.com)
Clarkware Consulting, Inc.

Field Summary

static String
DEFAULT_PROPERTY_FILE

Constructor Summary

PropertyConfigurator()
Constructs a PropertyConfigurator instance containing the properties specified in the jdepend.propertiesfile, if it exists.
PropertyConfigurator(File f)
Constructs a PropertyConfigurator instance with the specified property file.
PropertyConfigurator(Properties p)
Constructs a PropertyConfigurator instance with the specified property set.

Method Summary

boolean
getAnalyzeInnerClasses()
Collection
getConfiguredPackages()
static File
getDefaultPropertyFile()
Collection
getFilteredPackages()
Returns the collection of filtered package names.
static Properties
loadProperties(File file)

Field Details

DEFAULT_PROPERTY_FILE

public static final String DEFAULT_PROPERTY_FILE

Constructor Details

PropertyConfigurator

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

PropertyConfigurator

public PropertyConfigurator(File f)
Constructs a PropertyConfigurator instance with the specified property file.
Parameters:
f - Property file.

PropertyConfigurator

public PropertyConfigurator(Properties p)
Constructs a PropertyConfigurator instance with the specified property set.
Parameters:
p - Property set.

Method Details

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.