public interface LiteralFactory
IMAPConnection#setLiteralHandler
with the size threshold before
IMAPConnection.connect()
.Modifier and Type | Method and Description |
---|---|
Literal |
newLiteral(int size)
Returns a new literal of the specified size.
|
Literal newLiteral(int size) throws java.io.IOException
size
- the number of bytes that are required to store the literaljava.io.IOException
- if the handler cannot store a literal of this
size