Package com.puppycrawl.tools.checkstyle
Class PropertiesExpander
- java.lang.Object
-
- com.puppycrawl.tools.checkstyle.PropertiesExpander
-
- All Implemented Interfaces:
PropertyResolver
public final class PropertiesExpander extends java.lang.Object implements PropertyResolver
Resolves external properties from an underlyingProperties
object.
-
-
Constructor Summary
Constructors Constructor Description PropertiesExpander(java.util.Properties properties)
Creates a new PropertiesExpander.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
resolve(java.lang.String name)
Resolves a property name to it's value.
-
-
-
Method Detail
-
resolve
public java.lang.String resolve(java.lang.String name)
Description copied from interface:PropertyResolver
Resolves a property name to it's value.- Specified by:
resolve
in interfacePropertyResolver
- Parameters:
name
- the name of the property.- Returns:
- the value that is associated with
propertyName
.
-
-