za.org.coefficient.util.common
Class FileDownloadData

java.lang.Object
  extended by 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
 
Constructor Summary
FileDownloadData()
           
 
Method Summary
 byte[] getBytes()
           
 java.lang.String getFilename()
           
 java.lang.String getMimeType()
           
 void setBytes(byte[] bs)
           
 void setFilename(java.lang.String string)
           
 void setMimeType(java.lang.String string)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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

Constructor Detail

FileDownloadData

public FileDownloadData()
Method Detail

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.