| java.lang.Object org.jasig.portal.UploadStatus
UploadStatus | public class UploadStatus (Code) | | UploadStatus provides status for mulit-part form data requests to channels.
This allows for channels to handle errors that occur when parameters
are not passed along in the request when the
max upload file size is exceeded.
|
Field Summary | |
final public static int | FAILURE | final public static int | SUCCESS |
Method Summary | |
public String | getFormattedMaxSize() Provides the max upload file size (in Megabytes)
which are set in portal properties. | public int | getMaxSize() Provides the max upload file size set in portal properties. | public int | getStatus() Provides the status for the current upload. |
FAILURE | final public static int FAILURE(Code) | | |
SUCCESS | final public static int SUCCESS(Code) | | |
UploadStatus | UploadStatus(int status, int maxSize)(Code) | | |
getFormattedMaxSize | public String getFormattedMaxSize()(Code) | | Provides the max upload file size (in Megabytes)
which are set in portal properties.
java.lang.String - the max upload file size. |
getMaxSize | public int getMaxSize()(Code) | | Provides the max upload file size set in portal properties.
the max upload file size as an int. |
getStatus | public int getStatus()(Code) | | Provides the status for the current upload.
the upload status as an int. |
|
|