public class CRLFTerminatedReader
extends java.io.Reader
| Modifier and Type | Class and Description |
|---|---|
class |
CRLFTerminatedReader.MaxLineLengthException |
class |
CRLFTerminatedReader.TerminationException |
| Constructor and Description |
|---|
CRLFTerminatedReader(java.io.InputStream in) |
CRLFTerminatedReader(java.io.InputStream in,
java.lang.String enc) |
public CRLFTerminatedReader(java.io.InputStream in)
public CRLFTerminatedReader(java.io.InputStream in,
java.lang.String enc)
throws java.io.UnsupportedEncodingException
java.io.UnsupportedEncodingExceptionpublic java.lang.String readLine()
throws java.io.IOException
java.io.IOException - if an I/O error occurs.public int read()
throws java.io.IOException
read in class java.io.Readerjava.io.IOExceptionpublic boolean ready()
throws java.io.IOException
ready in class java.io.Readerjava.io.IOExceptionpublic int read(char[] cbuf,
int off,
int len)
throws java.io.IOException
read in class java.io.Readerjava.io.IOExceptionpublic void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class java.io.Readerjava.io.IOExceptionCopyright © 2006-2013. All Rights Reserved.