Class DocumentFormatContribution
java.lang.Object
ch.tocco.nice2.reporting.spi.export.DocumentFormatContribution
- All Implemented Interfaces:
DocumentFormat
-
Constructor Summary
ConstructorDescriptionDocumentFormatContribution
(String mimeType, String fileExtension, String description, @Nullable EntityExportWriterFactory entityExportWriterFactory) -
Method Summary
Modifier and TypeMethodDescriptiongetDescription
(Locale locale) @Nullable EntityExportWriterFactory
jakarta.activation.MimeType
toString()
-
Constructor Details
-
DocumentFormatContribution
public DocumentFormatContribution(String mimeType, String fileExtension, String description, @Nullable @Nullable EntityExportWriterFactory entityExportWriterFactory) throws jakarta.activation.MimeTypeParseException - Throws:
jakarta.activation.MimeTypeParseException
-
-
Method Details
-
getMimeType
public jakarta.activation.MimeType getMimeType()- Specified by:
getMimeType
in interfaceDocumentFormat
-
getFileExtension
- Specified by:
getFileExtension
in interfaceDocumentFormat
-
getDescription
- Specified by:
getDescription
in interfaceDocumentFormat
-
getDescription
- Specified by:
getDescription
in interfaceDocumentFormat
-
getEntityExportWriterFactory
-
toString
-