Package org.eclipse.jetty.util
Class MultiReleaseJarFile
java.lang.Object
org.eclipse.jetty.util.MultiReleaseJarFile
- All Implemented Interfaces:
Closeable
,AutoCloseable
Utility class to handle a Multi Release Jar file
-
Constructor Summary
ConstructorDescriptionMultiReleaseJarFile
(Path jarFile) Construct a multi release jar file for the current JVM version, ignoring directories. -
Method Summary
-
Constructor Details
-
MultiReleaseJarFile
Construct a multi release jar file for the current JVM version, ignoring directories.- Parameters:
jarFile
- The file to open
-
-
Method Details
-
stream
- Returns:
- A stream of versioned entries from the jar, excluding
META-INF/versions
entries. - Throws:
IOException
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
-
toString
-