com.xpn.xwiki.pdf.api
Class PdfExport.ExportType
java.lang.Object
com.xpn.xwiki.pdf.api.PdfExport.ExportType
- Enclosing interface:
- PdfExport
public static class PdfExport.ExportType
- extends Object
Describes export types.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PDF
public static final PdfExport.ExportType PDF
- Export type: PDF.
RTF
public static final PdfExport.ExportType RTF
- Export type: RTF.
PdfExport.ExportType
public PdfExport.ExportType(String mimeType,
String extension)
- Constructor, specifying the target MIME type and file extension.
- Parameters:
mimeType
- the standard MIME type for this export typeextension
- the filename extension for this export type
getMimeType
public String getMimeType()
- Returns:
- the export content type
getExtension
public String getExtension()
- Returns:
- the filename extension corresponding to this export type
Copyright © 2004–2014 XWiki. All rights reserved.