org.postgresql.pljava.test
Class CommandReader
java.lang.Object
java.io.Reader
java.io.BufferedReader
org.postgresql.pljava.test.CommandReader
- All Implemented Interfaces:
- Closeable, Readable
public class CommandReader
- extends BufferedReader
- Author:
- Thomas Hallgren
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
create
public static CommandReader create(String[] args,
String[] env)
throws IOException
- Throws:
IOException
getErrorReader
public BufferedReader getErrorReader()
close
public void close()
throws IOException
- Specified by:
close
in interface Closeable
- Overrides:
close
in class BufferedReader
- Throws:
IOException
getExitValue
public int getExitValue()
throws IllegalThreadStateException
- Throws:
IllegalThreadStateException