org.jasig.portal
Class UploadStatus
java.lang.Object
org.jasig.portal.UploadStatus
public class UploadStatus
- extends Object
|
Method Summary |
String |
getFormattedMaxSize()
Provides the max upload file size (in Megabytes)
which are set in portal properties. |
int |
getMaxSize()
Provides the max upload file size set in portal properties. |
int |
getStatus()
Provides the status for the current upload. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SUCCESS
public static final int SUCCESS
- See Also:
- Constant Field Values
FAILURE
public static final int FAILURE
- See Also:
- Constant Field Values
UploadStatus
public UploadStatus(int status,
long maxSize)
getStatus
public int getStatus()
- Provides the status for the current upload.
- Returns:
- the upload status as an int.
getMaxSize
public int getMaxSize()
- Provides the max upload file size set in portal properties.
- Returns:
- the max upload file size as an int.
getFormattedMaxSize
public String getFormattedMaxSize()
- Provides the max upload file size (in Megabytes)
which are set in portal properties.
- Returns:
java.lang.String - the max upload file size.
Copyright © 2010 Jasig. All Rights Reserved.