Class ZipFileResourceFinder

    • Constructor Detail

      • ZipFileResourceFinder

        public ZipFileResourceFinder​(java.util.zip.ZipFile zipFile)
    • Method Detail

      • toString

        public final java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • findResource

        @Nullable
        public final Resource findResource​(java.lang.String resourceName)
        Description copied from class: ResourceFinder
        Finds a resource by name and return it as a Resource object.
        Specified by:
        findResource in class ResourceFinder
        Parameters:
        resourceName - Designates the resource; typically structured by slashes ("/") like "com/foo/pkg/Bar.class"
        Returns:
        null if the resource could not be found