public abstract class AbstractExporter
extends java.lang.Object
| Constructor and Description |
|---|
AbstractExporter() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
export(java.io.OutputStream stream,
java.lang.Object data)
Export data to file
|
abstract java.lang.String |
getDescription()
return brief description about this exporter
|
abstract java.lang.String |
getExtension()
return the extension connected to this exporter
|
java.lang.String |
getExtensionFilter()
Return the filtering expression
|
boolean |
isOfType(java.lang.String fileName)
Check if a given file name match with this extension
|
public final java.lang.String getExtensionFilter()
public abstract void export(java.io.OutputStream stream,
java.lang.Object data)
throws java.io.IOException,
java.lang.ClassCastException
stream - the target OutputStreamdata - the data to export (depending of the exporter implementation)IOException, - ClassCastExceptionjava.io.IOExceptionjava.lang.ClassCastExceptionpublic abstract java.lang.String getExtension()
public abstract java.lang.String getDescription()
public final boolean isOfType(java.lang.String fileName)
fileName - the file name to testtrue whether matching, false otherwise