AntResolver (Apache Ant API)
Date: 2013-12-23

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.tools.ant.taskdefs.optional.extension.resolvers
Class AntResolver

    java.lang.Object
      org.apache.tools.ant.taskdefs.optional.extension.resolvers.AntResolver

All Implemented Interfaces:
  ExtensionResolver

    public class AntResolver

extends java.lang.Object
implements ExtensionResolver

Resolver that just returns s specified location.

Constructor Summary
`AntResolver()`

Method Summary
`java.io.File` | `resolve(Extension extension, Project project)` Returns the resolved file
`void` | `setAntfile(java.io.File antfile)` Sets the ant file
`void` | `setDestfile(java.io.File destfile)` Sets the destination file
`void` | `setTarget(java.lang.String target)` Sets the target
`java.lang.String` | `toString()` Returns a string representation

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Constructor Detail

### AntResolver

    public AntResolver()

Method Detail

### setAntfile

    public void setAntfile(java.io.File antfile)

  Sets the ant file

  Parameters:
    `antfile` - the ant file to set

### setDestfile

    public void setDestfile(java.io.File destfile)

  Sets the destination file

  Parameters:
    `destfile` - the destination file

### setTarget

    public void setTarget(java.lang.String target)

  Sets the target

  Parameters:
    `target` - the target

### resolve

    public java.io.File resolve(Extension extension,
                                Project project)
                         throws BuildException

  Returns the resolved file

  Specified by:
    `resolve` in interface `ExtensionResolver`
  Parameters:
    `extension` - the extension
    `project` - the project
  Returns:
    the file resolved
  Throws:
    `BuildException` - if the file cannot be resolved

### toString

    public java.lang.String toString()

  Returns a string representation

  Overrides:
    `toString` in class `java.lang.Object`
  Returns:
    the string representation

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD