类 OutputCapture.SystemCapture
java.lang.Object
cn.taketoday.framework.test.system.OutputCapture.SystemCapture
- 封闭类:
- OutputCapture
A capture session that captures
System.out and System.err.-
字段概要
字段修饰符和类型字段说明private final List<OutputCapture.CapturedString>private final OutputCapture.PrintStreamCaptureprivate final Objectprivate final Runnableprivate final OutputCapture.PrintStreamCapture -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明(专用程序包) voidappend(StringBuilder builder, Predicate<OutputCapture.Type> filter) private voidprivate voidcaptureErr(String string) private voidcaptureOut(String string) (专用程序包) voidrelease()(专用程序包) voidreset()
-
字段详细资料
-
onCapture
-
monitor
-
out
-
err
-
capturedStrings
-
-
构造器详细资料
-
SystemCapture
SystemCapture(Runnable onCapture)
-
-
方法详细资料
-
release
void release() -
captureOut
-
captureErr
-
capture
-
append
-
reset
void reset()
-