package saker.build.util.file
public class FileOnlyIgnoreCaseExtensionDirectoryVisitPredicate extends IgnoreCaseExtensionDirectoryVisitPredicate
Same as IgnoreCaseExtensionDirectoryVisitPredicate, but doesn't accept directories as the result.
public | For Externalizable. |
public | Creates a new visitor for the given extension. |
public boolean | visitDirectory( Determines if the directory with the given name should be visited by the consumer. |
From: Object |
From: DirectoryVisitPredicate |
public FileOnlyIgnoreCaseExtensionDirectoryVisitPredicate(String dotext) throws NullPointerException
Creates a new visitor for the given extension.
dotextThe extension.
NullPointerExceptionIf the argument is
null
.Overridden from: DirectoryVisitPredicate
Determines if the directory with the given name should be visited by the consumer.
For synchronization, returning true
this means that the directory should be synchronized:
If DirectoryVisitPredicate.directoryVisitor(null
, then only the directory will be
created at the path.
If DirectoryVisitPredicate.directoryVisitor(null
, then the synchronization of
the subdirectory with its children will proceed without calling this method.
For file collection, returning true
will cause the parameter to be part of the result set.
nameThe name of the directory.
directoryThe directory itself.
true
if the directory should be visited.