Package com.axelor.data.export
Class Exporter<T extends Model>
java.lang.Object
com.axelor.data.export.Exporter<T>
- All Implemented Interfaces:
Closeable,Flushable,AutoCloseable
The advance data exporter.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
options
-
writer
-
-
Constructor Details
-
Exporter
- Parameters:
writer- theExportWriteroptions- theExportOptions
-
-
Method Details
-
export
Perform the export.- Parameters:
query- theQueryto use to fetch records.- Throws:
IOException- if there is any IO error.
-
flush
- Specified by:
flushin interfaceFlushable- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-