FileBuilder
Used when creating scala.sys.process.ProcessBuilder.Source and/or scala.sys.process.ProcessBuilder.Sink from a file.
Attributes
- Source
- ProcessBuilder.scala
- Graph
-
- Supertypes
Members list
Value members
Abstract methods
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
ProcessBuilderthat appendsfto this file when run - Source
- ProcessBuilder.scala
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
ProcessBuilderthat appendsuto this file when run - Source
- ProcessBuilder.scala
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
ProcessBuilderthat appendsito 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
ProcessBuilderthat appendsp'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
ProcessBuilderthat pipesb's output to this process - Inherited from:
- Sink
- Source
- ProcessBuilder.scala
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
ProcessBuilderthat reads input fromin - Inherited from:
- Sink
- Source
- ProcessBuilder.scala
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
URLto read from as input
Attributes
- Returns
-
a
ProcessBuilderthat reads input fromf - Inherited from:
- Sink
- Source
- ProcessBuilder.scala
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
ProcessBuilderthat reads input fromf - 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
ProcessBuilderthat pipes output tob - Inherited from:
- Source
- Source
- ProcessBuilder.scala
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
ProcessBuilderthat redirects output toout - Inherited from:
- Source
- Source
- ProcessBuilder.scala
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
ProcessBuilderthat redirects output tof - Inherited from:
- Source
- Source
- ProcessBuilder.scala
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
ProcessBuilderthat appends output tof - 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
Attributes
- Inherited from:
- Sink
- Source
- ProcessBuilder.scala
Attributes
- Inherited from:
- Source
- Source
- ProcessBuilder.scala