|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.liferay.portal.kernel.test.ConsoleTestUtil
public class ConsoleTestUtil
| Constructor Summary | |
|---|---|
ConsoleTestUtil()
|
|
| Method Summary | |
|---|---|
static UnsyncByteArrayOutputStream |
hijackStdErr()
|
static UnsyncByteArrayOutputStream |
hijackStdOut()
|
static java.lang.String |
restoreStdErr(UnsyncByteArrayOutputStream unsyncByteArrayOutputStream)
|
static java.lang.String |
restoreStdOut(UnsyncByteArrayOutputStream unsyncByteArrayOutputStream)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConsoleTestUtil()
| Method Detail |
|---|
public static UnsyncByteArrayOutputStream hijackStdErr()
public static UnsyncByteArrayOutputStream hijackStdOut()
public static java.lang.String restoreStdErr(UnsyncByteArrayOutputStream unsyncByteArrayOutputStream)
throws java.io.UnsupportedEncodingException
java.io.UnsupportedEncodingException
public static java.lang.String restoreStdOut(UnsyncByteArrayOutputStream unsyncByteArrayOutputStream)
throws java.io.UnsupportedEncodingException
java.io.UnsupportedEncodingException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||