All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class gnu.io.SerialInputStream

java.lang.Object
   |
   +----java.io.InputStream
           |
           +----gnu.io.SerialInputStream

public class SerialInputStream
extends InputStream

Constructor Index

 o SerialInputStream(File)
 o SerialInputStream(FileDescriptor)
 o SerialInputStream(String)
 o SerialInputStream(String, boolean)

Method Index

 o available()
 o cfgetispeed()
 o cfmakeraw()
 o cfsetispeed(int)
 o close()
 o finalize()
 o getFD()
 o GetSpeed()
 o read()
 o read(byte[])
 o read(byte[], int, int)
 o SetSpeed(int)
 o skip(long)
 o tcdrain()
 o tcflow(int)
 o tcflush(int)
 o tcgetpgrp()
 o tcsendbreak(int)
 o tcsetattr(int)
 o tcsetpgrp(int)

Constructors

 o SerialInputStream
 public SerialInputStream(String Filename) throws FileNotFoundException
 o SerialInputStream
 public SerialInputStream(String filename,
                          boolean openappend) throws IOException
 o SerialInputStream
 public SerialInputStream(File file) throws IOException
 o SerialInputStream
 public SerialInputStream(FileDescriptor Inputfd)

Methods

 o SetSpeed
 public native void SetSpeed(int speed) throws IOException
 o GetSpeed
 public native int GetSpeed() throws IOException
 o tcsetattr
 public native int tcsetattr(int actions)
 o tcsendbreak
 public native int tcsendbreak(int duration)
 o tcdrain
 public native int tcdrain()
 o tcflush
 public native int tcflush(int selector)
 o tcflow
 public native int tcflow(int action)
 o cfmakeraw
 public native void cfmakeraw()
 o cfgetispeed
 public native int cfgetispeed()
 o cfsetispeed
 public native int cfsetispeed(int speed)
 o tcgetpgrp
 public native int tcgetpgrp()
 o tcsetpgrp
 public native int tcsetpgrp(int pgrpid)
 o read
 public native int read() throws IOException
Overrides:
read in class InputStream
 o read
 public int read(byte b[]) throws IOException
Overrides:
read in class InputStream
 o read
 public int read(byte b[],
                 int off,
                 int len) throws IOException
Overrides:
read in class InputStream
 o skip
 public native long skip(long n) throws IOException
Overrides:
skip in class InputStream
 o available
 public native int available() throws IOException
Overrides:
available in class InputStream
 o close
 public native void close() throws IOException
Overrides:
close in class InputStream
 o getFD
 public final FD getFD() throws IOException
 o finalize
 protected void finalize() throws IOException
Overrides:
finalize in class Object

All Packages  Class Hierarchy  This Package  Previous  Next  Index