public class FileResolver extends java.lang.Object implements PropertyResolver
File objects.| Constructor and Description |
|---|
FileResolver(org.gradle.api.Project project,
java.io.File file)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Properties |
getProperties()
Get the loaded properties.
|
java.lang.String |
resolve(java.lang.String propertyName)
Resolve the property with the given property name.
|
java.lang.String |
toString() |
public FileResolver(org.gradle.api.Project project,
java.io.File file)
project - the projectfile - the properties filepublic java.lang.String resolve(java.lang.String propertyName)
PropertyResolverresolve in interface PropertyResolverpropertyName - the property namepublic java.util.Properties getProperties()
PropertyResolvergetProperties in interface PropertyResolverpublic java.lang.String toString()
toString in class java.lang.Object