org.apache.tools.ant.types.selectors

Class WritableSelector

public class WritableSelector extends Object implements FileSelector, ResourceSelector

A selector that selects writable files.

Writable is definied in terms of java.io.File#canWrite, this means the selector will accept any file that exists and is writable by the application.

Since: Ant 1.8.0

Method Summary
booleanisSelected(File basedir, String filename, File file)
booleanisSelected(Resource r)

Method Detail

isSelected

public boolean isSelected(File basedir, String filename, File file)

isSelected

public boolean isSelected(Resource r)