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)
Returns the mime type from a given blob or 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.getMimetypeFromStream(InputStream stream)
Returns the mime type from a given stream.
|
String |
MimetypeRegistry.getMimetypeFromStreamWithDefault(InputStream is,
String defaultMimetype)
Returns the mime type from a given stream or provided default if not possible.
|
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.
|
Modifier and Type | Method and Description |
---|---|
String |
MimetypeRegistryService.getMimetypeFromBlob(Blob blob) |
String |
MimetypeRegistryService.getMimetypeFromBlobWithDefault(Blob blob,
String defaultMimetype)
Finds the mimetype of a Blob content and returns provided default if not possible.
|
String |
MimetypeRegistryService.getMimetypeFromFile(File file) |
String |
MimetypeRegistryService.getMimetypeFromFilenameAndBlobWithDefault(String filename,
Blob blob,
String defaultMimetype)
Finds the mimetype of some content according to its filename and / or binary content.
|
String |
MimetypeRegistryService.getMimetypeFromStream(InputStream stream)
Deprecated.
|
String |
MimetypeRegistryService.getMimetypeFromStreamWithDefault(InputStream is,
String defaultMimetype)
Deprecated.
|
Blob |
MimetypeRegistryService.updateMimetype(Blob blob) |
Blob |
MimetypeRegistryService.updateMimetype(Blob blob,
String filename) |
Copyright © 2015 Nuxeo SA. All rights reserved.