ZipArchive

abstract class ZipArchive(val jpath: JPath, release: Option[String]) extends AbstractFile with Equals

''Note: This library is considered experimental and should not be used unless you know what you are doing.''

Companion
object

Type members

Classlikes

class DirEntry(path: String, parent: Entry) extends Entry

''Note: This library is considered experimental and should not be used unless you know what you are doing.''

''Note: This library is considered experimental and should not be used unless you know what you are doing.''

sealed abstract class Entry(path: String, val parent: Entry) extends VirtualFile

''Note: This library is considered experimental and should not be used unless you know what you are doing.''

''Note: This library is considered experimental and should not be used unless you know what you are doing.''

Value members

Abstract methods

def close(): Unit

Concrete methods

def create(): Unit
def delete(): Unit
def lookupName(name: String, directory: Boolean): AbstractFile
Definition Classes

Inherited methods

final def ++[B >: AbstractFile](suffix: IterableOnce[B]): Iterable[B]
Inherited from
IterableOps

Returns the absolute path of this abstract file.

Returns the absolute path of this abstract file.

Inherited from
AbstractFile
Inherited from
IterableOnceOps

Returns a buffered output stream for writing the file - defaults to out

Returns a buffered output stream for writing the file - defaults to out

Inherited from
AbstractFile
def canEqual(that: Any): Boolean
Inherited from
Equals

Returns the path of this abstract file in a canonical form.

Returns the path of this abstract file in a canonical form.

Inherited from
AbstractFile
Inherited from
IterableOps
def concat[B >: AbstractFile](suffix: IterableOnce[B]): Iterable[B]
Inherited from
IterableOps
def copyToArray[B >: AbstractFile](xs: Array[B], start: Int, len: Int): Int
Inherited from
IterableOnceOps
@deprecatedOverriding("This should always forward to the 3-arg version of this method", "2.13.4")
def copyToArray[B >: AbstractFile](xs: Array[B], start: Int): Int
Inherited from
IterableOnceOps
@deprecatedOverriding("This should always forward to the 3-arg version of this method", "2.13.4")
def copyToArray[B >: AbstractFile](xs: Array[B]): Int
Inherited from
IterableOnceOps
def corresponds[B](that: IterableOnce[B])(p: (AbstractFile, B) => Boolean): Boolean
Inherited from
IterableOnceOps
Inherited from
IterableOnceOps
Inherited from
IterableOps

Does this abstract file denote an existing file?

Does this abstract file denote an existing file?

Inherited from
AbstractFile
def file: JFile

Returns the underlying File if any and null otherwise.

Returns the underlying File if any and null otherwise.

Inherited from
AbstractFile

Get the file in this directory with the given name, creating an empty file if it does not already existing.

Get the file in this directory with the given name, creating an empty file if it does not already existing.

Inherited from
AbstractFile
Inherited from
IterableOps
def flatten[B](implicit asIterable: AbstractFile => IterableOnce[B]): Iterable[B]
Inherited from
IterableOps
def fold[A1 >: AbstractFile](z: A1)(op: (A1, A1) => A1): A1
Inherited from
IterableOnceOps
def foldLeft[B](z: B)(op: (B, AbstractFile) => B): B
Inherited from
IterableOnceOps
def foldRight[B](z: B)(op: (AbstractFile, B) => B): B
Inherited from
IterableOnceOps
def foreach[U](f: AbstractFile => U): Unit
Inherited from
IterableOnceOps
Inherited from
IterableOps
def groupMap[K, B](key: AbstractFile => K)(f: AbstractFile => B): Map[K, Iterable[B]]
Inherited from
IterableOps
def groupMapReduce[K, B](key: AbstractFile => K)(f: AbstractFile => B)(reduce: (B, B) => B): Map[K, B]
Inherited from
IterableOps
Inherited from
IterableOps

Checks extension case insensitively.

Checks extension case insensitively.

Inherited from
AbstractFile
Inherited from
IterableOps

returns an input stream so the file can be read

returns an input stream so the file can be read

Inherited from
AbstractFile

Does this abstract file represent something which can contain classfiles?

Does this abstract file represent something which can contain classfiles?

Inherited from
AbstractFile
Inherited from
IterableOnceOps
Definition Classes
Inherited from
IterableOps

Does this abstract file correspond to something on-disk?

Does this abstract file correspond to something on-disk?

Inherited from
AbstractFile
Inherited from
Iterable

Returns all abstract subfiles of this abstract directory.

Returns all abstract subfiles of this abstract directory.

Inherited from
AbstractFile
Inherited from
IterableOnce
Inherited from
IterableOps

Returns the time that this abstract file was last modified.

Returns the time that this abstract file was last modified.

Inherited from
AbstractFile
Inherited from
Iterable
final def lookupPath(parts: Seq[String], directory: Boolean): AbstractFile

Drill down through subdirs looking for the target, as in lookupName. Ths target name is the last of parts.

Drill down through subdirs looking for the target, as in lookupName. Ths target name is the last of parts.

Inherited from
AbstractFile

Return an abstract file that does not check that path denotes an existing file.

Return an abstract file that does not check that path denotes an existing file.

Inherited from
AbstractFile
def map[B](f: AbstractFile => B): Iterable[B]
Inherited from
IterableOps
def max[B >: AbstractFile](implicit ord: Ordering[B]): AbstractFile
Inherited from
IterableOnceOps
def maxBy[B](f: AbstractFile => B)(implicit cmp: Ordering[B]): AbstractFile
Inherited from
IterableOnceOps
def maxByOption[B](f: AbstractFile => B)(implicit cmp: Ordering[B]): Option[AbstractFile]
Inherited from
IterableOnceOps
def maxOption[B >: AbstractFile](implicit ord: Ordering[B]): Option[AbstractFile]
Inherited from
IterableOnceOps
def min[B >: AbstractFile](implicit ord: Ordering[B]): AbstractFile
Inherited from
IterableOnceOps
def minBy[B](f: AbstractFile => B)(implicit cmp: Ordering[B]): AbstractFile
Inherited from
IterableOnceOps
def minByOption[B](f: AbstractFile => B)(implicit cmp: Ordering[B]): Option[AbstractFile]
Inherited from
IterableOnceOps
def minOption[B >: AbstractFile](implicit ord: Ordering[B]): Option[AbstractFile]
Inherited from
IterableOnceOps
final def mkString: String
Inherited from
IterableOnceOps
final def mkString(sep: String): String
Inherited from
IterableOnceOps
final def mkString(start: String, sep: String, end: String): String
Inherited from
IterableOnceOps
def name: String

Returns the name of this abstract file.

Returns the name of this abstract file.

Inherited from
AbstractFile
@deprecatedOverriding("nonEmpty is defined as !isEmpty; override isEmpty instead", "2.13.0")
Inherited from
IterableOnceOps
def partitionMap[A1, A2](f: AbstractFile => Either[A1, A2]): (Iterable[A1], Iterable[A2])
Inherited from
IterableOps
def path: String

Returns the path of this abstract file.

Returns the path of this abstract file.

Inherited from
AbstractFile
def product[B >: AbstractFile](implicit num: Numeric[B]): B
Inherited from
IterableOnceOps
def reduce[B >: AbstractFile](op: (B, B) => B): B
Inherited from
IterableOnceOps
def reduceLeft[B >: AbstractFile](op: (B, AbstractFile) => B): B
Inherited from
IterableOnceOps
def reduceLeftOption[B >: AbstractFile](op: (B, AbstractFile) => B): Option[B]
Inherited from
IterableOnceOps
def reduceOption[B >: AbstractFile](op: (B, B) => B): Option[B]
Inherited from
IterableOnceOps
def reduceRight[B >: AbstractFile](op: (AbstractFile, B) => B): B
Inherited from
IterableOnceOps
def reduceRightOption[B >: AbstractFile](op: (AbstractFile, B) => B): Option[B]
Inherited from
IterableOnceOps
Inherited from
IterableOnceOps
def scan[B >: AbstractFile](z: B)(op: (B, B) => B): Iterable[B]
Inherited from
IterableOps
def scanLeft[B](z: B)(op: (B, AbstractFile) => B): Iterable[B]
Inherited from
IterableOps
def scanRight[B](z: B)(op: (AbstractFile, B) => B): Iterable[B]
Inherited from
IterableOps
def size: Int
Inherited from
IterableOnceOps
def sizeCompare(that: Iterable[_]): Int
Inherited from
IterableOps
def sizeCompare(otherSize: Int): Int
Inherited from
IterableOps
Inherited from
IterableOps

size of this file if it is a concrete file.

size of this file if it is a concrete file.

Inherited from
AbstractFile
def slice(from: Int, until: Int): Iterable[AbstractFile]
Inherited from
IterableOps
Inherited from
IterableOps
Inherited from
IterableOps
Definition Classes
Inherited from
IterableOps
def stepper[S <: Stepper[_]](implicit shape: StepperShape[AbstractFile, S]): S
Inherited from
IterableOnce

Get the subdirectory with a given name, creating it if it does not already exist.

Get the subdirectory with a given name, creating it if it does not already exist.

Inherited from
AbstractFile
def sum[B >: AbstractFile](implicit num: Numeric[B]): B
Inherited from
IterableOnceOps
Inherited from
IterableOps
override def tapEach[U](f: AbstractFile => U): Iterable[AbstractFile]
Definition Classes
Inherited from
IterableOps
def to[C1](factory: Factory[AbstractFile, C1]): C1
Inherited from
IterableOnceOps
def toArray[B >: AbstractFile](implicit ClassTag[B]): Array[B]
Inherited from
IterableOnceOps
final def toBuffer[B >: AbstractFile]: Buffer[B]
Inherited from
IterableOnceOps
@throws(scala.Predef.classOf[java.io.IOException])

Returns contents of file (if applicable) in a byte array.

Returns contents of file (if applicable) in a byte array.

Inherited from
AbstractFile
@throws(scala.Predef.classOf[java.io.IOException])

Returns contents of file (if applicable) in a Char array. warning: use Global.getSourceFile() to use the proper encoding when converting to the char array.

Returns contents of file (if applicable) in a Char array. warning: use Global.getSourceFile() to use the proper encoding when converting to the char array.

Inherited from
AbstractFile
Inherited from
Iterable
def toMap[K, V](implicit ev: AbstractFile <:< (K, V)): Map[K, V]
Inherited from
IterableOnceOps
def toSet[B >: AbstractFile]: Set[B]
Inherited from
IterableOnceOps
override def toString(): String

Returns the path of this abstract file.

Returns the path of this abstract file.

Definition Classes
Inherited from
AbstractFile
def toURL: URL
Inherited from
AbstractFile
def transpose[B](implicit asIterable: AbstractFile => Iterable[B]): Iterable[Iterable[B]]
Inherited from
IterableOps
def unzip[A1, A2](implicit asPair: AbstractFile => (A1, A2)): (Iterable[A1], Iterable[A2])
Inherited from
IterableOps
def unzip3[A1, A2, A3](implicit asTriple: AbstractFile => (A1, A2, A3)): (Iterable[A1], Iterable[A2], Iterable[A3])
Inherited from
IterableOps
Inherited from
IterableOps
def zip[B](that: IterableOnce[B]): Iterable[(AbstractFile, B)]
Inherited from
IterableOps
def zipAll[A1 >: AbstractFile, B](that: Iterable[B], thisElem: A1, thatElem: B): Iterable[(A1, B)]
Inherited from
IterableOps

Deprecated and Inherited methods

@deprecated("Use ++ instead of ++: for collections of type Iterable", "2.13.0")
def ++:[B >: AbstractFile](that: IterableOnce[B]): Iterable[B]
Deprecated
Inherited from
IterableOps
@inline @deprecated("Use foldLeft instead of /:", "2.13.0")
final def /:[B](z: B)(op: (B, AbstractFile) => B): B
Deprecated
Inherited from
IterableOnceOps
@inline @deprecated("Use foldRight instead of :\\", "2.13.0")
final def :\[B](z: B)(op: (AbstractFile, B) => B): B
Deprecated
Inherited from
IterableOnceOps
@deprecated("`aggregate` is not relevant for sequential collections. Use `foldLeft(z)(seqop)` instead.", "2.13.0")
def aggregate[B](z: => B)(seqop: (B, AbstractFile) => B, combop: (B, B) => B): B
Deprecated
Inherited from
IterableOnceOps
@inline @deprecatedOverriding("Use iterableFactory instead", "2.13.0") @deprecated("Use iterableFactory instead", "2.13.0")
Deprecated
Inherited from
IterableOps
@inline @deprecated("Use `dest ++= coll` instead", "2.13.0")
final def copyToBuffer[B >: AbstractFile](dest: Buffer[B]): Unit
Deprecated
Inherited from
IterableOnceOps
@deprecated("Check .knownSize instead of .hasDefiniteSize for more actionable information (see scaladoc for details)", "2.13.0")
Deprecated
Inherited from
IterableOnceOps
@deprecated("Use coll instead of repr in a collection implementation, use the collection value itself from the outside", "2.13.0")
Deprecated
Inherited from
IterableOps
@deprecated("Iterable.seq always returns the iterable itself", "2.13.0")
Deprecated
Inherited from
Iterable
@inline @deprecated("Use .iterator instead of .toIterator", "2.13.0")
Deprecated
Inherited from
IterableOnceOps
@inline @deprecated("Use .to(LazyList) instead of .toStream", "2.13.0")
Deprecated
Inherited from
IterableOnceOps
@deprecated("Use toIterable instead", "2.13.0")
Deprecated
Inherited from
IterableOps
@deprecated("Use .view.slice(from, until) instead of .view(from, until)", "2.13.0")
def view(from: Int, until: Int): View[AbstractFile]
Deprecated
Inherited from
IterableOps

Concrete fields

override val jpath: JPath

Inherited fields

Inherited from
AbstractFile