Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
org.apache.tools.ant.taskdefs.optional.extension.resolvers.LocationResolver
Method Summary | |
File | |
void |
|
String |
|
public File resolve(Extension extension, Project project) throws BuildException
Returns the resolved file
- Specified by:
- resolve in interface ExtensionResolver
- Parameters:
extension
- the extensionproject
- the project
- Returns:
- the file resolved
- Throws:
BuildException
- if no location is set
public void setLocation(String location)
Sets the location for this resolver
- Parameters:
location
- the location
public String toString()
Returns a string representation of the Location
- Returns:
- the string representation