|
||||||||
| 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.nvt.NVTInputStream
public class NVTInputStream
| Field Summary | |
|---|---|
protected NVTSerialPort |
_nvtPort
|
| Constructor Summary | |
|---|---|
NVTInputStream(NVTSerialPort port)
Create a new NVTInputStream |
|
| Method Summary | |
|---|---|
int |
available()
returns the number of bytes that can be read from this inputstream without blocking |
void |
close()
close the InputStream |
void |
mark(int readlimit)
Does nothing |
boolean |
markSupported()
markSupported() returns false |
int |
read()
Read next byte of data |
int |
read(byte[] b)
Read array of bytes |
int |
read(byte[] b,
int off,
int len)
Read array of bytes with offset |
| Methods inherited from class java.io.InputStream |
|---|
reset, skip |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected NVTSerialPort _nvtPort
| Constructor Detail |
|---|
public NVTInputStream(NVTSerialPort port)
| Method Detail |
|---|
public int available()
throws java.io.IOException
available in class java.io.InputStreamjava.io.IOExceptionpublic void close()
close in interface java.io.Closeableclose in class java.io.InputStream
public int read()
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOException
public int read(byte[] b)
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOException
public int read(byte[] b,
int off,
int len)
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOExceptionpublic boolean markSupported()
markSupported in class java.io.InputStreampublic void mark(int readlimit)
mark in class java.io.InputStream
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||