public class NGInputStream
extends java.io.InputStream
| Constructor and Description |
|---|
NGInputStream(NGCommunicator communicator)
Creates a new NGInputStream over
NGCommunicator |
| Modifier and Type | Method and Description |
|---|---|
int |
available() |
boolean |
markSupported() |
int |
read() |
int |
read(byte[] b) |
int |
read(byte[] b,
int offset,
int length) |
public NGInputStream(NGCommunicator communicator)
NGCommunicatorcommunicator - Lower level communicator which handles all reads from the socketpublic int available()
throws java.io.IOException
available in class java.io.InputStreamjava.io.IOExceptionInputStream.available()public boolean markSupported()
markSupported in class java.io.InputStreamInputStream.markSupported()public int read()
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOExceptionInputStream.read()public int read(byte[] b)
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOExceptionInputStream.read(byte[])public int read(byte[] b,
int offset,
int length)
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOExceptionInputStream.read(byte[], int, int)