

Public Member Functions | |
| LSDStreamGobbler (Process p) | |
| LSDStreamGobbler (InputStream is) | |
| LSDStreamGobbler (InputStream is, OutputStream redirect) | |
| void | run () |
Static Public Member Functions | |
| static int | waitForProcess (Process p) |
Public Attributes | |
| int | status = 0 |
Private Attributes | |
| Process | p = null |
| InputStream | is = null |
| OutputStream | os = null |
| openlsd.common.LSDStreamGobbler.LSDStreamGobbler | ( | Process | p | ) |
Init from only a Process without taking into account InputStream. InputStream is not read since it will be read by an external program.
| p |
| openlsd.common.LSDStreamGobbler.LSDStreamGobbler | ( | InputStream | is | ) |
Init from only an IntputStream
| is |
| openlsd.common.LSDStreamGobbler.LSDStreamGobbler | ( | InputStream | is, | |
| OutputStream | redirect | |||
| ) |
Init from InputStream and OutputStream
| is | ||
| redirect |
| void openlsd.common.LSDStreamGobbler.run | ( | ) |
Run the StreamGobbler or Wait for the process to finish, reading any err data.
| static int openlsd.common.LSDStreamGobbler.waitForProcess | ( | Process | p | ) | [static] |
Wait for the process to finish, reading any in/err data
| p |
Process openlsd.common.LSDStreamGobbler.p = null [private] |
Process
Returned status
InputStream openlsd.common.LSDStreamGobbler.is = null [private] |
IntputStream
OutputStream openlsd.common.LSDStreamGobbler.os = null [private] |
OutputStream