|
Method Summary | ||
org.alfresco.repo.content.encoding.ContentCharsetFinder |
getContentCharsetFinder() Provides the system default charset finder. |
|
getDisplaysByExtension() Get all human readable mimetype descriptions indexed by mimetype extension |
||
getDisplaysByMimetype() Get all human readable mimetype descriptions indexed by mimetype |
||
getExtension(String mimetype) Get the extension for the specified mimetype |
||
getExtensionsByMimetype() Get all mimetype extensions indexed by mimetype |
||
getMimetype(String extension) Get the mimetype for the specified extension |
||
getMimetypeIfNotMatches(ContentReader reader) Use detection heuristics to check if the mime type of the document really matches what it claims to be. |
||
getMimetypes() Get all mimetypes |
||
getMimetypes(String extension) Returns a collection of mimetypes ordered by extension. |
||
getMimetypesByExtension() Get all mimetypes indexed by extension |
||
guessMimetype(String filename) Provides a non-null best guess of the appropriate mimetype given a filename, based entirely on the file extension. |
||
guessMimetype(String filename, ContentReader reader) Provides a non-null best guess of the appropriate mimetype for a given file. |
||
guessMimetype(String filename, InputStream input) Provides a non-null best guess of the appropriate mimetype for a given file. |
||
boolean |
isText(String mimetype) Check if a given mimetype represents a text format. |
|