private static class AvaticaSqlException.PrintStreamOrWriter extends Object
| Modifier and Type | Class and Description |
|---|---|
private static class |
AvaticaSqlException.PrintStreamOrWriter.Type
Enumeration to differentiate between a PrintStream and a PrintWriter.
|
| Modifier and Type | Field and Description |
|---|---|
private PrintStream |
stream |
private AvaticaSqlException.PrintStreamOrWriter.Type |
type |
private PrintWriter |
writer |
| Constructor and Description |
|---|
PrintStreamOrWriter(PrintStream stream) |
PrintStreamOrWriter(PrintWriter writer) |
| Modifier and Type | Method and Description |
|---|---|
void |
println(String string)
Prints the given string to the the provided stream or writer.
|
private PrintStream stream
private PrintWriter writer
private final AvaticaSqlException.PrintStreamOrWriter.Type type
public PrintStreamOrWriter(PrintStream stream)
public PrintStreamOrWriter(PrintWriter writer)
public void println(String string)
string - The string to printCopyright © 2012–2018 The Apache Software Foundation. All rights reserved.