package stream
- Alphabetic
- Public
- All
Value Members
-
object
FileStreams
Utilities for working with streams to and from files.
-
object
StreamUtils
General utilities for building streams
-
object
XmlPrettyPrinter
A streaming pretty printer for XML.
-
object
ZipStream
Provider of streams that take in zip entries and produces zipped data as output.
Provider of streams that take in zip entries and produces zipped data as output.
This offers a number of methods that will create Akka Streams stages that can be used to write zip archives. To write to your zip, you will send in a stream of ZipStream.Entry objects, which are an abstraction of a single entry in a zip archive.
The structure of a zip archive requires that a single entry is written to completion once it is started, so you may wish to organize the incoming stream so that it does not emit an
Entryuntil its data is available.For example, if the contents of a file are generated by a database query, you may wish to have the completion of the query produce the
Entryobject rather than immediately producing an entry that then executes a query to fetch the required data.