| java.lang.Object com.caucho.vfs.StreamImpl com.caucho.web.webmail.MboxStream
canRead | public boolean canRead()(Code) | | |
getAttribute | public Object getAttribute(String key)(Code) | | Returns a read attribute from the multipart mime.
|
getAttributeNames | public Iterator getAttributeNames()(Code) | | Returns the headers from the mime.
|
getEncoding | public String getEncoding()(Code) | | Returns the default encoding.
|
init | public void init(ReadStream is) throws IOException(Code) | | Initialize the multipart stream with a given boundary. The boundary
passed to init will have "--" prefixed.
Parameters: is - the underlying stream Parameters: headerBoundary - the multipart/mime boundary. |
openRead | public ReadStream openRead() throws IOException(Code) | | Opens the next message of the mbox stream for reading. Returns
null when the last message is read.
|
read | public int read(byte[] buffer, int offset, int length) throws IOException(Code) | | Reads from the multipart mime buffer.
|
setEncoding | public void setEncoding(String encoding)(Code) | | Sets the default encoding.
|
Methods inherited from com.caucho.vfs.StreamImpl | public boolean canRead()(Code)(Java Doc) public boolean canWrite()(Code)(Java Doc) public void clearWrite()(Code)(Java Doc) public void close() throws IOException(Code)(Java Doc) public void closeWrite() throws IOException(Code)(Java Doc) public void flush() throws IOException(Code)(Java Doc) public void flushBuffer() throws IOException(Code)(Java Doc) public void flushToDisk() throws IOException(Code)(Java Doc) public Object getAttribute(String name) throws IOException(Code)(Java Doc) public Iterator getAttributeNames() throws IOException(Code)(Java Doc) public int getAvailable() throws IOException(Code)(Java Doc) public boolean getFlushOnNewline()(Code)(Java Doc) public byte[] getNewline()(Code)(Java Doc) public Path getPath()(Code)(Java Doc) public byte[] getReadBuffer()(Code)(Java Doc) public long getReadPosition()(Code)(Java Doc) public boolean hasSkip()(Code)(Java Doc) public int read(byte[] buffer, int offset, int length) throws IOException(Code)(Java Doc) public int readNonBlock(byte[] buffer, int offset, int length) throws IOException(Code)(Java Doc) public int readTimeout(byte[] buffer, int offset, int length, long timeout) throws IOException(Code)(Java Doc) public void removeAttribute(String name) throws IOException(Code)(Java Doc) public void seekEnd(long offset) throws IOException(Code)(Java Doc) public void seekStart(long offset) throws IOException(Code)(Java Doc) public void setAttribute(String name, Object value) throws IOException(Code)(Java Doc) public void setPath(Path path)(Code)(Java Doc) public void setWriteEncoding(String encoding)(Code)(Java Doc) public long skip(long n) throws IOException(Code)(Java Doc) public void write(byte[] buffer, int offset, int length, boolean isEnd) throws IOException(Code)(Java Doc) public boolean write(byte[] buf1, int off1, int len1, byte[] buf2, int off2, int len2, boolean isEnd) throws IOException(Code)(Java Doc)
|
|
|