public class ReceivedHeaderStream extends FilterInputStream
in| Constructor and Description |
|---|
ReceivedHeaderStream(InputStream in,
String heloHost,
InetAddress host,
String whoami,
String softwareName,
String id,
String singleRecipient) |
| Modifier and Type | Method and Description |
|---|---|
int |
available() |
void |
close() |
void |
mark(int readlimit) |
boolean |
markSupported() |
int |
read() |
int |
read(byte[] b) |
int |
read(byte[] b,
int off,
int len) |
void |
reset() |
long |
skip(long n) |
public ReceivedHeaderStream(InputStream in, String heloHost, InetAddress host, String whoami, String softwareName, String id, String singleRecipient)
softwareName - A software name and version, or null if this information
should not be printedsingleRecipient - The single recipient of the message. If there are more than
one recipients then this must be null.public int available()
throws IOException
available in class FilterInputStreamIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class FilterInputStreamIOExceptionpublic void mark(int readlimit)
mark in class FilterInputStreampublic boolean markSupported()
markSupported in class FilterInputStreampublic int read()
throws IOException
read in class FilterInputStreamIOExceptionpublic int read(byte[] b,
int off,
int len)
throws IOException
read in class FilterInputStreamIOExceptionpublic int read(byte[] b)
throws IOException
read in class FilterInputStreamIOExceptionpublic void reset()
throws IOException
reset in class FilterInputStreamIOExceptionpublic long skip(long n)
throws IOException
skip in class FilterInputStreamIOExceptionCopyright © 2006–2021. All rights reserved.