OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:TeeStream
(Results
1 - 2
of
2
) sorted by null
/prebuilts/jdk/jdk8/darwin-x86/sample/try-with-resources/src/
CustomAutoCloseableSample.java
62
*
TeeStream
will be closed automatically after the try block.
64
try (
TeeStream
teeStream
= new
TeeStream
(System.out, Paths.get("out.txt"));
65
PrintStream out = new PrintStream(
teeStream
)) {
75
* The
TeeStream
functionality is similar to the Unix tee utility.
76
*
TeeStream
implements AutoCloseable interface. See OutputStream for details.
78
public static class
TeeStream
extends OutputStream {
84
* Creates a
TeeStream
.
90
public
TeeStream
(OutputStream outputStream, Path outputFile) throws IOException
[
all
...]
/prebuilts/jdk/jdk8/linux-x86/sample/try-with-resources/src/
CustomAutoCloseableSample.java
62
*
TeeStream
will be closed automatically after the try block.
64
try (
TeeStream
teeStream
= new
TeeStream
(System.out, Paths.get("out.txt"));
65
PrintStream out = new PrintStream(
teeStream
)) {
75
* The
TeeStream
functionality is similar to the Unix tee utility.
76
*
TeeStream
implements AutoCloseable interface. See OutputStream for details.
78
public static class
TeeStream
extends OutputStream {
84
* Creates a
TeeStream
.
90
public
TeeStream
(OutputStream outputStream, Path outputFile) throws IOException
[
all
...]
Completed in 87 milliseconds