public static class ExceptionUtil.InputStreamTracer extends Object implements Runnable
This should be run in a separate thread.
Ensure that you found the expected String in the input stream given by calling
isMatched(). But take into account that it is time -
critical (concurrency) if your result was found.
| 构造器和说明 |
|---|
ExceptionUtil.InputStreamTracer(InputStream toTrace,
String match,
Charset charset) |
public ExceptionUtil.InputStreamTracer(InputStream toTrace, String match, Charset charset)
public boolean isMatched()
Note that it may be time - critical when to call this and take for granted that the match was not made in the input stream (concurrency).
public void run()
run 在接口中 RunnableRunnable.run()Copyright © 2016. All rights reserved.