Uses of Interface
org.alfresco.service.cmr.repository.ContentReader
-
Packages that use ContentReader Package Description org.alfresco.repo.content org.alfresco.service.cmr.repository -
-
Uses of ContentReader in org.alfresco.repo.content
Methods in org.alfresco.repo.content that return ContentReader Modifier and Type Method Description ContentReaderContentContext. getExistingContentReader()ContentReaderContentStore. 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 Modifier and Type Method Description StringMimetypeMap. getMimetypeIfNotMatches(ContentReader reader)Use Apache Tika to check if the mime type of the document really matches what it claims to be.StringMimetypeMap. guessMimetype(String filename, ContentReader reader)Uses Tika to try to identify the mimetype of the file, falling back onMimetypeMap.guessMimetype(String)for an extension based one if Tika can't help.Constructors in org.alfresco.repo.content with parameters of type ContentReader Constructor Description ContentContext(ContentReader existingContentReader, String contentUrl)Construct the instance with the content URL. -
Uses of ContentReader in org.alfresco.service.cmr.repository
Subinterfaces of ContentReader in org.alfresco.service.cmr.repository Modifier and Type Interface Description interfaceFileContentReaderExtension toContentReaderfor Readers which are able to make the backing file available to you.Methods in org.alfresco.service.cmr.repository that return ContentReader Modifier and Type Method Description ContentReaderContentReader. getReader()Convenience method to get another reader onto the underlying content.ContentReaderContentWriter. getReader()Convenience method to get a reader onto newly written content.Methods in org.alfresco.service.cmr.repository with parameters of type ContentReader Modifier and Type Method Description StringMimetypeService. getMimetypeIfNotMatches(ContentReader reader)Use detection heuristics to check if the mime type of the document really matches what it claims to be.StringMimetypeService. guessMimetype(String filename, ContentReader reader)Provides a non-null best guess of the appropriate mimetype for a given file.voidContentWriter. putContent(ContentReader reader)Copies content from the reader.
-