public abstract OutputStream getOutputStream() throws IOException
Returns an output stream. This is the only way to send data to the communications port. If the port is unidirectional and doesn't support sending data, then getOutputStream returns null.
Returns:
OutputStream object that can be used to write to the port
Throws: IOException
if an I/O error occurred
Lesezeichen