| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private static final ActivationDataFlavor | |
| private static final DataFlavor[] |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Object | getContent(DataSource
The DataSource representing the data to be converted. ds)Implements javax. Return an object representing the data in its most preferred form. |
| public Object | getTransferData(DataFlavor
The DataFlavor representing the requested type. df, DataSource The DataSource representing the data to be converted. ds)Implements javax. Returns an object which represents the data to be transferred. |
| public DataFlavor[] | getTransferDataFlavors()
Implements javax. Returns an array of DataFlavor objects indicating the flavors the data can be provided in. The array should be ordered according to preference for providing the data (from most richly descriptive to least descriptive). |
| private void | |
| pack-priv static void | outputPreamble(multipart_signed.
internal preamble is generally included in signatures, while this is technically wrong, if we find internal preamble we include it by default. |
| private static String | |
| public void | writeTo(Object
The object to be converted. obj, String The requested MIME type of the resulting byte stream. _mimeType, OutputStream The output stream into which to write the converted
byte stream. os)Implements javax. Convert the object to a byte stream of the specified MIME type and write it to the output stream. |
| ADF | back to summary |
|---|---|
| private static final ActivationDataFlavor ADF | |
| DFS | back to summary |
|---|---|
| private static final DataFlavor[] DFS | |
| multipart_signed | back to summary |
|---|---|
| public multipart_signed() | |
| getContent | back to summary |
|---|---|
| public Object getContent(DataSource ds) throws IOException Implements javax. Doc from javax. Return an object representing the data in its most preferred form.
Generally this will be the form described by the first DataFlavor
returned by the
| |
| getTransferData | back to summary |
|---|---|
| public Object getTransferData(DataFlavor df, DataSource ds) throws IOException Implements javax. Doc from javax. Returns an object which represents the data to be transferred. The class of the object returned is defined by the representation class of the flavor.
| |
| getTransferDataFlavors | back to summary |
|---|---|
| public DataFlavor[] getTransferDataFlavors() Implements javax. Doc from javax. Returns an array of DataFlavor objects indicating the flavors the data can be provided in. The array should be ordered according to preference for providing the data (from most richly descriptive to least descriptive).
| |
| outputBodyPart | back to summary |
|---|---|
| private void outputBodyPart(OutputStream out, Object bodyPart) throws MessagingException, IOException | |
| outputPreamble | back to summary |
|---|---|
| pack-priv static void outputPreamble(multipart_signed. internal preamble is generally included in signatures, while this is technically wrong, if we find internal preamble we include it by default. | |
| readLine | back to summary |
|---|---|
| private static String readLine(InputStream in) throws IOException | |
| writeTo | back to summary |
|---|---|
| public void writeTo(Object obj, String _mimeType, OutputStream os) throws IOException Implements javax. Doc from javax. Convert the object to a byte stream of the specified MIME type and write it to the output stream.
| |
| Modifier and Type | Field and Description |
|---|---|
| private static byte[] |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void |
| newline | back to summary |
|---|---|
| private static byte[] newline | |
| LineOutputStream | back to summary |
|---|---|
| public LineOutputStream(OutputStream outputstream) | |
| writeln | back to summary |
|---|---|
| public void writeln(String s) throws MessagingException | |
| writeln | back to summary |
|---|---|
| public void writeln() throws MessagingException | |