Class ProcessOutput
java.lang.Object
org.zeroturnaround.exec.ProcessOutput
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
data
private final byte[] dataProcess output (notnull).
-
-
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
-
getLinesFrom
-