Package net.sf.jasperreports.data.xls
Class XlsDataAdapterImpl
- java.lang.Object
-
- net.sf.jasperreports.dataadapters.AbstractDataAdapter
-
- net.sf.jasperreports.data.xls.XlsDataAdapterImpl
-
- All Implemented Interfaces:
XlsDataAdapter
,DataAdapter
,FileDataAdapter
- Direct Known Subclasses:
ExcelDataAdapterImpl
,XlsxDataAdapterImpl
public class XlsDataAdapterImpl extends AbstractDataAdapter implements XlsDataAdapter
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
-
-
Constructor Summary
Constructors Constructor Description XlsDataAdapterImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description List<Integer>
getColumnIndexes()
List<String>
getColumnNames()
DataFile
getDataFile()
String
getDatePattern()
String
getFileName()
Deprecated.replaced bygetDataFile()
Locale
getLocale()
String
getNumberPattern()
String
getSheetSelection()
TimeZone
getTimeZone()
boolean
isQueryExecuterMode()
boolean
isUseFirstRowAsHeader()
void
setColumnIndexes(List<Integer> columnIndexes)
void
setColumnNames(List<String> columnNames)
void
setDataFile(DataFile dataFile)
void
setDatePattern(String datePattern)
void
setFileName(String filename)
Deprecated.void
setLocale(Locale locale)
void
setNumberPattern(String numberPattern)
void
setQueryExecuterMode(boolean queryExecuterMode)
void
setSheetSelection(String sheetSelection)
void
setTimeZone(TimeZone timeZone)
void
setUseFirstRowAsHeader(boolean useFirstRowAsHeader)
-
Methods inherited from class net.sf.jasperreports.dataadapters.AbstractDataAdapter
getName, setName
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.sf.jasperreports.dataadapters.DataAdapter
getName, setName
-
-
-
-
Method Detail
-
getDatePattern
public String getDatePattern()
- Specified by:
getDatePattern
in interfaceXlsDataAdapter
-
getNumberPattern
public String getNumberPattern()
- Specified by:
getNumberPattern
in interfaceXlsDataAdapter
-
getFileName
@Deprecated public String getFileName()
Deprecated.replaced bygetDataFile()
- Specified by:
getFileName
in interfaceXlsDataAdapter
-
setFileName
@Deprecated public void setFileName(String filename)
Deprecated.- Specified by:
setFileName
in interfaceXlsDataAdapter
-
isUseFirstRowAsHeader
public boolean isUseFirstRowAsHeader()
- Specified by:
isUseFirstRowAsHeader
in interfaceXlsDataAdapter
-
getColumnNames
public List<String> getColumnNames()
- Specified by:
getColumnNames
in interfaceXlsDataAdapter
-
getColumnIndexes
public List<Integer> getColumnIndexes()
- Specified by:
getColumnIndexes
in interfaceXlsDataAdapter
-
setColumnNames
public void setColumnNames(List<String> columnNames)
- Specified by:
setColumnNames
in interfaceXlsDataAdapter
-
setColumnIndexes
public void setColumnIndexes(List<Integer> columnIndexes)
- Specified by:
setColumnIndexes
in interfaceXlsDataAdapter
-
setUseFirstRowAsHeader
public void setUseFirstRowAsHeader(boolean useFirstRowAsHeader)
- Specified by:
setUseFirstRowAsHeader
in interfaceXlsDataAdapter
-
setDatePattern
public void setDatePattern(String datePattern)
- Specified by:
setDatePattern
in interfaceXlsDataAdapter
-
setNumberPattern
public void setNumberPattern(String numberPattern)
- Specified by:
setNumberPattern
in interfaceXlsDataAdapter
-
isQueryExecuterMode
public boolean isQueryExecuterMode()
- Specified by:
isQueryExecuterMode
in interfaceXlsDataAdapter
-
setQueryExecuterMode
public void setQueryExecuterMode(boolean queryExecuterMode)
- Specified by:
setQueryExecuterMode
in interfaceXlsDataAdapter
-
getSheetSelection
public String getSheetSelection()
- Specified by:
getSheetSelection
in interfaceXlsDataAdapter
-
setSheetSelection
public void setSheetSelection(String sheetSelection)
- Specified by:
setSheetSelection
in interfaceXlsDataAdapter
-
getDataFile
public DataFile getDataFile()
- Specified by:
getDataFile
in interfaceFileDataAdapter
-
setDataFile
public void setDataFile(DataFile dataFile)
- Specified by:
setDataFile
in interfaceFileDataAdapter
-
getLocale
public Locale getLocale()
- Specified by:
getLocale
in interfaceXlsDataAdapter
-
setLocale
public void setLocale(Locale locale)
- Specified by:
setLocale
in interfaceXlsDataAdapter
-
getTimeZone
public TimeZone getTimeZone()
- Specified by:
getTimeZone
in interfaceXlsDataAdapter
-
setTimeZone
public void setTimeZone(TimeZone timeZone)
- Specified by:
setTimeZone
in interfaceXlsDataAdapter
-
-