Package proguard.resources.file
Interface FilePool
- All Known Implementing Classes:
ResourceFilePool
public interface FilePool
Interface with methods related to file pools.
-
Method Summary
Modifier and TypeMethodDescriptiongetResourceFile(String fileName) Returns a ResourceFile from this pool, based on its name.default voidresourceFileAccept(String fileName, ResourceFileVisitor resourceFileVisitor) Applies the given ResourceFileVisitor to the instance with the given name, if it is present in this pool.Returns a Set of all resource file names in this resource file pool.default voidresourceFilesAccept(String fileNameFilter, ResourceFileVisitor resourceFileVisitor) Applies the given ResourceFileVisitor to all resource files in this pool matching the given file name filter.default voidresourceFilesAccept(List<String> fileNameFilter, ResourceFileVisitor resourceFileVisitor) Applies the given ResourceFileVisitor to all resource files in this pool matching the given file name filters.voidresourceFilesAccept(ResourceFileVisitor resourceFileVisitor) Applies the given ResourceFileVisitor to all instances in this pool.voidresourceFilesAccept(StringMatcher fileNameFilter, ResourceFileVisitor resourceFileVisitor) Applies the given ResourceFileVisitor to all resource files in this pool matching the given file name filter.
-
Method Details
-
resourceFileNames
Returns a Set of all resource file names in this resource file pool. -
getResourceFile
Returns a ResourceFile from this pool, based on its name. Returnsnullif the instance with the given name is not in the pool. -
resourceFilesAccept
Applies the given ResourceFileVisitor to all instances in this pool. -
resourceFilesAccept
Applies the given ResourceFileVisitor to all resource files in this pool matching the given file name filter. -
resourceFilesAccept
default void resourceFilesAccept(List<String> fileNameFilter, ResourceFileVisitor resourceFileVisitor) Applies the given ResourceFileVisitor to all resource files in this pool matching the given file name filters. -
resourceFilesAccept
Applies the given ResourceFileVisitor to all resource files in this pool matching the given file name filter. -
resourceFileAccept
Applies the given ResourceFileVisitor to the instance with the given name, if it is present in this pool.
-