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 ContentReader
ContentContext. getExistingContentReader()
ContentReader
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 Modifier and Type Method Description String
MimetypeMap. getMimetypeIfNotMatches(ContentReader reader)
Use Apache Tika to check if the mime type of the document really matches what it claims to be.String
MimetypeMap. 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 interface
FileContentReader
Extension toContentReader
for 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 ContentReader
ContentReader. getReader()
Convenience method to get another reader onto the underlying content.ContentReader
ContentWriter. 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 String
MimetypeService. getMimetypeIfNotMatches(ContentReader reader)
Use detection heuristics to check if the mime type of the document really matches what it claims to be.String
MimetypeService. guessMimetype(String filename, ContentReader reader)
Provides a non-null best guess of the appropriate mimetype for a given file.void
ContentWriter. putContent(ContentReader reader)
Copies content from the reader.
-