Dotty Documentation

0.5.0-bin-SNAPSHOT

abstract class ZipArchive
extends AbstractFile with Equals

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

[-] Constructors

ZipArchive ( jpath: JPath )

[-] Members

[+] class DirEntry

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

[+] sealed abstract class Entry

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

[+] override val jpath : JPath

Returns the underlying Path if any and null otherwise.

[+] def absolute : AbstractFile

The absolute file, if this is a relative file.

[+] def container : AbstractFile

Returns the containing directory of this abstract file

[+] def create ( ) : Unit

Create a file on disk, if one does not exist already.

[+] def delete ( ) : Unit

Delete the underlying file or directory (recursively).

[+] private def ensureDir ( dirs: Map [ String, DirEntry ] , path: String , zipEntry: ZipEntry ) : DirEntry
[+] protected def getDir ( dirs: Map [ String, DirEntry ] , entry: ZipEntry ) : DirEntry
[+] def isDirectory : Boolean

Is this abstract file a directory?

[+] def lookupName ( name: String , directory: Boolean ) : AbstractFile

Returns the abstract file in this abstract directory with the specified name. If there is no such file, returns null. The argument directory tells whether to look for a directory or a regular file.

[+] def lookupNameUnchecked ( name: String , directory: Boolean ) : AbstractFile

Returns an abstract file with the given name. It does not check that it exists.

[+] def output : OutputStream

Returns an output stream for writing the file

[+] override def underlyingSource : Option [ AbstractFile ]

An underlying source, if known. Mostly, a zip/jar file.