|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.opencms.gwt.shared.CmsUploadProgessInfo
public class CmsUploadProgessInfo
A bean that holds the upload progress infos.
| Nested Class Summary | |
|---|---|
static class |
CmsUploadProgessInfo.UPLOAD_STATE
A enum for the upload state. |
| Constructor Summary | |
|---|---|
CmsUploadProgessInfo()
Default constructor. |
|
CmsUploadProgessInfo(int currentFile,
int percent,
CmsUploadProgessInfo.UPLOAD_STATE state,
long contentLength,
long bytesRead)
Constructor with parameters. |
|
| Method Summary | |
|---|---|
long |
getBytesRead()
Returns the bytesRead. |
long |
getContentLength()
Returns the contentLength. |
int |
getCurrentFile()
Returns the currentFile. |
int |
getPercent()
Returns the percent. |
CmsUploadProgessInfo.UPLOAD_STATE |
getState()
Returns the state. |
void |
setBytesRead(long bytesRead)
Sets the bytesRead. |
void |
setContentLength(long contentLength)
Sets the contentLength. |
void |
setCurrentFile(int currentFile)
Sets the currentFile. |
void |
setPercent(int percent)
Sets the percent. |
void |
setState(CmsUploadProgessInfo.UPLOAD_STATE state)
Sets the state. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CmsUploadProgessInfo()
public CmsUploadProgessInfo(int currentFile,
int percent,
CmsUploadProgessInfo.UPLOAD_STATE state,
long contentLength,
long bytesRead)
currentFile - the current file countpercent - the progress in percentstate - the statecontentLength - the content length of the upload requestbytesRead - the count of bytes read so far| Method Detail |
|---|
public long getBytesRead()
public long getContentLength()
public int getCurrentFile()
public int getPercent()
public CmsUploadProgessInfo.UPLOAD_STATE getState()
public void setBytesRead(long bytesRead)
bytesRead - the bytesRead to setpublic void setContentLength(long contentLength)
contentLength - the contentLength to setpublic void setCurrentFile(int currentFile)
currentFile - the currentFile to setpublic void setPercent(int percent)
percent - the percent to setpublic void setState(CmsUploadProgessInfo.UPLOAD_STATE state)
state - the state to set
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||