com.xpn.xwiki.pdf.api
Class PdfExport.ExportType

java.lang.Object
  extended by com.xpn.xwiki.pdf.api.PdfExport.ExportType
Enclosing interface:
PdfExport

public static class PdfExport.ExportType
extends Object

Describes export types.


Field Summary
static PdfExport.ExportType PDF
          Export type: PDF.
static PdfExport.ExportType RTF
          Export type: RTF.
 
Constructor Summary
PdfExport.ExportType(String mimeType, String extension)
          Constructor, specifying the target MIME type and file extension.
 
Method Summary
 String getExtension()
           
 String getMimeType()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PDF

public static final PdfExport.ExportType PDF
Export type: PDF.


RTF

public static final PdfExport.ExportType RTF
Export type: RTF.

Constructor Detail

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 type
extension - the filename extension for this export type
Method Detail

getMimeType

public String getMimeType()
Returns:
the export content type

getExtension

public String getExtension()
Returns:
the filename extension corresponding to this export type


Copyright © 2004-2013 XWiki. All Rights Reserved.