ZipInputStreamExtensions

better.files.Implicits.ZipInputStreamExtensions
implicit class ZipInputStreamExtensions(val in: ZipInputStream)

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

def foldMap[A](f: ZipInputStream => A): Iterator[A]

Apply f to the ZipInputStream for every entry in the archive.

Apply f to the ZipInputStream for every entry in the archive.

Attributes

f

The function to apply to the ZipInputStream. Can fail if it returns a lazy value, like Iterator, as the the entry will have been closed before the lazy value is evaluated.

def mapEntries[A](f: ZipEntry => A): Iterator[A]

Apply f on each ZipEntry in the archive, closing the entry after f has been applied.

Apply f on each ZipEntry in the archive, closing the entry after f has been applied.

Attributes

f

The function to apply to each ZipEntry. Can fail if it returns a lazy value, like Iterator, as the entry will have been closed before the lazy value is evaluated.

Concrete fields

val in: ZipInputStream