| Modifier and Type | Class and Description |
|---|---|
| public static class | IO.Verbosity
Verbosity for simple logging: QUIET, INFO, VERBOSE, DEBUG |
| Modifier and Type | Field and Description |
|---|---|
| private static final String | |
| public final boolean | ansiSupported
Whether ansi support is available |
| public final PrintWriter | err
Preferred error output writer. |
| public final OutputStream | errorStream
Raw error output stream. |
| public final Reader | in
Preferred input reader. |
| public final InputStream | inputStream
Raw input stream. |
| public final PrintWriter | out
Preferred output writer. |
| public final OutputStream | outputStream
Raw output stream. |
| Access | Constructor and Description |
|---|---|
| public | IO(final InputStream inputStream, final OutputStream outputStream, final OutputStream errorStream)
Construct a new IO container. |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | |
| public IO. | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public void | |
| protected PrintWriter |
| ANSI_RENDER_WRITER | back to summary |
|---|---|
| private static final String ANSI_RENDER_WRITER | |
| ansiSupported | back to summary |
|---|---|
| public final boolean ansiSupported Whether ansi support is available | |
| err | back to summary |
|---|---|
| public final PrintWriter err Preferred error output writer. | |
| errorStream | back to summary |
|---|---|
| public final OutputStream errorStream Raw error output stream. | |
| in | back to summary |
|---|---|
| public final Reader in Preferred input reader. | |
| inputStream | back to summary |
|---|---|
| public final InputStream inputStream Raw input stream. | |
| out | back to summary |
|---|---|
| public final PrintWriter out Preferred output writer. | |
| outputStream | back to summary |
|---|---|
| public final OutputStream outputStream Raw output stream. | |
| IO | back to summary |
|---|---|
| public IO(final InputStream inputStream, final OutputStream outputStream, final OutputStream errorStream) Construct a new IO container. | |
| IO | back to summary |
|---|---|
| public IO() Construct a new IO container using system streams. | |
| close | back to summary |
|---|---|
| public void close() throws IOException Implements java. Close all streams.
| |
| flush | back to summary |
|---|---|
| public void flush() Flush both output streams. | |
| getVerbosity | back to summary |
|---|---|
| public IO. Returns the verbosity level. | |
| isDebug | back to summary |
|---|---|
| public boolean isDebug() Check if the verbosity level is set to For general usage, when debug output is required, it is better to use the logging facility instead. | |
| isInfo | back to summary |
|---|---|
| public boolean isInfo() Check if the verbosity level is set to | |
| isQuiet | back to summary |
|---|---|
| public boolean isQuiet() Check if the verbosity level is set to | |
| isVerbose | back to summary |
|---|---|
| public boolean isVerbose() Check if the verbosity level is set to | |
| setVerbosity | back to summary |
|---|---|
| public void setVerbosity(final IO. Set the verbosity level. | |
| tryConstructRenderWriter | back to summary |
|---|---|
| protected PrintWriter tryConstructRenderWriter(OutputStream stream) | |
| Modifier and Type | Field and Description |
|---|---|
| public static final IO. | |
| public static final IO. | |
| public final String | |
| public static final IO. | |
| public static final IO. |
| DEBUG | back to summary |
|---|---|
| public static final IO. | |
| INFO | back to summary |
|---|---|
| public static final IO. | |
| name | back to summary |
|---|---|
| public final String name | |
| QUIET | back to summary |
|---|---|
| public static final IO. | |
| VERBOSE | back to summary |
|---|---|
| public static final IO. | |
| Verbosity | back to summary |
|---|---|
| private Verbosity(final String name) | |
| forName | back to summary |
|---|---|
| public static IO. | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
| |