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 voidclose()protected InputStreamgetInputStream()protected OutputStreamgetOutputStream()-
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
@RequiresApi(26) 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:
getInputStreamin classStreamConnection- Throws:
IOException
-
getOutputStream
protected OutputStream getOutputStream() throws IOException
- Specified by:
getOutputStreamin classStreamConnection- Throws:
IOException
-
-