FileDocCategorySizeDatePackage
ResourceFactory.javaAPI DocApache Ant 1.701434Wed Dec 13 06:16:20 GMT 2006org.apache.tools.ant.types

ResourceFactory

public interface ResourceFactory
this interface should be implemented by classes (Scanners) needing to deliver information about resources.
since
Ant 1.5.2

Fields Summary
Constructors Summary
Methods Summary
public ResourcegetResource(java.lang.String name)
Query a resource (file, zipentry, ...) by name

param
name relative path of the resource about which information is sought. Expects "/" to be used as the directory separator.
return
instance of Resource; the exists attribute of Resource will tell whether the sought resource exists