Class IllustrativeAttachment
java.lang.Object
org.exoplatform.processes.model.IllustrativeAttachment
-
Constructor Summary
ConstructorsConstructorDescriptionIllustrativeAttachment(Long id, String fileName, InputStream inputStream, String mimeType, Long fileSize, Long lastUpdated) -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanisImageType(String mimeType) Whether an illustration of this type may be stored and served as an image: one of the types the process form accepts, PNG, JPEG, GIF, WEBP or BMP, whatever its case or surrounding blanks.
-
Constructor Details
-
IllustrativeAttachment
-
IllustrativeAttachment
-
IllustrativeAttachment
-
-
Method Details
-
isImageType
Whether an illustration of this type may be stored and served as an image: one of the types the process form accepts, PNG, JPEG, GIF, WEBP or BMP, whatever its case or surrounding blanks.- Parameters:
mimeType- the illustration's type- Returns:
- true for an image type the browser renders as an image only
-