Class OwnedBySelector

java.lang.Object
org.apache.tools.ant.types.selectors.OwnedBySelector
All Implemented Interfaces:
ResourceSelector, FileSelector

public class OwnedBySelector extends Object implements FileSelector
A selector that selects files based on their owner.

Owner is defined in terms of Files.getOwner(java.nio.file.Path, java.nio.file.LinkOption...), this means the selector will accept any file that exists and is owned by the given user. If the getOwner method throws an UnsupportedOperationException the file in question is not included.

Since:
Ant 1.10.0