object JarOps extends JarOps
- Annotations
- @experimental()
- Source
- JarOps.scala
- Alphabetic
- By Inheritance
- JarOps
- JarOps
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def jar(jar: Path, inputPaths: Loose.Agg[Path], manifest: Manifest, fileFilter: (Path, RelPath) => Boolean, includeDirs: Boolean, timestamp: Option[Long]): Unit
Create a JAR file with default inflation level.
Create a JAR file with default inflation level.
- jar
The final JAR file
- inputPaths
The input paths resembling the content of the JAR file. Files will be directly included in the root of the archive, whereas for directories their content is added to the root of the archive.
- manifest
The JAR Manifest
- fileFilter
A filter to support exclusions of selected files
- includeDirs
If
true
the JAR archive will contain directory entries. According to the ZIP specification, directory entries are not required. In the Java ecosystem, most JARs have directory entries, so including them may reduce compatibility issues. Directory entry names will result with a trailing/
.- timestamp
If specified, this timestamp is used as modification timestamp (mtime) for all entries in the JAR file. Having a stable timestamp may result in reproducible files, if all other content, including the JAR Manifest, keep stable.
- Definition Classes
- JarOps
- def jar(jar: Path, inputPaths: Loose.Agg[Path], manifest: JarManifest = JarManifest.Empty, fileFilter: (Path, RelPath) => Boolean = (_, _) => true, includeDirs: Boolean = false, timestamp: Option[Long] = None): Unit
Create a JAR file with default inflation level.
Create a JAR file with default inflation level.
- jar
The final JAR file
- inputPaths
The input paths resembling the content of the JAR file. Files will be directly included in the root of the archive, whereas for directories their content is added to the root of the archive.
- manifest
The JAR Manifest
- fileFilter
A filter to support exclusions of selected files
- includeDirs
If
true
the JAR archive will contain directory entries. According to the ZIP specification, directory entries are not required. In the Java ecosystem, most JARs have directory entries, so including them may reduce compatibility issues. Directory entry names will result with a trailing/
.- timestamp
If specified, this timestamp is used as modification timestamp (mtime) for all entries in the JAR file. Having a stable timestamp may result in reproducible files, if all other content, including the JAR Manifest, keep stable.
- Definition Classes
- JarOps
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)