public final class Env extends Object
OptionProcessor
operates in. Streams can be
used to read and write data provided by the user. It is also possible
to obtain current user directory. In future this class may be extended
with additional new getters that will describe the operating environment
in greater detail.Modifier and Type | Method and Description |
---|---|
File |
getCurrentDirectory()
The directory relative file operations shall be relative to.
|
PrintStream |
getErrorStream()
Get an output stream to which error messages may be sent.
|
InputStream |
getInputStream()
Get an input stream that may supply additional data.
|
PrintStream |
getOutputStream()
Get an output stream to which data may be sent.
|
public PrintStream getOutputStream()
public PrintStream getErrorStream()
public File getCurrentDirectory()
CommandLine
.public InputStream getInputStream()
Built on August 26 2014. | Portions Copyright 1997-2014 Sun Microsystems, Inc. All rights reserved.