Class

org.gerweck.scala.util.stream.ZipStream

Entry

Related Doc: package ZipStream

Permalink

final class Entry extends AnyRef

An entry to be written into the zip file.

Source
ZipStream.scala
Note

These are NOT serializable, as they contain a stream Source.

Linear Supertypes
AnyRef, Any
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Entry
  2. AnyRef
  3. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Entry(name: String, data: Source[ByteString, _])

    Permalink

    name

    The name of the file within the archive. If your entry is meant to be in a folder, put the entire path into this field, separated by slashes. (Zip archives doesn't actually have the concept of a folder: they embed any nesting into the entry's name.)

    data

    the data that you wish to write into this entry. This entire source must be exhausted before the next entry can be started, so a stall here will hold up the entire stream. Similarly, a failure in this stream will fail the entire archive.

Value Members

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from Entry to any2stringadd[Entry] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (Entry, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from Entry to ArrowAssoc[Entry] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean

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

    Permalink
    Definition Classes
    Any
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. val data: Source[ByteString, _]

    Permalink

    the data that you wish to write into this entry.

    the data that you wish to write into this entry. This entire source must be exhausted before the next entry can be started, so a stall here will hold up the entire stream. Similarly, a failure in this stream will fail the entire archive.

  9. def ensuring(cond: (Entry) ⇒ Boolean, msg: ⇒ Any): Entry

    Permalink
    Implicit information
    This member is added by an implicit conversion from Entry to Ensuring[Entry] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  10. def ensuring(cond: (Entry) ⇒ Boolean): Entry

    Permalink
    Implicit information
    This member is added by an implicit conversion from Entry to Ensuring[Entry] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  11. def ensuring(cond: Boolean, msg: ⇒ Any): Entry

    Permalink
    Implicit information
    This member is added by an implicit conversion from Entry to Ensuring[Entry] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. def ensuring(cond: Boolean): Entry

    Permalink
    Implicit information
    This member is added by an implicit conversion from Entry to Ensuring[Entry] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  15. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from Entry to StringFormat[Entry] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  17. final def getClass(): Class[_]

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

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

    Permalink
    Definition Classes
    Any
  20. val name: String

    Permalink

    The name of the file within the archive.

    The name of the file within the archive. If your entry is meant to be in a folder, put the entire path into this field, separated by slashes. (Zip archives doesn't actually have the concept of a folder: they embed any nesting into the entry's name.)

  21. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  22. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  23. final def notifyAll(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  25. def toString(): String

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. def [B](y: B): (Entry, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from Entry to ArrowAssoc[Entry] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from Entry to any2stringadd[Entry]

Inherited by implicit conversion StringFormat from Entry to StringFormat[Entry]

Inherited by implicit conversion Ensuring from Entry to Ensuring[Entry]

Inherited by implicit conversion ArrowAssoc from Entry to ArrowAssoc[Entry]

Ungrouped