Class MCRHTML2XHTMLContentTransformer
java.lang.Object
org.mycore.common.content.transformer.MCRContentTransformer
org.mycore.common.content.transformer.MCRHTML2XHTMLContentTransformer
-
Field Summary
Fields inherited from class org.mycore.common.content.transformer.MCRContentTransformer
contentDisposition, DEFAULT_CONTENT_DISPOSITION, fileExtension, mimeType
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the file extension that is usually related to the transformed content.Returns the MIME type of the transformed content, may return the default mime typetransform
(MCRContent source) Transforms MCRContent.Methods inherited from class org.mycore.common.content.transformer.MCRContentTransformer
getContentDisposition, getDefaultExtension, getDefaultMimeType, getEncoding, init, transform
-
Constructor Details
-
MCRHTML2XHTMLContentTransformer
public MCRHTML2XHTMLContentTransformer()
-
-
Method Details
-
transform
Description copied from class:MCRContentTransformer
Transforms MCRContent. Subclasses implement different transformation methods- Specified by:
transform
in classMCRContentTransformer
- Throws:
IOException
-
getFileExtension
Description copied from class:MCRContentTransformer
Returns the file extension that is usually related to the transformed content.- Overrides:
getFileExtension
in classMCRContentTransformer
- Throws:
Exception
-
getMimeType
Description copied from class:MCRContentTransformer
Returns the MIME type of the transformed content, may return the default mime type- Overrides:
getMimeType
in classMCRContentTransformer
- Throws:
Exception
-