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 FilterInputStream
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class FilterInputStream
IOException
public void mark(int readlimit)
mark
in class FilterInputStream
public boolean markSupported()
markSupported
in class FilterInputStream
public int read() throws IOException
read
in class FilterInputStream
IOException
public int read(byte[] b, int off, int len) throws IOException
read
in class FilterInputStream
IOException
public int read(byte[] b) throws IOException
read
in class FilterInputStream
IOException
public void reset() throws IOException
reset
in class FilterInputStream
IOException
public long skip(long n) throws IOException
skip
in class FilterInputStream
IOException
Copyright © 2006–2016. All rights reserved.