Uploading Blobs and Clobs
The fileAccept() element applies only to Blob or Clob parameters, indicating the type of file to accept when uploading a new value. The attribute is also supported on parameters.
For example:
import lombok.Getter;
import lombok.Setter;
public class ScannedDocument {
@Property(fileAccept="image/*") (1)
@Getter @Setter
private Blob scannedImage;
}
| 1 | as per reference docs, either a media type (such as image/*) or a file type extension (such as .png). |