Package | Description |
---|---|
i2p.susi.util | |
i2p.susi.webmail |
The SusiMail webapp, which implements a webmail interface,
POP3 and SMTP client-side protocols, and local caching of email.
|
i2p.susi.webmail.encoding | |
i2p.susi.webmail.pop3 |
Modifier and Type | Class and Description |
---|---|
class |
FileBuffer
File implementation of Buffer.
|
class |
GzipFileBuffer
Gzip File implementation of Buffer.
|
class |
MemoryBuffer
Buffer backed by a byte array.
|
class |
OutputStreamBuffer
Output only.
|
class |
ReadBuffer
Input only for constant data, initialized from a byte array.
|
Modifier and Type | Field and Description |
---|---|
Buffer |
MailPart.buffer |
Modifier and Type | Method and Description |
---|---|
Buffer |
Mail.getBody()
This contains the header also.
|
Buffer |
MailCache.getFullWriteBuffer(String uidl)
For writing a new full mail (NOT headers only)
Caller must close.
|
Buffer |
Mail.getHeader()
This may or may not contain the body also.
|
Modifier and Type | Method and Description |
---|---|
void |
MailPart.decode(int offset,
Buffer out)
Synched because FileBuffer keeps stream open
|
void |
Draft.setBody(Buffer rb)
Overridden to process attachment and Bcc headers
|
void |
Mail.setBody(Buffer rb) |
void |
Mail.setHeader(Buffer rb) |
void |
MailCache.writeComplete(String uidl,
Buffer buffer,
boolean success)
For writing a new full mail
|
Constructor and Description |
---|
MailPart(String uidl,
AtomicInteger id,
Buffer readBuffer,
InputStream in,
ReadCounter counter,
String[] hdrlines) |
Modifier and Type | Method and Description |
---|---|
Buffer |
EightBit.decode(Buffer in) |
Buffer |
Encoding.decode(Buffer in)
This implementation just calls decode(in.content, in.offset, in.length).
|
Buffer |
SevenBit.decode(Buffer in)
We don't do any 8-bit checks like we do for decode(byte[])
|
Buffer |
Encoding.decode(byte[] in)
This implementation just calls decode(in, 0, in.length).
|
Buffer |
EightBit.decode(byte[] in,
int offset,
int length) |
Buffer |
Encoding.decode(byte[] in,
int offset,
int length) |
Buffer |
SevenBit.decode(byte[] in,
int offset,
int length) |
Buffer |
Encoding.decode(String str)
This implementation just converts the string to a byte array
and then calls decode(byte[]).
|
Modifier and Type | Method and Description |
---|---|
Buffer |
EightBit.decode(Buffer in) |
Buffer |
Encoding.decode(Buffer in)
This implementation just calls decode(in.content, in.offset, in.length).
|
Buffer |
SevenBit.decode(Buffer in)
We don't do any 8-bit checks like we do for decode(byte[])
|
void |
Encoding.decode(Buffer in,
Buffer out) |
void |
EightBit.decode(InputStream in,
Buffer out)
Copy in to out, unchanged
|
void |
Base64.decode(InputStream in,
Buffer bout) |
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\n
|
void |
QuotedPrintable.decode(InputStream in,
Buffer bout) |
abstract void |
Encoding.decode(InputStream in,
Buffer out) |
void |
HTML.decode(InputStream in,
Buffer out) |
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[])
|
Modifier and Type | Method and Description |
---|---|
Buffer |
POP3MailBox.getBody(String uidl,
Buffer buffer)
Fetch the body.
|
Buffer |
POP3MailBox.FetchRequest.getBuffer() |
Buffer |
POP3MailBox.getHeader(String uidl)
Fetch the header.
|
Modifier and Type | Method and Description |
---|---|
Buffer |
POP3MailBox.getBody(String uidl,
Buffer buffer)
Fetch the body.
|