Top Description Methods
com.sun.mail.iap

public Interface Literal

Known Direct Implementers
com.sun.mail.imap.MessageLiteral
Imports
java.io.*

An interface for objects that provide data dynamically for use in a literal protocol element.
Author
Bill Shannon

Method Summary

Modifier and TypeMethod and Description
public int

Returns:

the size of the data
size
()

Return the size of the data.

public void
writeTo(OutputStream
the output stream
os
)

Write the data to the OutputStream.

Method Detail

sizeback to summary
public int size()

Return the size of the data.

Returns:int

the size of the data

writeToback to summary
public void writeTo(OutputStream os) throws IOException

Write the data to the OutputStream.

Parameters
os:OutputStream

the output stream

Exceptions
IOException:
for I/O errors