public interface LineInputStream
DataInputStream.readLine()
. Expected use is to read
lines as String objects from an IMAP/SMTP/etc. stream.
mail.mime.allowutf8
is set to true, an attempt will be made to interpret the data as UTF-8,
falling back to treating it as an 8-bit charset if that fails.Modifier and Type | Method and Description |
---|---|
java.lang.String |
readLine()
Read a line containing only ASCII characters from the input
stream.
|
java.lang.String readLine() throws java.io.IOException
java.io.IOException
- for I/O errors