public interface InputInterface
Modifier and Type | Method and Description |
---|---|
void |
close()
close the input
|
int |
read(byte[] data)
read the number of data.length bytes from input.
|
int read(byte[] data) throws java.io.IOException
data
- array to store the read bytes.java.io.IOException
- throw in case of problems.void close() throws java.io.IOException
java.io.IOException
- throw in case of problems.