Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| org.netbeans.modules.project.ant/1 1.12.22
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.netbeans.spi.project.ant
Interface AntArtifactQueryImplementation

    public interface AntArtifactQueryImplementation

Represents knowledge about the origin of an Ant build product.

Normal code does not need to implement this query. A standard implementation first finds an associated `Project` and then checks to see if it supports `AntArtifactProvider`. You would only need to implement this directly in case your project type generated build artifacts outside of the project directory or otherwise not marked as "owned" by you according to `FileOwnerQuery`.

See Also:
  `AntArtifactQuery`

Method Summary
`AntArtifact` | `findArtifact(File file)` Find an Ant build artifact corresponding to a given file.

Method Detail

### findArtifact

    AntArtifact findArtifact(File file)

  Find an Ant build artifact corresponding to a given file.

  Parameters:
    `file` - a file on disk (need not currently exist) which might be a build artifact from an Ant script
  Returns:
    an artifact information object, or null if it is not recognized

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| org.netbeans.modules.project.ant/1 1.12.22
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Built on December 7 2006. | Portions Copyright 1997-2005 Sun Microsystems, Inc. All rights reserved.