public interface InddHandler
| Modifier and Type | Method and Description |
|---|---|
void |
close()
closes the stream
|
void |
open(String fileName)
opens the
fileName in INPUT mode |
int |
read()
reads one byte from the input stream
|
String |
readLine()
reads a line from the input stream
|
void open(String fileName) throws IOException
fileName in INPUT modefileName - the name of the file to be openedIOExceptionvoid close()
throws IOException
IOExceptionint read() throws IOException
IOExceptionString readLine() throws IOException
IOException