|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.shelbie.core.console.util.Streams
public class Streams
the Streams utility class holds streams related stuff.
| Method Summary | |
|---|---|
static PrintStream |
unwrapStream(PrintStream stream)
The System.out PrintStream provided by Gogo is itself a wrapper to the real interesting PrintStream. |
static PrintStream |
wrap(PrintStream stream)
Wrap the given PrintStream into an Ansi capable PrintStream. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static PrintStream wrap(PrintStream stream)
PrintStream into an Ansi capable PrintStream.
stream - stream to be wrapped
public static PrintStream unwrapStream(PrintStream stream)
System.out PrintStream provided by Gogo is itself a wrapper to the real interesting PrintStream.
If we don't extract that stream, we'll hit some infinite recursion issue, and that's not cool.
stream - Potential Gogo stream
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||