|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectjava.io.InputStream
org.mbari.siam.core.InstrumentPortInputStream
public class InstrumentPortInputStream
| Constructor Summary | |
|---|---|
InstrumentPortInputStream(InstrumentPort port,
java.io.InputStream is)
Create a new InstrumentPortInputStream |
|
| Method Summary | |
|---|---|
int |
available()
returns the number of bytes that can be read from this inputstream without blocking |
void |
close()
close the inputstream |
int |
read()
read a character from the inputstream |
long |
skip(long n)
skip n bytes of data from the inputstream |
| Methods inherited from class java.io.InputStream |
|---|
mark, markSupported, read, read, reset |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public InstrumentPortInputStream(InstrumentPort port,
java.io.InputStream is)
| Method Detail |
|---|
public int available()
throws java.io.IOException
available in class java.io.InputStreamjava.io.IOException
public void close()
throws java.io.IOException
close in interface java.io.Closeableclose in class java.io.InputStreamjava.io.IOException
public int read()
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOException
public long skip(long n)
throws java.io.IOException
skip in class java.io.InputStreamjava.io.IOException
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||