Package org.nuxeo.common.utils
Class JarUtils
java.lang.Object
org.nuxeo.common.utils.JarUtils
- Author:
- Bogdan Stefanescu
-
Method Summary
Modifier and TypeMethodDescriptionstatic ManifestgetDirectoryManifest(File file) static ManifestgetJarManifest(File file) static ManifestgetManifest(File file) static ManifestgetManifest(URL url) static URIstatic PathzipDirectory(Path source, Path target, CopyOption... options) Zips recursively as a jar the content ofsourceto thetargetzip file.
-
Method Details
-
getManifest
-
getDirectoryManifest
- Throws:
IOException
-
getJarManifest
- Throws:
IOException
-
getManifest
-
zipDirectory
Zips recursively as a jar the content ofsourceto thetargetzip file.- Throws:
IOException- Since:
- 9.3
-
toJarURI
- Since:
- 9.10
-