ManagedStreams

sbt.std.ManagedStreams
sealed trait ManagedStreams[Key] extends TaskStreams[Key]

Attributes

Graph
Supertypes
trait TaskStreams[Key]
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

def close(): Unit
def isClosed: Boolean
def open(): Unit

Inherited methods

def binary(sid: String): BufferedOutputStream

Provides an output stream for writing to the stream with the given ID.

Provides an output stream for writing to the stream with the given ID.

Attributes

Inherited from:
TaskStreams
def cacheDirectory: File

A cache directory that is unique to the context of this streams instance.

A cache directory that is unique to the context of this streams instance.

Attributes

Inherited from:
TaskStreams
def cacheStoreFactory: CacheStoreFactory

Attributes

Inherited from:
TaskStreams
def default: String

The default stream ID, used when an ID is not provided.

The default stream ID, used when an ID is not provided.

Attributes

Inherited from:
TaskStreams
def errorID: String

Attributes

Inherited from:
TaskStreams
def getInput(key: Key, sid: String): Input

Attributes

Inherited from:
TaskStreams
def getOutput(sid: String): Output

Attributes

Inherited from:
TaskStreams
def key: Key

Attributes

Inherited from:
TaskStreams
def log(sid: String): ManagedLogger

Creates a Logger that logs to stream with ID sid.

Creates a Logger that logs to stream with ID sid.

Attributes

Inherited from:
TaskStreams
def outID: String

Attributes

Inherited from:
TaskStreams
final def readBinary(a: Key, sid: Option[String]): BufferedInputStream

Attributes

Inherited from:
TaskStreams
def readBinary(a: Key, sid: String): BufferedInputStream

Provides an output stream to read from the stream sid for key. It is the caller's responsibility to coordinate writing to the stream. That is, no synchronization or ordering is provided and so this method should only be called when writing is complete.

Provides an output stream to read from the stream sid for key. It is the caller's responsibility to coordinate writing to the stream. That is, no synchronization or ordering is provided and so this method should only be called when writing is complete.

Attributes

Inherited from:
TaskStreams
final def readText(a: Key, sid: Option[String]): BufferedReader

Attributes

Inherited from:
TaskStreams
def readText(key: Key, sid: String): BufferedReader

Provides a reader to read text from the stream sid for key. It is the caller's responsibility to coordinate writing to the stream. That is, no synchronization or ordering is provided and so this method should only be called when writing is complete.

Provides a reader to read text from the stream sid for key. It is the caller's responsibility to coordinate writing to the stream. That is, no synchronization or ordering is provided and so this method should only be called when writing is complete.

Attributes

Inherited from:
TaskStreams
def text(sid: String): PrintWriter

Provides a writer for writing text to the stream with the given ID.

Provides a writer for writing text to the stream with the given ID.

Attributes

Inherited from:
TaskStreams

Inherited fields

final lazy val log: ManagedLogger

Obtains the default logger.

Obtains the default logger.

Attributes

Inherited from:
TaskStreams