public class CRLFTerminatedReader extends Reader
| Modifier and Type | Class and Description |
|---|---|
class |
CRLFTerminatedReader.MaxLineLengthException |
class |
CRLFTerminatedReader.TerminationException |
| Constructor and Description |
|---|
CRLFTerminatedReader(InputStream in) |
CRLFTerminatedReader(InputStream in,
String enc) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
int |
read() |
int |
read(char[] cbuf,
int off,
int len) |
String |
readLine()
Read a line of text which is terminated by CRLF.
|
boolean |
ready() |
public CRLFTerminatedReader(InputStream in)
public CRLFTerminatedReader(InputStream in, String enc) throws UnsupportedEncodingException
UnsupportedEncodingExceptionpublic String readLine() throws IOException
IOException - if an I/O error occurs.public int read()
throws IOException
read in class ReaderIOExceptionpublic boolean ready()
throws IOException
ready in class ReaderIOExceptionpublic int read(char[] cbuf,
int off,
int len)
throws IOException
read in class ReaderIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class ReaderIOExceptionCopyright © 2006–2021. All rights reserved.