| Modifier and Type | Field and Description |
|---|---|
| private final ActivationDataFlavor | |
| private final ActivationDataFlavor[] |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| 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). |
| 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 final ActivationDataFlavor _adf | |
| _dfs | back to summary |
|---|---|
| private final ActivationDataFlavor[] _dfs | |
| PKCS7ContentHandler | back to summary |
|---|---|
| pack-priv PKCS7ContentHandler(ActivationDataFlavor adf, ActivationDataFlavor[] dfs) | |
| 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).
| |
| 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.
| |