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