Package proguard.resources.file
Interface FilePool
-
- All Known Implementing Classes:
ResourceFilePool
public interface FilePool
Interface with methods related to file pools.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method 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.lang.String fileNameFilter, ResourceFileVisitor resourceFileVisitor)
Applies the given ResourceFileVisitor to all resource files in this pool matching the given file name filter.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.
-
-
-
Method Detail
-
resourceFileNames
java.util.Set<java.lang.String> resourceFileNames()
Returns a Set of all resource file names in this resource file pool.
-
getResourceFile
ResourceFile getResourceFile(java.lang.String fileName)
Returns a ResourceFile from this pool, based on its name. Returnsnull
if the instance with the given name is not in the pool.
-
resourceFilesAccept
void resourceFilesAccept(ResourceFileVisitor resourceFileVisitor)
Applies the given ResourceFileVisitor to all instances in this pool.
-
resourceFilesAccept
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.
-
resourceFilesAccept
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.
-
resourceFilesAccept
void resourceFilesAccept(StringMatcher fileNameFilter, ResourceFileVisitor resourceFileVisitor)
Applies the given ResourceFileVisitor to all resource files in this pool matching the given file name filter.
-
resourceFileAccept
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.
-
-