Interface JarResourceVisitor

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface JarResourceVisitor
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    visit(String relativePath, JarResource resource)
     
  • Method Details

    • visit

      void visit(String relativePath, JarResource resource)
      Parameters:
      relativePath - The path of the file, relative to the root of the jar.
      resource - A resource in the Jar file. Please note that this object will be reused for the next object when this method is called again for the same jar file, so if you need to hold onto this object outside your visitor, use JarResource.retain().