Package | Description |
---|---|
org.nuxeo.ecm.platform.convert.plugins | |
org.nuxeo.ecm.platform.mimetype.interfaces | |
org.nuxeo.ecm.platform.mimetype.service |
Modifier and Type | Method and Description |
---|---|
Blob |
ZipCachableBlobHolder.getBlob(String path) |
Modifier and Type | Method and Description |
---|---|
String |
MimetypeRegistry.getMimetypeFromBlob(Blob blob)
Returns the mime type from a given stream.
|
String |
MimetypeRegistry.getMimetypeFromBlobWithDefault(Blob blob,
String defaultMimetype)
Finds the mimetype of a Blob content and returns provided default if not possible.
|
String |
MimetypeRegistry.getMimetypeFromFile(File file)
Returns the mime type given a file.
|
String |
MimetypeRegistry.getMimetypeFromFilenameAndBlobWithDefault(String filename,
Blob blob,
String defaultMimetype)
Finds the mimetype of some content according to its filename and / or binary content.
|
String |
MimetypeRegistry.getMimetypeFromFilenameWithBlobMimetypeFallback(String filename,
Blob blob,
String defaultMimetype)
Finds the mimetype of some content according to its filename or binary mime type or binary content.
|
Blob |
MimetypeRegistry.updateMimetype(Blob blob)
Update the mimetype field of a Blob based on the embedded filename with fallback to binary sniffing.
|
Blob |
MimetypeRegistry.updateMimetype(Blob blob,
String filename)
Update the mimetype field of a Blob based on the provided filename with fallback to binary sniffing.
|
Blob |
MimetypeRegistry.updateMimetype(Blob blob,
String filename,
Boolean withBlobMimetypeFallback)
Update the mimetype field of a Blob based on the provided filename with fallback to binary.
|
Modifier and Type | Method and Description |
---|---|
String |
MimetypeRegistryService.getMimetypeFromBlob(Blob blob) |
String |
MimetypeRegistryService.getMimetypeFromBlobWithDefault(Blob blob,
String defaultMimetype) |
String |
MimetypeRegistryService.getMimetypeFromFile(File file) |
String |
MimetypeRegistryService.getMimetypeFromFilenameAndBlobWithDefault(String filename,
Blob blob,
String defaultMimetype) |
String |
MimetypeRegistryService.getMimetypeFromFilenameWithBlobMimetypeFallback(String filename,
Blob blob,
String defaultMimetype) |
Blob |
MimetypeRegistryService.updateMimetype(Blob blob) |
Blob |
MimetypeRegistryService.updateMimetype(Blob blob,
String filename) |
Blob |
MimetypeRegistryService.updateMimetype(Blob blob,
String filename,
Boolean withBlobMimetypeFallback) |
Copyright © 2017 Nuxeo. All rights reserved.