org.databrary.iteratee

ZipFile

object ZipFile

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ZipFile
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. class DeflatedEntry extends Entry

    An Entry to be archived using the DEFLATED method.

  2. class DeflatedStreamEntry extends DeflatedEntry with StreamEntry

  3. final class DirEntry extends Entry with StreamEntry

    A StreamEntry representing a directory (and so having no contents).

  4. class Entry extends ZipEntry

    More convenient interface for constructing ZipEntry.

  5. class StoredEntry extends Entry

    An Entry to be archived using the STORED method, which requires knowing the size and crc beforehand.

  6. type Stream = Either[ZipEntry, Bytes]

    Zip files are represented by a set of Left(ZipEntry) each followed by any number of Right(data) blocks.

  7. trait StreamEntry extends ZipEntry

    Specialization of ZipEntry that also provides the contents of the file, as used by flatZip.

Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  5. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  8. def fileEntry(root: File = new File("."), name: String, comment: String = "", stored: Boolean = false)(implicit ec: ExecutionContext): StreamEntry

    Create a StreamEntry from a file or directory on disk.

    Create a StreamEntry from a file or directory on disk.

    root

    Base directory in which to find file, defaulting to the current directory

    name

    Path to regular file or directory (within root if relative) and name to use in zip file. If name is a directory the result is an (empty) DirEntry.

    stored

    Store file uncompressed rather than deflated. While this may be more computationally efficient, it requires reading the whole file twice in order to calculate the checksum, which causes this call to block (and may fail if the file changes before being zipped).

  9. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. def flatZip(charset: Charset = ..., comment: String = "", level: Int = Deflater.DEFAULT_COMPRESSION, method: Int = ZipOutputStream.DEFLATED)(implicit ec: ExecutionContext): Enumeratee[StreamEntry, Bytes]

    Produce a zip file out of a StreamEntry sequence.

    Produce a zip file out of a StreamEntry sequence. Equivalent to zip with StreamEntry.getContents flattened out into the stream.

  11. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  12. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  13. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  15. final def notify(): Unit

    Definition Classes
    AnyRef
  16. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  17. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  18. def toString(): String

    Definition Classes
    AnyRef → Any
  19. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  20. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  21. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. def zip(charset: Charset = ..., comment: String = "", level: Int = Deflater.DEFAULT_COMPRESSION, method: Int = ZipOutputStream.DEFLATED)(implicit ec: ExecutionContext): Enumeratee[Stream, Bytes]

    Produce a zip file out of a Stream sequence.

    Produce a zip file out of a Stream sequence. See ZipOutputStream for the meaning of the arguments.

Inherited from AnyRef

Inherited from Any

Ungrouped