Uses of Interface
i2p.susi.util.Buffer
Package
Description
The SusiMail webapp, which implements a webmail interface,
POP3 and SMTP client-side protocols, and local caching of email.
-
Uses of Buffer in i2p.susi.util
Modifier and TypeClassDescriptionclass
File implementation of Buffer.class
Gzip File implementation of Buffer.class
Buffer backed by a byte array.class
Output only.class
Input only for constant data, initialized from a byte array. -
Uses of Buffer in i2p.susi.webmail
Modifier and TypeMethodDescriptionMail.getBody()
This contains the header also.MailCache.getFullWriteBuffer
(String uidl) For writing a new full mail (NOT headers only) Caller must close.Mail.getHeader()
This may or may not contain the body also.Modifier and TypeMethodDescriptionvoid
Synched because FileBuffer keeps stream openvoid
Overridden to process attachment and Bcc headersvoid
void
void
MailCache.writeComplete
(String uidl, Buffer buffer, boolean success) For writing a new full mailModifierConstructorDescriptionMailPart
(String uidl, AtomicInteger id, Buffer readBuffer, InputStream in, ReadCounter counter, String[] hdrlines) -
Uses of Buffer in i2p.susi.webmail.encoding
Modifier and TypeMethodDescriptionEightBit.decode
(byte[] in, int offset, int length) Encoding.decode
(byte[] in) This implementation just calls decode(in, 0, in.length).Encoding.decode
(byte[] in, int offset, int length) This implementation just calls decode(in.content, in.offset, in.length).This implementation just converts the string to a byte array and then calls decode(byte[]).SevenBit.decode
(byte[] in, int offset, int length) We don't do any 8-bit checks like we do for decode(byte[])Modifier and TypeMethodDescriptionvoid
Base64.decode
(InputStream in, Buffer bout) void
EightBit.decode
(InputStream in, Buffer out) Copy in to out, unchangedThis implementation just calls decode(in.content, in.offset, in.length).void
abstract void
Encoding.decode
(InputStream in, Buffer out) void
HeaderLine.decode
(InputStream in, Buffer bout) Decode all the header lines, up through \r\n\r\n, and puts them in the ReadBuffer, including the \r\n\r\nvoid
HTML.decode
(InputStream in, Buffer out) void
QuotedPrintable.decode
(InputStream in, Buffer bout) We don't do any 8-bit checks like we do for decode(byte[])void
SevenBit.decode
(InputStream in, Buffer out) Copy in to out, unchanged We don't do any 8-bit checks like we do for decode(byte[]) -
Uses of Buffer in i2p.susi.webmail.pop3
Modifier and TypeMethodDescriptionFetch the body.POP3MailBox.FetchRequest.getBuffer()
Fetch the header.