public static class SystemUtils.ProcessOutputStream extends OutputStream
Constructor and Description |
---|
ProcessOutputStream(ProcessBuilder builder,
Writer output,
Writer error) |
ProcessOutputStream(String[] cmd) |
ProcessOutputStream(String[] cmd,
Writer writer) |
ProcessOutputStream(String[] cmd,
Writer output,
Writer error) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
flush() |
void |
write(int b) |
write, write
public ProcessOutputStream(String[] cmd) throws IOException
IOException
public ProcessOutputStream(String[] cmd, Writer writer) throws IOException
IOException
public ProcessOutputStream(String[] cmd, Writer output, Writer error) throws IOException
IOException
public ProcessOutputStream(ProcessBuilder builder, Writer output, Writer error) throws IOException
IOException
public void flush() throws IOException
flush
in interface Flushable
flush
in class OutputStream
IOException
public void write(int b) throws IOException
write
in class OutputStream
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class OutputStream
IOException