Package com.puppycrawl.tools.checkstyle
Class PropertiesExpander
java.lang.Object
com.puppycrawl.tools.checkstyle.PropertiesExpander
- All Implemented Interfaces:
PropertyResolver
Resolves external properties from an
underlying
Properties object.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
values
The underlying values.
-
-
Constructor Details
-
PropertiesExpander
Creates a new PropertiesExpander.- Parameters:
properties- the underlying properties to use for property resolution.- Throws:
IllegalArgumentException- when properties argument is null
-
-
Method Details
-
resolve
Description copied from interface:PropertyResolverResolves a property name to its value.- Specified by:
resolvein interfacePropertyResolver- Parameters:
name- the name of the property.- Returns:
- the value that is associated with
propertyName.
-