za.org.coefficient.util.common
Class FileDownloadData
java.lang.Object
za.org.coefficient.util.common.FileDownloadData
public class FileDownloadData
- extends java.lang.Object
- Author:
- Leon Messerschmidt
Field Summary |
private byte[] |
bytes
An array of bytes that contains the raw data for the file that will be
downloaded. |
private java.lang.String |
filename
The name of the file |
private java.lang.String |
mimeType
The mime-type of the file |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
bytes
private byte[] bytes
- An array of bytes that contains the raw data for the file that will be
downloaded.
filename
private java.lang.String filename
- The name of the file
mimeType
private java.lang.String mimeType
- The mime-type of the file
FileDownloadData
public FileDownloadData()
setBytes
public void setBytes(byte[] bs)
- Parameters:
bs
-
setFilename
public void setFilename(java.lang.String string)
- Parameters:
string
-
setMimeType
public void setMimeType(java.lang.String string)
- Parameters:
string
-
getBytes
public byte[] getBytes()
- Returns:
getFilename
public java.lang.String getFilename()
- Returns:
getMimeType
public java.lang.String getMimeType()
- Returns:
Copyright CSIR. All Rights Reserved.