public class FilePartData extends Object implements Serializable
| Constructor and Description |
|---|
FilePartData(File file) |
FilePartData(String name,
String contentType,
byte[] data) |
| Modifier and Type | Method and Description |
|---|---|
String |
getContentType() |
byte[] |
getData() |
String |
getName() |
void |
setContentType(String contentType) |
void |
setData(byte[] data) |
void |
setName(String name) |
public FilePartData(File file) throws IOException
IOExceptionpublic String getName()
public void setName(String name)
name - the name to setpublic String getContentType()
public void setContentType(String contentType)
contentType - the contentType to setpublic byte[] getData()
public void setData(byte[] data)
data - the data to setCopyright © 2020 XIMA MEDIA GmbH. All rights reserved.