FileBuilder

scala.sys.process.ProcessBuilder.FileBuilder
trait FileBuilder extends Sink, Source

Attributes

Source
ProcessBuilder.scala
Graph
Supertypes
trait Source
trait Sink
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

def #<<(f: File): ProcessBuilder

Appends the contents of a java.io.File to this file.

Appends the contents of a java.io.File to this file.

Value parameters

f

the file whose contents will be appended

Attributes

Returns

a ProcessBuilder that appends f to this file when run

Source
ProcessBuilder.scala
def #<<(u: URL): ProcessBuilder

Appends the contents from a java.net.URL to this file.

Appends the contents from a java.net.URL to this file.

Value parameters

u

the URL whose contents will be appended

Attributes

Returns

a ProcessBuilder that appends u to this file when run

Source
ProcessBuilder.scala
def #<<(i: => InputStream): ProcessBuilder

Appends the contents of a java.io.InputStream to this file.

Appends the contents of a java.io.InputStream to this file.

Value parameters

i

the input stream whose contents will be appended

Attributes

Returns

a ProcessBuilder that appends i to this file when run

Source
ProcessBuilder.scala

Appends the contents of a scala.sys.process.ProcessBuilder to this file.

Appends the contents of a scala.sys.process.ProcessBuilder to this file.

Value parameters

p

the process builder whose output will be appended

Attributes

Returns

a ProcessBuilder that appends p's output to this file when run

Source
ProcessBuilder.scala

Inherited methods

Reads the output of a scala.sys.process.ProcessBuilder into the input stream of this process.

Reads the output of a scala.sys.process.ProcessBuilder into the input stream of this process.

Value parameters

b

the process builder whose output will be used as input to this process

Attributes

Returns

a ProcessBuilder that pipes b's output to this process

Inherited from:
Sink
Source
ProcessBuilder.scala
def #<(in: => InputStream): ProcessBuilder

Reads the given InputStream into the input stream of this process. The argument is call-by-name, so the stream is recreated, read, and closed each time this process is executed.

Reads the given InputStream into the input stream of this process. The argument is call-by-name, so the stream is recreated, read, and closed each time this process is executed.

Value parameters

in

the input stream to read from, created anew for each execution

Attributes

Returns

a ProcessBuilder that reads input from in

Inherited from:
Sink
Source
ProcessBuilder.scala
def #<(f: URL): ProcessBuilder

Reads the given URL into the input stream of this process.

Reads the given URL into the input stream of this process.

Value parameters

f

the URL to read from as input

Attributes

Returns

a ProcessBuilder that reads input from f

Inherited from:
Sink
Source
ProcessBuilder.scala
def #<(f: File): ProcessBuilder

Reads the given file into the input stream of this process.

Reads the given file into the input stream of this process.

Value parameters

f

the file to read from as input

Attributes

Returns

a ProcessBuilder that reads input from f

Inherited from:
Sink
Source
ProcessBuilder.scala

Writes the output stream of this process to a scala.sys.process.ProcessBuilder.

Writes the output stream of this process to a scala.sys.process.ProcessBuilder.

Value parameters

b

the process builder to receive this process's output as input

Attributes

Returns

a ProcessBuilder that pipes output to b

Inherited from:
Source
Source
ProcessBuilder.scala
def #>(out: => OutputStream): ProcessBuilder

Writes the output stream of this process to the given OutputStream. The argument is call-by-name, so the stream is recreated, written, and closed each time this process is executed.

Writes the output stream of this process to the given OutputStream. The argument is call-by-name, so the stream is recreated, written, and closed each time this process is executed.

Value parameters

out

the output stream to write to, created anew for each execution

Attributes

Returns

a ProcessBuilder that redirects output to out

Inherited from:
Source
Source
ProcessBuilder.scala
def #>(f: File): ProcessBuilder

Writes the output stream of this process to the given file.

Writes the output stream of this process to the given file.

Value parameters

f

the file to write the output to

Attributes

Returns

a ProcessBuilder that redirects output to f

Inherited from:
Source
Source
ProcessBuilder.scala
def #>>(f: File): ProcessBuilder

Appends the output stream of this process to the given file.

Appends the output stream of this process to the given file.

Value parameters

f

the file to append the output to

Attributes

Returns

a ProcessBuilder that appends output to f

Inherited from:
Source
Source
ProcessBuilder.scala

Returns a scala.sys.process.ProcessBuilder representing this Source.

Returns a scala.sys.process.ProcessBuilder representing this Source.

Attributes

Inherited from:
Source
Source
ProcessBuilder.scala

Inherited and Abstract methods

protected def toSink: ProcessBuilder

Attributes

Inherited from:
Sink
Source
ProcessBuilder.scala
protected def toSource: ProcessBuilder

Attributes

Inherited from:
Source
Source
ProcessBuilder.scala