org.apache.tools.ant.types
Interface ResourceFactory
- DependScanner, DirectoryScanner, FTP.FTPDirectoryScanner, SourceFileScanner, ZipScanner
public interface ResourceFactory
this interface should be implemented by classes (Scanners) needing
to deliver information about resources.
- Ant 1.5.2
getResource
public Resource getResource(String name)
Query a resource (file, zipentry, ...) by name
name
- relative path of the resource about which
information is sought. Expects "/" to be used as the
directory separator.
- instance of Resource; the exists attribute of Resource
will tell whether the sought resource exists
Copyright B) 2000-2005 Apache Software Foundation. All Rights Reserved.