|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.mmapps.commons.util.UploadUtil.BinaryData
public static class UploadUtil.BinaryData
| Constructor Summary | |
|---|---|
UploadUtil.BinaryData()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getContentType()
|
byte[] |
getData()
get the binary data cached by this class |
java.io.InputStream |
getInputStream()
|
int |
getLength()
|
java.lang.String |
getOriginalFileName()
get original file name. the return value only contains the file name, the directory path is not include in return value. |
java.lang.String |
getOriginalFilePath()
get original file name, it is the path in the client in which upload the file. |
void |
setContentType(java.lang.String contentType)
|
void |
setData(byte[] data)
set the binary data into this class to cache. |
void |
setOriginalFilePath(java.lang.String originalFilePath)
set original file name, it is the path in the client in which upload the file. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UploadUtil.BinaryData()
| Method Detail |
|---|
public void setData(byte[] data)
data - public byte[] getData()
public java.lang.String getOriginalFilePath()
public void setOriginalFilePath(java.lang.String originalFilePath)
originalFilePath - The originalFilePath to set.public java.lang.String getOriginalFileName()
public int getLength()
public java.lang.String getContentType()
public void setContentType(java.lang.String contentType)
public java.io.InputStream getInputStream()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||