Class DocumentModelListCSVWriter
- java.lang.Object
-
- org.nuxeo.ecm.core.io.marshallers.csv.AbstractCSVWriter<List<DocumentModel>>
-
- org.nuxeo.ecm.platform.csv.export.io.DocumentModelListCSVWriter
-
- All Implemented Interfaces:
Marshaller<List<DocumentModel>>
,Writer<List<DocumentModel>>
@Setup(mode=SINGLETON, priority=2000) public class DocumentModelListCSVWriter extends AbstractCSVWriter<List<DocumentModel>>
- Since:
- 10.3
-
-
Field Summary
-
Fields inherited from class org.nuxeo.ecm.core.io.marshallers.csv.AbstractCSVWriter
ctx, registry, schemaManager, TEXT_CSV, TEXT_CSV_TYPE
-
-
Constructor Summary
Constructors Constructor Description DocumentModelListCSVWriter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
write(List<DocumentModel> entity, org.apache.commons.csv.CSVPrinter printer)
protected void
writeHeader(List<DocumentModel> entity, org.apache.commons.csv.CSVPrinter printer)
-
Methods inherited from class org.nuxeo.ecm.core.io.marshallers.csv.AbstractCSVWriter
accept, getCSVPrinter, printCalendar, write
-
-
-
-
Constructor Detail
-
DocumentModelListCSVWriter
public DocumentModelListCSVWriter()
-
-
Method Detail
-
write
protected void write(List<DocumentModel> entity, org.apache.commons.csv.CSVPrinter printer) throws IOException
- Specified by:
write
in classAbstractCSVWriter<List<DocumentModel>>
- Throws:
IOException
-
writeHeader
protected void writeHeader(List<DocumentModel> entity, org.apache.commons.csv.CSVPrinter printer) throws IOException
- Specified by:
writeHeader
in classAbstractCSVWriter<List<DocumentModel>>
- Throws:
IOException
-
-