com.puppycrawl.tools.checkstyle

Interface PropertyResolver

Known Implementing Classes:
PropertiesExpander

public interface PropertyResolver

Resolves properties in module configurations. The ConfigurationLoader uses a PropertyResolver to resolve the values of external properties like ${basename} that occur in the configuration file.

Author:
lkuehne

See Also:
ConfigurationLoader

Method Summary

String
resolve(String aName)
Resolves a property name to it's value.

Method Details

resolve

public String resolve(String aName)
            throws CheckstyleException
Resolves a property name to it's value.

Parameters:
aName - the name of the property.

Returns:
the value that is associated with propertyName.

Throws:
CheckstyleException - if the propertyName cannot be reolved