public interface FilePool
Modifier and Type | Method and Description |
---|---|
ResourceFile |
getResourceFile(java.lang.String fileName)
Returns a ResourceFile from this pool, based on its name.
|
default void |
resourceFileAccept(java.lang.String fileName,
ResourceFileVisitor resourceFileVisitor)
Applies the given ResourceFileVisitor to the instance with the given name, if it is present in
this pool.
|
java.util.Set<java.lang.String> |
resourceFileNames()
Returns a Set of all resource file names in this resource file pool.
|
default void |
resourceFilesAccept(java.util.List<java.lang.String> fileNameFilter,
ResourceFileVisitor resourceFileVisitor)
Applies the given ResourceFileVisitor to all resource files in this pool matching the given
file name filters.
|
void |
resourceFilesAccept(ResourceFileVisitor resourceFileVisitor)
Applies the given ResourceFileVisitor to all instances in this pool.
|
void |
resourceFilesAccept(StringMatcher fileNameFilter,
ResourceFileVisitor resourceFileVisitor)
Applies the given ResourceFileVisitor to all resource files in this pool matching the given
file name filter.
|
default void |
resourceFilesAccept(java.lang.String fileNameFilter,
ResourceFileVisitor resourceFileVisitor)
Applies the given ResourceFileVisitor to all resource files in this pool matching the given
file name filter.
|
java.util.Set<java.lang.String> resourceFileNames()
ResourceFile getResourceFile(java.lang.String fileName)
null
if the
instance with the given name is not in the pool.void resourceFilesAccept(ResourceFileVisitor resourceFileVisitor)
default void resourceFilesAccept(java.lang.String fileNameFilter, ResourceFileVisitor resourceFileVisitor)
default void resourceFilesAccept(java.util.List<java.lang.String> fileNameFilter, ResourceFileVisitor resourceFileVisitor)
void resourceFilesAccept(StringMatcher fileNameFilter, ResourceFileVisitor resourceFileVisitor)
default void resourceFileAccept(java.lang.String fileName, ResourceFileVisitor resourceFileVisitor)