Interface ResourceFile.Finder
-
- All Superinterfaces:
java.lang.Cloneable
,it.tidalwave.util.spi.ExtendedFinderSupport<ResourceFile,ResourceFile.Finder>
,it.tidalwave.util.Finder<ResourceFile>
,java.io.Serializable
- All Known Implementing Classes:
ResourceFileFinderSupport
- Enclosing interface:
- ResourceFile
public static interface ResourceFile.Finder extends it.tidalwave.util.spi.ExtendedFinderSupport<ResourceFile,ResourceFile.Finder>
AResourceFile.Finder
for retrieving children ofResourceFile
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getName()
boolean
isRecursive()
ResourceFile.Finder
withName(java.lang.String name)
Sets the name of the child to find.ResourceFile.Finder
withRecursion(boolean recursion)
Sets the recursion mode for search.
-
-
-
Method Detail
-
withRecursion
@Nonnull ResourceFile.Finder withRecursion(boolean recursion)
Sets the recursion mode for search.- Parameters:
recursion
- whether the search must be recursive- Returns:
- a cloned finder
-
withName
@Nonnull ResourceFile.Finder withName(@Nonnull java.lang.String name)
Sets the name of the child to find.- Parameters:
name
- the name of the file- Returns:
- a cloned finder
-
getName
java.lang.String getName()
-
isRecursive
boolean isRecursive()
-
-