Class ProcessOutput
java.lang.Object
org.zeroturnaround.exec.ProcessOutput
Standard output of a finished process.
- Author:
- Rein Raudjärv
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ProcessOutput
public ProcessOutput(byte[] data)
-
-
Method Details
-
getBytes
public byte[] getBytes()- Returns:
- binary output of the finished process.
-
getString
- Returns:
- output of the finished process converted to a String using platform's default encoding.
-
getUTF8
- Returns:
- output of the finished process converted to UTF-8 String.
-
getString
-
getLines
-
getLinesAsUTF8
-
getLines
-