UploadOptions.getMaxFileSize

The maximum size of file that can be uploaded. If the user attempts to upload a file larger than this, an error message is issued. Can be specified as an integer, or an integer terminated by K(kilobytes) or M(Megabytes). See #setMaxFileSize(String).

returns java.lang.String