public class InternetHeadersInputStream extends InputStream
InputStream
over an InternetHeaders
instance. When
the end of InternetHeaders
are reached a LINE_SEPERATOR
is
appendConstructor and Description |
---|
InternetHeadersInputStream(Enumeration<String> headerLines) |
InternetHeadersInputStream(javax.mail.internet.InternetHeaders headers) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
int |
read() |
available, mark, markSupported, read, read, reset, skip
public InternetHeadersInputStream(javax.mail.internet.InternetHeaders headers)
public InternetHeadersInputStream(Enumeration<String> headerLines)
public int read() throws IOException
read
in class InputStream
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class InputStream
IOException
Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.