| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private static final ActivationDataFlavor | |
| private static final ActivationDataFlavor[] |
| 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 jakarta. Return an object representing the data in its most preferred form. |
| public Object | getTransferData(ActivationDataFlavor
The ActivationDataFlavor representing the requested type. df, DataSource The DataSource representing the data to be converted. ds)Implements jakarta. Returns an object which represents the data to be transferred. |
| public ActivationDataFlavor[] | getTransferDataFlavors()
Implements jakarta. Returns an array of ActivationDataFlavor 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 jakarta. 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 ActivationDataFlavor[] DFS | |
| multipart_signed | back to summary |
|---|---|
| public multipart_signed() | |
| getContent | back to summary |
|---|---|
| public Object getContent(DataSource ds) throws IOException Implements jakarta. Doc from jakarta. Return an object representing the data in its most preferred form.
Generally this will be the form described by the first
ActivationDataFlavor returned by the
| |
| getTransferData | back to summary |
|---|---|
| public Object getTransferData(ActivationDataFlavor df, DataSource ds) throws IOException Implements jakarta. Doc from jakarta. 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 ActivationDataFlavor[] getTransferDataFlavors() Implements jakarta. Doc from jakarta. Returns an array of ActivationDataFlavor 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 jakarta. Doc from jakarta. 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 |
|---|---|
| private static byte[] | |
| public void | |
| public void |
| newline | back to summary |
|---|---|
| private static byte[] newline | |
| LineOutputStream | back to summary |
|---|---|
| public LineOutputStream(OutputStream outputstream) | |
| getBytes | back to summary |
|---|---|
| private static byte[] getBytes(String s) | |
| writeln | back to summary |
|---|---|
| public void writeln(String s) throws MessagingException | |
| writeln | back to summary |
|---|---|
| public void writeln() throws MessagingException | |