Class MCRBibUtilsTransformer
java.lang.Object
org.mycore.common.content.transformer.MCRContentTransformer
org.mycore.common.content.transformer.MCRBibUtilsTransformer
Transforms MCRContent by invoking an external BibUtils command.
See http://www.scripps.edu/~cdputnam/software/bibutils/
The BibUtils commands provide functionality to convert between
RIS, Endnote, BibTeX, ISI web of science, Word 2007 bibliography format
and MODS. For each transformer instance, the command must be specified,
for example
MCR.ContentTransformer.{ID}.Command=cmd.exe /c C:\\Java\\bibutils_4.12\\xml2bib.exe -b -w
- Author:
- Frank Lützenkirchen
-
Field Summary
Fields inherited from class org.mycore.common.content.transformer.MCRContentTransformer
contentDisposition, DEFAULT_CONTENT_DISPOSITION, fileExtension, mimeType
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Called by the factory to initialize configuration of this transformertransform
(MCRContent source) Transforms MCRContent.Methods inherited from class org.mycore.common.content.transformer.MCRContentTransformer
getContentDisposition, getDefaultExtension, getDefaultMimeType, getEncoding, getFileExtension, getMimeType, transform
-
Constructor Details
-
MCRBibUtilsTransformer
public MCRBibUtilsTransformer()
-
-
Method Details
-
init
Description copied from class:MCRContentTransformer
Called by the factory to initialize configuration of this transformer- Overrides:
init
in classMCRContentTransformer
-
transform
Description copied from class:MCRContentTransformer
Transforms MCRContent. Subclasses implement different transformation methods- Specified by:
transform
in classMCRContentTransformer
- Throws:
IOException
-