Module ilusr.core
Package ilusr.core.io

Class ProcessHelpers


  • public class ProcessHelpers
    extends Object
    Author:
    Jeff Riggle
    • Constructor Detail

      • ProcessHelpers

        public ProcessHelpers()
    • 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.