public class TextualFileConverterUtils extends Object
TextualFileConverter's.| Constructor and Description |
|---|
TextualFileConverterUtils() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getProcessOutputAsString(Process process,
boolean stderr)
Get process' output as an UTF-8 encoded
String. |
public static String getProcessOutputAsString(Process process, boolean stderr) throws IOException
String.process - process from where we'll get its output.stderr - true for stderr output, false for stdout.IOException - in case of error.Copyright © 2018. All rights reserved.