|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.tools.ant.taskdefs.optional.extension.resolvers.LocationResolver
public class LocationResolver
Resolver that just returns s specified location.
Constructor Summary | |
---|---|
LocationResolver()
|
Method Summary | |
---|---|
java.io.File |
resolve(Extension extension,
Project project)
Returns the resolved file |
void |
setLocation(java.lang.String location)
Sets the location for this resolver |
java.lang.String |
toString()
Returns a string representation of the Location |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public LocationResolver()
Method Detail |
---|
public void setLocation(java.lang.String location)
location
- the locationpublic java.io.File resolve(Extension extension, Project project) throws BuildException
resolve
in interface ExtensionResolver
extension
- the extensionproject
- the project
BuildException
- if no location is setpublic java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |