fr.opensagres.xdocreport.converter
Class MimeMapping
java.lang.Object
fr.opensagres.xdocreport.converter.MimeMapping
public class MimeMapping
- extends Object
Mime mapping of the report to generate.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
extension
public final String extension
mimeType
public final String mimeType
MimeMapping
public MimeMapping(String extension,
String mimeType)
getExtension
public String getExtension()
- Returns default extension of the report (odt, docx...)
- Returns:
getMimeType
public String getMimeType()
- Returns mime type of the report.
- Returns:
formatFileName
public String formatFileName(String reportId)
Copyright © 2013. All rights reserved.