|
Uses of ContentReader in org.alfresco.repo.content |
Classes in org.alfresco.repo.content that implement ContentReader | |
class |
AbstractContentReader Implements all the convenience methods of the interface. |
Methods in org.alfresco.repo.content that return ContentReader | |
protected ContentReader |
AbstractContentWriter.createReader() A factory method for subclasses to implement that will ensure the proper implementation of the ContentWriter.getReader() method. |
protected ContentReader |
AbstractContentReader.createReader() A factory method for subclasses to implement that will ensure the proper implementation of the ContentReader.getReader() method. |
protected ContentReader |
AbstractContentWriter.getExistingContentReader() |
AbstractContentWriter.getReader() Performs checks and copies required reader attributes |
|
AbstractContentReader.getReader() Performs checks and copies required reader attributes |
|
ContentStore.getReader(String contentUrl) Get the accessor with which to read from the content at the given URL. |
Methods in org.alfresco.repo.content with parameters of type ContentReader | |
static boolean |
AbstractContentReader.compareContentReaders(ContentReader left, ContentReader right) Does a comparison of the binaries associated with two readers. |
protected ContentWriter |
AbstractContentStore.getWriterInternal(ContentReader existingContentReader, String newContentUrl) Implement to supply a store-specific writer for the given existing content and optional target content URL. |
void |
AbstractContentWriter.putContent(ContentReader reader) Copies content from the reader. |
Constructors in org.alfresco.repo.content with parameters of type ContentReader |
AbstractContentWriter(String contentUrl, ContentReader existingContentReader) |
Uses of ContentReader in org.alfresco.repo.content.filestore |
Classes in org.alfresco.repo.content.filestore that implement ContentReader | |
class |
FileContentReader Provides direct access to a local file. |
Methods in org.alfresco.repo.content.filestore that return ContentReader | |
protected ContentReader |
FileContentWriter.createReader() The URL of the write is known from the start and this method contract states that no consideration needs to be taken w.r.t. |
protected ContentReader |
FileContentReader.createReader() The URL of the write is known from the start and this method contract states that no consideration needs to be taken w.r.t. |
FileContentStore.getReader(String contentUrl) This implementation requires that the URL start with FileContentStore.STORE_PROTOCOL or FileContentStore.SPOOF_PROTOCOL |
|
static ContentReader |
FileContentReader.getSafeContentReader(ContentReader existingReader, String msgTemplate, Object... args) Checks the existing reader provided and replaces it with a reader onto some fake content if required. |
Methods in org.alfresco.repo.content.filestore with parameters of type ContentReader | |
static ContentReader |
FileContentReader.getSafeContentReader(ContentReader existingReader, String msgTemplate, Object... args) Checks the existing reader provided and replaces it with a reader onto some fake content if required. |
FileContentStore.getWriterInternal(ContentReader existingContentReader, String newContentUrl) Returns a writer onto a location based on the date. |
Constructors in org.alfresco.repo.content.filestore with parameters of type ContentReader |
FileContentWriter(File file, ContentReader existingContentReader) Constructor that builds a URL based on the absolute path of the file. |
FileContentWriter(File file, String url, ContentReader existingContentReader) Constructor that explicitely sets the URL that the reader represents. |
Uses of ContentReader in org.alfresco.repo.content.metadata |
Methods in org.alfresco.repo.content.metadata with parameters of type ContentReader | |
protected void |
AbstractMappingMetadataExtracter.checkIsSupported(ContentReader reader) Checks if the mimetype is supported. |
void |
MetadataEmbedder.embed(Map<QName,Serializable> properties, ContentReader reader, ContentWriter writer) Embeds the given properties into the file specified by the given content writer. |
void |
AbstractMappingMetadataExtracter.embed(Map<QName,Serializable> properties, ContentReader reader, ContentWriter writer) Embeds the given properties into the file specified by the given content writer. |
protected void |
TikaPoweredMetadataExtracter.embedInternal(Map<String,Serializable> properties, ContentReader reader, ContentWriter writer) Override to embed metadata values. |
protected void |
AbstractMappingMetadataExtracter.embedInternal(Map<String,Serializable> metadata, ContentReader reader, ContentWriter writer) Override to embed metadata values. |
MetadataExtracter.extract(ContentReader reader, Map<QName,Serializable> destination) Extracts the metadata values from the content provided by the reader and source mimetype to the supplied map. |
|
AbstractMappingMetadataExtracter.extract(ContentReader reader, Map<QName,Serializable> destination) Extracts the metadata values from the content provided by the reader and source mimetype to the supplied map. |
|
MetadataExtracter.extract(ContentReader reader, MetadataExtracter.OverwritePolicy overwritePolicy, Map<QName,Serializable> destination) Extracts the metadata values from the content provided by the reader and source mimetype to the supplied map. |
|
AbstractMappingMetadataExtracter.extract(ContentReader reader, MetadataExtracter.OverwritePolicy overwritePolicy, Map<QName,Serializable> destination) Extracts the metadata values from the content provided by the reader and source mimetype to the supplied map. |
|
MetadataExtracter.extract(ContentReader reader, MetadataExtracter.OverwritePolicy overwritePolicy, Map<QName,Serializable> destination, Map<String,Set<QName>> mapping) Extracts the metadata from the content provided by the reader and source mimetype to the supplied map. |
|
AbstractMappingMetadataExtracter.extract(ContentReader reader, MetadataExtracter.OverwritePolicy overwritePolicy, Map<QName,Serializable> destination, Map<String,Set<QName>> mapping) Extracts the metadata from the content provided by the reader and source mimetype to the supplied map. |
|
protected Map<String,Serializable> |
TikaPoweredMetadataExtracter.extractRaw(ContentReader reader) Override to provide the raw extracted metadata values. |
protected Map<String,Serializable> |
AbstractMappingMetadataExtracter.extractRaw(ContentReader reader) Override to provide the raw extracted metadata values. |
protected InputStream |
TikaPoweredMetadataExtracter.getInputStream(ContentReader reader) There seems to be some sort of issue with some downstream 3rd party libraries, and input streams that come from a ContentReader. |
Uses of ContentReader in org.alfresco.repo.content.transform |
Methods in org.alfresco.repo.content.transform with parameters of type ContentReader | |
protected void |
AbstractContentTransformer2.checkTransformable(ContentReader reader, ContentWriter writer, TransformationOptions options) Convenience method to check the transformability of a transformation |
protected TransformationOptionLimits |
AbstractContentTransformerLimits.getLimits(ContentReader reader, ContentWriter writer, TransformationOptions options) Returns max and limit values for time, size and pages for a specified source and target mimetypes, combined with this Transformer's general limits and optionally the supplied transformation option's limits. |
protected void |
AbstractContentTransformerLimits.setReaderLimits(ContentReader reader, ContentWriter writer, TransformationOptions options) Pass on any limits to the reader. |
void |
ContentTransformer.transform(ContentReader reader, ContentWriter writer) |
void |
AbstractContentTransformer2.transform(ContentReader reader, ContentWriter writer) |
void |
ContentTransformer.transform(ContentReader reader, ContentWriter writer, Map<String,Object> options) Deprecated. Deprecated since 3.0. Options should now be provided as a TransformationOptions object. |
void |
AbstractContentTransformer2.transform(ContentReader reader, ContentWriter writer, Map<String,Object> options) Transforms the content provided by the reader and source mimetype to the writer and target mimetype. |
void |
RuntimeExecutableContentTransformerWorker.transform(ContentReader reader, ContentWriter writer, TransformationOptions options) Converts the source and target content to temporary files with the correct extensions for the mimetype that they map to. |
void |
ContentTransformerWorker.transform(ContentReader reader, ContentWriter writer, TransformationOptions options) |
void |
ContentTransformer.transform(ContentReader reader, ContentWriter contentWriter, TransformationOptions options) Transforms the content provided by the reader and source mimetype to the writer and target mimetype with the provided transformation options. |
void |
AbstractContentTransformer2.transform(ContentReader reader, ContentWriter writer, TransformationOptions options) Transforms the content provided by the reader and source mimetype to the writer and target mimetype with the provided transformation options. |
protected void |
ProxyContentTransformer.transformInternal(ContentReader reader, ContentWriter writer, TransformationOptions options) Method to be implemented by subclasses wishing to make use of the common infrastructural code provided by this class. |
void |
FailoverContentTransformer.transformInternal(ContentReader reader, ContentWriter writer, TransformationOptions options) Method to be implemented by subclasses wishing to make use of the common infrastructural code provided by this class. |
void |
ComplexContentTransformer.transformInternal(ContentReader reader, ContentWriter writer, TransformationOptions options) Method to be implemented by subclasses wishing to make use of the common infrastructural code provided by this class. |
protected void |
AbstractContentTransformer2.transformInternal(ContentReader reader, ContentWriter writer, TransformationOptions options) Method to be implemented by subclasses wishing to make use of the common infrastructural code provided by this class. |
Uses of ContentReader in org.alfresco.service.cmr.model |
Methods in org.alfresco.service.cmr.model that return ContentReader | |
FileFolderService.getReader(NodeRef nodeRef) Get the reader to the file represented by the node according to the File/Folder model. |
Uses of ContentReader in org.alfresco.service.cmr.repository |
Methods in org.alfresco.service.cmr.repository that return ContentReader | |
ContentService.getRawReader(String contentUrl) Fetch content from the low-level stores using a content URL. |
|
ContentWriter.getReader() Convenience method to get a reader onto newly written content. |
|
ContentReader.getReader() Convenience method to get another reader onto the underlying content. |
|
ContentService.getReader(NodeRef nodeRef, QName propertyQName) Gets a reader for the content associated with the given node property. |
Methods in org.alfresco.service.cmr.repository with parameters of type ContentReader | |
MimetypeService.getMimetypeIfNotMatches(ContentReader reader) Use detection heuristics to check if the mime type of the document really matches what it claims to be. |
|
MimetypeService.guessMimetype(String filename, ContentReader reader) Provides a non-null best guess of the appropriate mimetype for a given file. |
|
boolean |
ContentService.isTransformable(ContentReader reader, ContentWriter writer) |
boolean |
ContentService.isTransformable(ContentReader reader, ContentWriter writer, TransformationOptions options) Returns whether a transformer exists that can read the content from the reader and write the content back out to the writer with the provided tranformation options. |
void |
ContentWriter.putContent(ContentReader reader) Copies content from the reader. |
void |
ContentService.transform(ContentReader reader, ContentWriter writer) Transforms the content from the reader and writes the content back out to the writer. |
void |
ContentService.transform(ContentReader reader, ContentWriter writer, Map<String,Object> options) Deprecated. As of release 3.0 the TransformOptions class should be used to pass transformation options to a transformation execution. |
void |
ContentService.transform(ContentReader reader, ContentWriter writer, TransformationOptions options) |
|