org.apache.james.smtpserver
Class SMTPInputStream
java.lang.Object
|
+--java.io.InputStream
|
+--java.io.FilterInputStream
|
+--org.apache.james.smtpserver.SMTPInputStream
- public class SMTPInputStream
- extends java.io.FilterInputStream
Removes the dot-stuffing happing during the SMTP DATA transport
- Author:
- Serge Knystautas
Field Summary |
protected int[] |
last
|
Fields inherited from class java.io.FilterInputStream |
in |
Method Summary |
int |
read()
Read through the stream, checking for '\r\n.' |
int |
read(byte[] b,
int off,
int len)
Read through the stream, checking for '\r\n.' |
Methods inherited from class java.io.FilterInputStream |
available, close, mark, markSupported, read, reset, skip |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
last
protected int[] last
SMTPInputStream
public SMTPInputStream(java.io.InputStream in)
read
public int read()
throws java.io.IOException
- Read through the stream, checking for '\r\n.'
- Overrides:
read
in class java.io.FilterInputStream
java.io.IOException
read
public int read(byte[] b,
int off,
int len)
throws java.io.IOException
- Read through the stream, checking for '\r\n.'
- Overrides:
read
in class java.io.FilterInputStream
java.io.IOException
"Copyright © 2001 Apache Jakarta Project. All Rights Reserved."