public class NoCommentInputStream extends InputStream
| Constructor and Description |
|---|
NoCommentInputStream(InputStream in) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
int |
getCurrentLineNo()
Searches for the string in the file stored in FileLine and returns the line no.
|
int |
read() |
String |
readLine() |
available, mark, markSupported, read, read, reset, skippublic NoCommentInputStream(InputStream in) throws IOException
in - Input stream containing the commented dataIOExceptionpublic int read()
throws IOException
read in class InputStreamIOExceptionpublic void close()
close in interface Closeableclose in interface AutoCloseableclose in class InputStreampublic int getCurrentLineNo()
string - to be searched in the filepublic String readLine() throws IOException
IOExceptionCopyright © 2018 Linux Foundation. All Rights Reserved.