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)
Exportable
isSupported
in interface Exportable
target
- the target classpublic java.lang.Object toObjectOf(java.lang.Class<?> target, ExportFilters filters) throws FormatNotSupportedException
Exportable
toObjectOf
in interface Exportable
target
- 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.