exportData
Class ExportData

java.lang.Object
  extended by exportData.ExportData

public class ExportData
extends java.lang.Object


Field Summary
 byte[] data
           
 java.lang.String format
           
static java.lang.String FORMAT_CSV
           
static java.lang.String FORMAT_XLS
           
 java.lang.String name
           
 
Constructor Summary
ExportData(java.lang.String name, java.lang.String format, byte[] data)
           
 
Method Summary
 java.lang.String getContentType()
           
 byte[] getData()
           
 java.lang.String getFormat()
           
 java.lang.String getName()
           
 void setData(byte[] data)
           
 void setFormat(java.lang.String format)
           
 void setName(java.lang.String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FORMAT_XLS

public static final java.lang.String FORMAT_XLS
See Also:
Constant Field Values

FORMAT_CSV

public static final java.lang.String FORMAT_CSV
See Also:
Constant Field Values

data

public byte[] data

format

public java.lang.String format

name

public java.lang.String name
Constructor Detail

ExportData

public ExportData(java.lang.String name,
                  java.lang.String format,
                  byte[] data)
Method Detail

getData

public byte[] getData()

setData

public void setData(byte[] data)

getFormat

public java.lang.String getFormat()

setFormat

public void setFormat(java.lang.String format)

getName

public java.lang.String getName()

getContentType

public java.lang.String getContentType()

setName

public void setName(java.lang.String name)