object unzip
- Alphabetic
- By Inheritance
- unzip
- 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
- def apply(source: Path, dest: Path, excludePatterns: Seq[Regex] = List(), includePatterns: Seq[Regex] = List()): Path
Extract the given zip file into the destination directory
Extract the given zip file into the destination directory
- source
An
os.Pathcontaining a zip file- dest
The path to the destination directory for extracted files.
- excludePatterns
A list of regular expression patterns to exclude files during extraction. (Optional)
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def list(source: Path, excludePatterns: Seq[Regex] = List(), includePatterns: Seq[Regex] = List()): Generator[SubPath]
Lists the contents of the given zip file without extracting it
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def stream(source: Readable, dest: Path, excludePatterns: Seq[Regex] = List(), includePatterns: Seq[Regex] = List()): Unit
Unzips a ZIP data stream represented by a geny.Readable and extracts it to a destination directory.
Unzips a ZIP data stream represented by a geny.Readable and extracts it to a destination directory.
- source
A geny.Readable object representing the ZIP data stream.
- dest
The path to the destination directory for extracted files.
- excludePatterns
A list of regular expression patterns to exclude files during extraction. (Optional)
- def streamRaw(source: Readable, excludePatterns: Seq[Regex] = List(), includePatterns: Seq[Regex] = List()): geny.Generator[(ZipEntry, InputStream)]
Low-level api that streams the contents of the given zip file: takes a
geny.Reaableproviding the bytes of the zip file, and returns ageny.GeneratorcontainingZipEntrys and the underlyingZipInputStreamrepresenting the entries in the zip file. - final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- 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()