public interface AMImageValidator
| Modifier and Type | Method and Description |
|---|---|
default boolean |
isProcessingSupported(com.liferay.portal.kernel.repository.model.FileVersion fileVersion)
Returns
true if the provided file version supports image
processing. |
boolean |
isProcessingSupported(java.lang.String mimeType)
Returns
true if the provided mimeType supports image
processing. |
boolean |
isValid(com.liferay.portal.kernel.repository.model.FileVersion fileVersion)
Returns
true if the provided file version is valid for
Adaptive Media. |
default boolean isProcessingSupported(com.liferay.portal.kernel.repository.model.FileVersion fileVersion)
true if the provided file version supports image
processing. Adaptive Media works with some media types where the content
doesn't need to be processed or doesn't support processing at all (e.g.
SVG).true if the file version supports image processing.boolean isProcessingSupported(java.lang.String mimeType)
true if the provided mimeType supports image
processing. Adaptive Media works with some media types where the content
doesn't need to be processed or doesn't support processing at all (e.g.
SVG).true if the file version supports image processing.boolean isValid(com.liferay.portal.kernel.repository.model.FileVersion fileVersion)
true if the provided file version is valid for
Adaptive Media.true if the file version is valid for Adaptive Media