Package | Description |
---|---|
org.alfresco.repo.content | |
org.alfresco.repo.content.transform | |
org.alfresco.service.cmr.repository |
Modifier and Type | Method and Description |
---|---|
ContentTransformer |
ContentServiceImpl.getImageTransformer() |
ContentTransformer |
ContentServiceImpl.getTransformer(String sourceMimetype,
String targetMimetype) |
ContentTransformer |
ContentServiceImpl.getTransformer(String sourceUrl,
String sourceMimetype,
long sourceSize,
String targetMimetype,
TransformationOptions options) |
ContentTransformer |
ContentServiceImpl.getTransformer(String sourceMimetype,
String targetMimetype,
TransformationOptions options) |
Modifier and Type | Method and Description |
---|---|
List<ContentTransformer> |
ContentServiceImpl.getActiveTransformers(String sourceMimetype,
long sourceSize,
String targetMimetype,
TransformationOptions options) |
List<ContentTransformer> |
ContentServiceImpl.getActiveTransformers(String sourceMimetype,
String targetMimetype,
TransformationOptions options) |
List<ContentTransformer> |
ContentServiceImpl.getTransformers(String sourceUrl,
String sourceMimetype,
long sourceSize,
String targetMimetype,
TransformationOptions options) |
Modifier and Type | Method and Description |
---|---|
void |
ContentServiceImpl.setImageMagickContentTransformer(ContentTransformer imageMagickContentTransformer) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractContentTransformer
Deprecated.
Deprecated since 3.0. The abstract base class org.alfresco.repo.content.transform.AbstractContentTransformer2 should now be used instead.
|
class |
AbstractContentTransformer2
Provides basic services for
ContentTransformer
implementations. |
class |
AbstractContentTransformerLimits
Provides transformation limits for
ContentTransformer
implementations. |
class |
AppleIWorksContentTransformer
Converts Apple iWorks files to JPEGs for thumbnailing & previewing.
|
class |
ArchiveContentTransformer
This class transforms archive files (zip, tar etc) to text, which enables indexing
and searching of archives as well as webpreviewing.
|
class |
BinaryPassThroughContentTransformer
Allows direct streaming from source to target when the respective mimetypes
are identical, except where the mimetype is text.
|
class |
ComplexContentTransformer
Transformer that passes a document through several nested transformations
in order to accomplish its goal.
|
class |
EMLTransformer
Uses javax.mail.MimeMessage to generate plain text versions of RFC822 email
messages.
|
class |
FailoverContentTransformer
This class is a transformer which contains a fixed sequence of delegate transformers.
|
class |
HtmlParserContentTransformer
Content transformer which wraps the HTML Parser library for
parsing HTML content.
|
class |
MailContentTransformer
Uses Apache Tika and
Apache POI to transform
Outlook email msg files.
|
class |
MediaWikiContentTransformer
MediaWiki content transformer.
|
class |
OOXMLThumbnailContentTransformer
Extracts out Thumbnail JPEGs from OOXML files for thumbnailing & previewing.
|
class |
PdfBoxContentTransformer
Uses Apache Tika and
Apache PDFBox to perform
conversions from PDF documents.
|
class |
PoiContentTransformer
Uses Apache Tika and
Apache POI to perform
conversions from Office documents.
|
class |
PoiHssfContentTransformer
Uses Apache Tika and
Apache POI to perform
conversions from Excel spreadsheets.
|
class |
PoiOOXMLContentTransformer
Uses Apache Tika and
Apache POI to perform
conversions from the newer OOXML Office documents.
|
class |
ProxyContentTransformer
Makes use of a
ContentTransformerWorker to perform conversions. |
class |
StringExtractingContentTransformer
Converts any textual format to plain text.
|
class |
TextMiningContentTransformer
This badly named transformer turns Microsoft Word documents
(Word 6, 95, 97, 2000, 2003) into plain text, using Apache Tika.
|
class |
TextToPdfContentTransformer
Makes use of the PDFBox library's
TextToPDF utility. |
class |
TikaAutoContentTransformer
A Content Extractor for XML, HTML and Text,
which makes use of the Apache Tika
auto-detection to select the best parser
to process your document.
|
class |
TikaPoweredContentTransformer
Provides helpful services for
ContentTransformer
implementations which are powered by Apache Tika. |
class |
TikaSpringConfiguredContentTransformer
A Content Extractor for XML, HTML and Text, which makes
use of Apache Tika, and allows the selection of the
Tika parser to be sprung-in.
|
Modifier and Type | Method and Description |
---|---|
ContentTransformer |
ContentTransformerRegistry.getTransformer(String transformerName)
Returns a transformer identified by name.
|
ContentTransformer |
ContentTransformerRegistry.getTransformer(String sourceMimetype,
long sourceSize,
String targetMimetype,
TransformationOptions options)
Gets the best transformer possible.
|
ContentTransformer |
ContentTransformerRegistry.getTransformer(String sourceMimetype,
String targetMimetype,
TransformationOptions options)
Deprecated.
use overloaded version with sourceSize parameter.
|
Modifier and Type | Method and Description |
---|---|
List<ContentTransformer> |
ContentTransformerRegistry.getActiveTransformers(String sourceMimetype,
long sourceSize,
String targetMimetype,
TransformationOptions options) |
List<ContentTransformer> |
ContentTransformerRegistry.getAllTransformers() |
List<ContentTransformer> |
ComplexContentTransformer.getIntermediateTransformers() |
List<ContentTransformer> |
ContentTransformerRegistry.getTransformers() |
List<ContentTransformer> |
TransformerSelector.selectTransformers(String sourceMimetype,
long sourceSize,
String targetMimetype,
TransformationOptions options)
Returns a sorted list of transformers that identifies the order in which transformers
should be tried.
|
List<ContentTransformer> |
TransformerSelectorImplOriginal.selectTransformers(String sourceMimetype,
long sourceSize,
String targetMimetype,
TransformationOptions options) |
List<ContentTransformer> |
TransformerSelectorImpl.selectTransformers(String sourceMimetype,
long sourceSize,
String targetMimetype,
TransformationOptions options) |
Collection<ContentTransformer> |
TransformerDebug.sortTransformersByName(String transformerName)
Returns a sorted list of all transformers sorted by name.
|
Modifier and Type | Method and Description |
---|---|
void |
TransformerDebug.activeTransformer(int mimetypePairCount,
ContentTransformer transformer,
String sourceMimetype,
String targetMimetype,
long maxSourceSizeKBytes,
boolean firstMimetypePair) |
void |
TransformerDebug.activeTransformer(String sourceMimetype,
String targetMimetype,
int transformerCount,
ContentTransformer transformer,
long maxSourceSizeKBytes,
boolean firstTransformer) |
void |
ContentTransformerRegistry.addComponentTransformer(ContentTransformer transformer)
Records a transformer that can NOT be queried for applicability, but may be
included as a component of complex transformers.
|
void |
ContentTransformerRegistry.addTransformer(ContentTransformer transformer)
Registers an individual transformer that can be queried to check for applicability.
|
void |
TransformerDebug.blacklistTransform(ContentTransformer transformer,
String sourceMimetype,
String targetMimetype,
TransformationOptions options)
Called when a transformer has been ignored because of a blacklist entry.
|
List<org.alfresco.service.cmr.repository.NodeRef> |
TransformerConfigImpl.getBlacklist(ContentTransformer transformer,
String sourceMimetype,
String targetMimetype)
Returns a list of blacklisted NodeRefs of the specified transformer for the the combination of source and target mimetype.
|
List<org.alfresco.service.cmr.repository.NodeRef> |
TransformerConfig.getBlacklist(ContentTransformer transformer,
String sourceMimetype,
String targetMimetype)
Returns a list of blacklisted NodeRefs of the specified transformer for the the combination of source and target mimetype.
|
int |
TransformerConfigProperty.getInt(ContentTransformer transformer,
String sourceMimetype,
String targetMimetype) |
TransformationOptionLimits |
TransformerConfigImpl.getLimits(ContentTransformer transformer,
String sourceMimetype,
String targetMimetype,
String use)
Returns the limits defined for the combination of transformer, sourceMimetype and targetMimetype.
|
TransformationOptionLimits |
TransformerConfig.getLimits(ContentTransformer transformer,
String sourceMimetype,
String targetMimetype,
String use)
Returns the limits defined for the combination of transformer, sourceMimetype and targetMimetype.
|
TransformationOptionLimits |
TransformerConfigLimits.getLimits(ContentTransformer transformer,
String sourceMimetype,
String targetMimetype,
String use)
|
long |
TransformerConfigProperty.getLong(ContentTransformer transformer,
String sourceMimetype,
String targetMimetype) |
List<org.alfresco.service.cmr.repository.NodeRef> |
TransformerConfigProperty.getNodeRefs(ContentTransformer transformer,
String sourceMimetype,
String targetMimetype) |
int |
TransformerConfigImpl.getPriority(ContentTransformer transformer,
String sourceMimetype,
String targetMimetype)
Returns the priority of the specified transformer for the the combination of source and target mimetype.
|
int |
TransformerConfig.getPriority(ContentTransformer contentTransformerHelper,
String sourceMimetype,
String targetMimetype)
Returns the priority of the specified transformer for the the combination of source and target mimetype.
|
static String |
ContentTransformerHelper.getSimpleName(ContentTransformer transformer)
Returns the simple form of the transformer name, which has had the normal
"transformer." prefix to the Spring bean name removed.
|
TransformerStatistics |
TransformerConfigImpl.getStatistics(ContentTransformer transformer,
String sourceMimetype,
String targetMimetype,
boolean createNew)
Returns and creates if needed the
TransformerStatistics object for the combination of
transformer, sourceMimetype and targetMimetype. |
TransformerStatistics |
TransformerConfig.getStatistics(ContentTransformer transformer,
String sourceMimetype,
String targetMimetype,
boolean createNew)
Returns and creates if needed the
TransformerStatistics object for the combination of
transformer, sourceMimetype and targetMimetype. |
TransformerStatistics |
TransformerConfigStatistics.getStatistics(ContentTransformer transformer,
String sourceMimetype,
String targetMimetype,
boolean createNew) |
int |
TransformerConfigImpl.getThresholdCount(ContentTransformer transformer,
String sourceMimetype,
String targetMimetype)
Returns the threshold of the transformer.
|
int |
TransformerConfig.getThresholdCount(ContentTransformer contentTransformerHelper,
String sourceMimetype,
String targetMimetype)
Returns the threshold of the transformer.
|
void |
TransformerDebug.inactiveTransformer(ContentTransformer transformer) |
boolean |
TransformerConfigImpl.isSupportedTransformation(ContentTransformer transformer,
String sourceMimetype,
String targetMimetype,
TransformationOptions options)
Returns true if the supplied mimetype transformation pair is allowed by the list of supported
and unsupported transformations.
|
boolean |
TransformerConfigSupported.isSupportedTransformation(ContentTransformer transformer,
String sourceMimetype,
String targetMimetype,
TransformationOptions options)
|
boolean |
TransformerConfig.isSupportedTransformation(ContentTransformer transformer,
String sourceMimetype,
String targetMimetype,
TransformationOptions options)
Returns true if the supplied mimetype transformation pair is allowed by the list of supported
and unsupported transformations.
|
void |
TransformerDebug.pushIsTransformableSize(ContentTransformer transformer)
Called prior to calling a nested isTransformable.
|
void |
TransformerDebug.pushTransform(ContentTransformer transformer,
String fromUrl,
String sourceMimetype,
String targetMimetype,
long sourceSize,
TransformationOptions options)
Called prior to performing a transform.
|
void |
ContentTransformerRegistry.removeTransformer(ContentTransformer transformer)
Removes a dynamically created transformer.
|
void |
TransformerDebug.unavailableTransformer(ContentTransformer transformer,
String sourceMimetype,
String targetMimetype,
long maxSourceSizeKBytes)
Called to identify a transformer that cannot be used during working out
available transformers.
|
Modifier and Type | Method and Description |
---|---|
void |
TransformerDebug.availableTransformers(List<ContentTransformer> transformers,
long sourceSize,
TransformationOptions options,
String calledFrom)
Called once all available transformers have been identified.
|
void |
ComplexContentTransformer.setTransformers(List<ContentTransformer> transformers)
The list of transformers to use.
|
void |
FailoverContentTransformer.setTransformers(List<ContentTransformer> transformers)
The list of transformers to use.
|
Constructor and Description |
---|
TransformerStatisticsImpl(org.alfresco.service.cmr.repository.MimetypeService mimetypeService,
String sourceMimetype,
String targetMimetype,
ContentTransformer transformer,
TransformerStatistics parent,
long errorTime,
long initialAverageTime,
long initialCount) |
Modifier and Type | Method and Description |
---|---|
ContentTransformer |
ContentService.getImageTransformer()
Fetch the transformer that is capable of transforming image content.
|
ContentTransformer |
ContentService.getTransformer(String sourceMimetype,
String targetMimetype)
Fetch the transformer that is capable of transforming the content in the
given source mimetype to the given target mimetype.
|
ContentTransformer |
ContentService.getTransformer(String sourceUrl,
String sourceMimetype,
long sourceSize,
String targetMimetype,
TransformationOptions options)
Fetch the transformer that is capable of transforming the content in the
given source mimetype to the given target mimetype with the provided transformation
options.
|
ContentTransformer |
ContentService.getTransformer(String sourceMimetype,
String targetMimetype,
TransformationOptions options)
Deprecated.
use overloaded method with sourceSize parameter.
|
Modifier and Type | Method and Description |
---|---|
List<ContentTransformer> |
ContentService.getActiveTransformers(String sourceMimetype,
long sourceSize,
String targetMimetype,
TransformationOptions options)
|
List<ContentTransformer> |
ContentService.getActiveTransformers(String sourceMimetype,
String targetMimetype,
TransformationOptions options)
|
List<ContentTransformer> |
ContentService.getTransformers(String sourceUrl,
String sourceMimetype,
long sourceSize,
String targetMimetype,
TransformationOptions options)
Fetch the transformers that are capable of transforming the content in the
given source mimetype to the given target mimetype with the provided transformation
options.
|
Copyright © 2005–2017 Alfresco Software. All rights reserved.