Package proguard.resources.file.visitor
Class ResourceFilePoolFiller
- java.lang.Object
-
- proguard.resources.file.visitor.ResourceFilePoolFiller
-
- All Implemented Interfaces:
ResourceFileVisitor
,KotlinModuleVisitor
public class ResourceFilePoolFiller extends java.lang.Object implements ResourceFileVisitor
Adds all visited resource files to a given resource file pool.
-
-
Constructor Summary
Constructors Constructor Description ResourceFilePoolFiller(ResourceFilePool resourceFilePool)
Creates a newResourceFilePoolFiller
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
visitAnyResourceFile(ResourceFile resourceFile)
Visits any ResourceFile instance.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface proguard.resources.file.visitor.ResourceFileVisitor
visitKotlinModule, visitResourceFile
-
-
-
-
Constructor Detail
-
ResourceFilePoolFiller
public ResourceFilePoolFiller(ResourceFilePool resourceFilePool)
Creates a newResourceFilePoolFiller
.- Parameters:
resourceFilePool
- the file pool to which all visited resource files are added.
-
-
Method Detail
-
visitAnyResourceFile
public void visitAnyResourceFile(ResourceFile resourceFile)
Description copied from interface:ResourceFileVisitor
Visits any ResourceFile instance. The more specific default implementations of this interface delegate to this method.Unlike most other visitor interfaces, this default implementation is empty, because most implementations only care about one type of resource file.
- Specified by:
visitAnyResourceFile
in interfaceResourceFileVisitor
-
-