Package nbbrd.io.sys
Class ProcessReader
- java.lang.Object
-
- nbbrd.io.sys.ProcessReader
-
public class ProcessReader extends Object
- Author:
- Philippe Charles
-
-
Constructor Summary
Constructors Constructor Description ProcessReader()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static @NonNull BufferedReadernewReader(@NonNull Process process)static @NonNull BufferedReadernewReader(@NonNull String... args)static @NonNull StringreadToString(@NonNull Process process)static @NonNull StringreadToString(@NonNull String... args)
-
-
-
Method Detail
-
newReader
public static @NonNull BufferedReader newReader(@NonNull String... args) throws IOException
- Throws:
IOException
-
newReader
public static @NonNull BufferedReader newReader(@NonNull Process process) throws IOException
- Throws:
IOException
-
readToString
public static @NonNull String readToString(@NonNull String... args) throws IOException
- Throws:
IOException
-
readToString
public static @NonNull String readToString(@NonNull Process process) throws IOException
- Throws:
IOException
-
-