public static class AttachmentExportMarshal.FileExportable extends java.lang.Object implements Exportable
| Constructor and Description |
|---|
FileExportable(java.io.File f) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isSupported(java.lang.Class<?> target)
Check if this instance supports the specified target class type
|
java.lang.Object |
toObjectOf(java.lang.Class<?> target,
ExportFilters filters)
Export to the specified target class type
|
public boolean isSupported(java.lang.Class<?> target)
ExportableisSupported in interface Exportabletarget - the target classpublic java.lang.Object toObjectOf(java.lang.Class<?> target,
ExportFilters filters)
throws FormatNotSupportedException
ExportabletoObjectOf in interface Exportabletarget - the target classfilters - Allows ExportMarshal instances to filter e.g. based
on geographic region or other criteriaFormatNotSupportedException - if there is an issue creating the object.