|
FlexDoc/Javadoc 2.0 Demo Java Doc |
Each of the above categories has an associated unique Type.
Nested Class Summary |
||
static enum |
The type of a Redirect.
|
Field Summary |
||
static final ProcessBuilder.Redirect |
Indicates that subprocess output will be discarded.
|
|
static final ProcessBuilder.Redirect |
Indicates that subprocess I/O source or destination will be the
same as those of the current process.
|
|
static final ProcessBuilder.Redirect |
Indicates that subprocess I/O will be connected to the
current Java process over a pipe.
|
Method Summary |
||
static ProcessBuilder.Redirect |
Returns a redirect to append to the specified file.
|
|
boolean |
Compares the specified object with this Redirect for
equality.
|
|
file()
Returns the File source or destination associated
with this redirect, or null if there is no such file.
|
||
static ProcessBuilder.Redirect |
Returns a redirect to read from the specified file.
|
|
int |
hashCode()
Returns a hash code value for this Redirect.
|
|
static ProcessBuilder.Redirect |
Returns a redirect to write to the specified file.
|
|
abstract ProcessBuilder.Redirect.Type |
type()
Returns the type of this Redirect.
|
Methods inherited from class java.lang.Object |
It will always be true that
Redirect.PIPE.file() == null &&
Redirect.PIPE.type() == Redirect.Type.PIPE
It will always be true that
Redirect.INHERIT.file() == null &&
Redirect.INHERIT.type() == Redirect.Type.INHERIT
It will always be true that
Redirect.DISCARD.file() is the filename appropriate for the operating system
and may be null &&
Redirect.DISCARD.type() == Redirect.Type.WRITE
public abstract ProcessBuilder.Redirect.Type type |
() |
public File file |
() |
public static ProcessBuilder.Redirect from |
(File file) |
It will always be true that
Redirect.from(file).file() == file &&
Redirect.from(file).type() == Redirect.Type.READ
public static ProcessBuilder.Redirect to |
(File file) |
It will always be true that
Redirect.to(file).file() == file &&
Redirect.to(file).type() == Redirect.Type.WRITE
public static ProcessBuilder.Redirect appendTo |
(File file) |
It will always be true that
Redirect.appendTo(file).file() == file &&
Redirect.appendTo(file).type() == Redirect.Type.APPEND
public boolean equals |
(Object obj) |
public int hashCode |
() |
|
FlexDoc/Javadoc 2.0 Demo Java Doc |