jreports
Class Report

java.lang.Object
  extended by jreports.Report

public class Report
extends java.lang.Object


Field Summary
 byte[] data
           
 java.lang.String format
           
static java.lang.String FORMAT_EXCEL
           
static java.lang.String FORMAT_PDF
           
static java.lang.String FORMAT_RTF
           
static java.lang.String FORMAT_WORD
           
 java.lang.String name
           
 
Constructor Summary
Report(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_PDF

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

FORMAT_EXCEL

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

FORMAT_WORD

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

FORMAT_RTF

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

data

public byte[] data

format

public java.lang.String format

name

public java.lang.String name
Constructor Detail

Report

public Report(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)