Package proguard.resources.file.visitor
Class MultiResourceFileVisitor
- java.lang.Object
-
- proguard.resources.file.visitor.MultiResourceFileVisitor
-
- All Implemented Interfaces:
ResourceFileVisitor
,KotlinModuleVisitor
public class MultiResourceFileVisitor extends java.lang.Object implements ResourceFileVisitor
ThisResourceFileVisitor
delegates all visits to allResourceFileVisitor
instances in the given list.
-
-
Constructor Summary
Constructors Constructor Description MultiResourceFileVisitor(ResourceFileVisitor... resourceFileVisitors)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addResourceFileVisitor(ResourceFileVisitor visitor)
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
-
MultiResourceFileVisitor
public MultiResourceFileVisitor(ResourceFileVisitor... resourceFileVisitors)
-
-
Method Detail
-
addResourceFileVisitor
public void addResourceFileVisitor(ResourceFileVisitor visitor)
-
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
-
-