aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/apps/MimeConstants.java
diff options
context:
space:
mode:
authorAdrian Cumiskey <acumiskey@apache.org>2008-07-21 13:42:40 +0000
committerAdrian Cumiskey <acumiskey@apache.org>2008-07-21 13:42:40 +0000
commit72035be677ea5ecbf5520e20d045dd92594a47e0 (patch)
treec82d9b431429d9f442758142e43b661f10a08f4d /src/java/org/apache/fop/apps/MimeConstants.java
parent34ebad8ecf65b001b419e2c5079eb416f2cb188b (diff)
downloadxmlgraphics-fop-72035be677ea5ecbf5520e20d045dd92594a47e0.tar.gz
xmlgraphics-fop-72035be677ea5ecbf5520e20d045dd92594a47e0.zip
* Fixed problem with SVG object type not being determined.
* MimeConstants now extends the one in commons. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AFPGOCAResources@678410 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/apps/MimeConstants.java')
-rw-r--r--src/java/org/apache/fop/apps/MimeConstants.java48
1 files changed, 1 insertions, 47 deletions
diff --git a/src/java/org/apache/fop/apps/MimeConstants.java b/src/java/org/apache/fop/apps/MimeConstants.java
index cdd30c0e1..87048fa4d 100644
--- a/src/java/org/apache/fop/apps/MimeConstants.java
+++ b/src/java/org/apache/fop/apps/MimeConstants.java
@@ -22,51 +22,8 @@ package org.apache.fop.apps;
/**
* Frequently used MIME types for various file formats used when working with Apache FOP.
*/
-public interface MimeConstants {
+public interface MimeConstants extends org.apache.xmlgraphics.util.MimeConstants {
- /** Portable Document Format */
- String MIME_PDF = "application/pdf";
-
- /** PostScript */
- String MIME_POSTSCRIPT = "application/postscript";
- /** Encapsulated PostScript (same MIME type as PostScript) */
- String MIME_EPS = MIME_POSTSCRIPT;
-
- /** HP's PCL */
- String MIME_PCL = "application/x-pcl";
- /** HP's PCL (alternative MIME type) */
- String MIME_PCL_ALT = "application/vnd.hp-PCL";
-
- /** IBM's AFP */
- String MIME_AFP = "application/x-afp";
- /** IBM's AFP (alternative MIME type) */
- String MIME_AFP_ALT = "application/vnd.ibm.modcap";
-
- /** Plain text */
- String MIME_PLAIN_TEXT = "text/plain";
-
- /** Rich text format */
- String MIME_RTF = "application/rtf";
- /** Rich text format (alternative 1) */
- String MIME_RTF_ALT1 = "text/richtext";
- /** Rich text format (alternative 2) */
- String MIME_RTF_ALT2 = "text/rtf";
-
- /** FrameMaker's MIF */
- String MIME_MIF = "application/mif";
-
- /** Scalable Vector Graphics */
- String MIME_SVG = "image/svg+xml";
-
- /** GIF images */
- String MIME_GIF = "image/gif";
- /** PNG images */
- String MIME_PNG = "image/png";
- /** JPEG images */
- String MIME_JPEG = "image/jpeg";
- /** TIFF images */
- String MIME_TIFF = "image/tiff";
-
/** Apache FOP's AWT preview (non-standard MIME type) */
String MIME_FOP_AWT_PREVIEW = "application/X-fop-awt-preview";
/** Apache FOP's Direct Printing (non-standard MIME type) */
@@ -74,7 +31,4 @@ public interface MimeConstants {
/** Apache FOP's area tree XML */
String MIME_FOP_AREA_TREE = "application/X-fop-areatree";
- /** Proposed but non-registered MIME type for XSL-FO */
- String MIME_XSL_FO = "text/xsl";
-
}