org.eclipse.soda.dk.comm
Class NSDeviceOutputStream
java.lang.Object
java.io.OutputStream
org.eclipse.soda.dk.comm.NSDeviceOutputStream
- All Implemented Interfaces:
- java.io.Closeable, java.io.Flushable
public class NSDeviceOutputStream
- extends java.io.OutputStream
|
Field Summary |
(package private) int |
fd
|
| Methods inherited from class java.io.OutputStream |
close |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
fd
int fd
NSDeviceOutputStream
NSDeviceOutputStream(CommPort port,
int portType)
getPt
public int getPt()
write
public void write(int i)
throws java.io.IOException
- Specified by:
write in class java.io.OutputStream
- Throws:
java.io.IOException
write
public void write(byte[] b)
throws java.io.IOException
- Overrides:
write in class java.io.OutputStream
- Throws:
java.io.IOException
write
public void write(byte[] b,
int off,
int len)
throws java.io.IOException
- Overrides:
write in class java.io.OutputStream
- Throws:
java.io.IOException
flush
public void flush()
throws java.io.IOException
- Specified by:
flush in interface java.io.Flushable- Overrides:
flush in class java.io.OutputStream
- Throws:
java.io.IOException
Copyright (c) 1999, 2007 IBM