- java.lang.Object
-
- ilusr.core.io.ProcessHelpers
-
public class ProcessHelpers extends Object
- Author:
- Jeff Riggle
-
-
Constructor Summary
Constructors Constructor Description ProcessHelpers()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
getProcessErrorStream(Process proc)
static String
getProcessInputStream(Process proc)
static void
handleProcessStreams(Process proc)
-
-
-
Method Detail
-
getProcessInputStream
public static String getProcessInputStream(Process proc)
- Parameters:
proc
- The @see Process to get an input stream from.- Returns:
- The input stream associated with the process.
-
getProcessErrorStream
public static String getProcessErrorStream(Process proc)
- Parameters:
proc
- The @see Process to get an error stream from.- Returns:
- The error stream associated with the process.
-
handleProcessStreams
public static void handleProcessStreams(Process proc)
- Parameters:
proc
- The @see Process to handle streams for.
-
-