Autopsy
4.12.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
|
Inherits Thread.
Public Member Functions | |
final String | getOutput () |
final void | run () |
void | stopRun () |
Private Attributes | |
volatile boolean | doRun = false |
final InputStream | is |
final StringBuffer | output = new StringBuffer() |
Static Private Attributes | |
static final Logger | logger = Logger.getLogger(StreamToStringRedirect.class.getName()) |
Asynchronously read the output of a given input stream and write to a string to be returned. Any exception during execution of the command is managed in this thread.
Definition at line 422 of file ExecUtil.java.
final String org.sleuthkit.autopsy.coreutils.ExecUtil.StreamToStringRedirect.getOutput | ( | ) |
Get output filled asynchronously.
Should be called after execution
Definition at line 479 of file ExecUtil.java.
final void org.sleuthkit.autopsy.coreutils.ExecUtil.StreamToStringRedirect.run | ( | ) |
Asynchronous read of the input stream.
Will report output as its its displayed.
Definition at line 441 of file ExecUtil.java.
void org.sleuthkit.autopsy.coreutils.ExecUtil.StreamToStringRedirect.stopRun | ( | ) |
Stop running the stream redirect. The thread will exit out gracefully after the current readLine() on stream unblocks
Definition at line 469 of file ExecUtil.java.
|
private |
Definition at line 427 of file ExecUtil.java.
|
private |
Definition at line 425 of file ExecUtil.java.
|
staticprivate |
Definition at line 424 of file ExecUtil.java.
|
private |
Definition at line 426 of file ExecUtil.java.
Copyright © 2012-2018 Basis Technology. Generated on: Wed Sep 18 2019
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.