FileDocCategorySizeDatePackage
XFileSet.javaAPI DocAndroid 1.5 API1876Wed May 06 22:41:16 BST 2009com.vladium.emma.ant

XFileSet

public final class XFileSet extends org.apache.tools.ant.types.FileSet
An extension of ANT's stock FileSet that adds the convenience of specifying a single 'file' attribute
author
Vlad Roubtsov, (C) 2004

Fields Summary
Constructors Summary
public XFileSet()

        super ();
    
public XFileSet(org.apache.tools.ant.types.FileSet fileset)

        super (fileset);
    
Methods Summary
public voidsetFile(java.io.File file)

        if (IANTVersion.ANT_1_5_PLUS)
        {
            super.setFile (file);
        }
        else
        {
            if (isReference ()) throw tooManyAttributes ();
        
            final File parent = file.getParentFile ();
            if (parent != null) setDir (parent);
    
            final PatternSet.NameEntry include = createInclude ();
            include.setName (file.getName ());
        }