za.org.coefficient.util.common
Class UploadedFile
java.lang.Object
za.org.coefficient.util.common.UploadedFile
- All Implemented Interfaces:
- java.io.Serializable
public class UploadedFile
- extends java.lang.Object
- implements java.io.Serializable
An uploaded file.
- See Also:
- Serialized Form
Constructor Summary |
UploadedFile(java.lang.String contentType,
byte[] content,
java.lang.String filepath)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
contentType
private java.lang.String contentType
filename
private java.lang.String filename
content
private byte[] content
UploadedFile
public UploadedFile(java.lang.String contentType,
byte[] content,
java.lang.String filepath)
- Parameters:
contentType
- the file content typecontent
- the file chunk of bytes
getContent
public byte[] getContent()
getContentType
public java.lang.String getContentType()
getFilename
public java.lang.String getFilename()
Copyright CSIR. All Rights Reserved.