Class JarFile

java.lang.Object
java.util.zip.ZipFile
java.util.jar.JarFile
org.springframework.boot.loader.jar.JarFile
All Implemented Interfaces:
Closeable, AutoCloseable, Iterable<JarEntry>

public class JarFile extends JarFile implements Iterable<JarEntry>
Extended variant of JarFile that behaves in the same way but offers the following additional functionality.
  • A nested JarFile can be obtained based on any directory entry.
  • A nested JarFile can be obtained for embedded JAR files (as long as their entry is not compressed).
Since:
1.0.0
Author:
Phillip Webb, Andy Wilkinson