Class ProcessConnection
- java.lang.Object
-
- de.larsgrefer.sass.embedded.connection.StreamConnection
-
- de.larsgrefer.sass.embedded.connection.ProcessConnection
-
- All Implemented Interfaces:
CompilerConnection
,Closeable
,AutoCloseable
public class ProcessConnection extends StreamConnection
-
-
Constructor Summary
Constructors Constructor Description ProcessConnection(Process process)
ProcessConnection(ProcessBuilder processBuilder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
protected InputStream
getInputStream()
protected OutputStream
getOutputStream()
-
Methods inherited from class de.larsgrefer.sass.embedded.connection.StreamConnection
readResponse, sendMessage
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.larsgrefer.sass.embedded.connection.CompilerConnection
sendMessage
-
-
-
-
Constructor Detail
-
ProcessConnection
public ProcessConnection(ProcessBuilder processBuilder) throws IOException
- Throws:
IOException
-
ProcessConnection
public ProcessConnection(Process process)
-
-
Method Detail
-
close
public void close()
-
getInputStream
protected InputStream getInputStream() throws IOException
- Specified by:
getInputStream
in classStreamConnection
- Throws:
IOException
-
getOutputStream
protected OutputStream getOutputStream() throws IOException
- Specified by:
getOutputStream
in classStreamConnection
- Throws:
IOException
-
-