Package net.sf.jasperreports.data.csv
Class CsvDataAdapterImpl
- java.lang.Object
-
- net.sf.jasperreports.dataadapters.AbstractDataAdapter
-
- net.sf.jasperreports.data.csv.CsvDataAdapterImpl
-
- All Implemented Interfaces:
CsvDataAdapter
,DataAdapter
,FileDataAdapter
public class CsvDataAdapterImpl extends AbstractDataAdapter implements CsvDataAdapter
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
-
-
Constructor Summary
Constructors Constructor Description CsvDataAdapterImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description List<String>
getColumnNames()
DataFile
getDataFile()
String
getDatePattern()
String
getEncoding()
String
getFieldDelimiter()
String
getFileName()
Deprecated.replaced bygetDataFile()
Locale
getLocale()
String
getNumberPattern()
String
getRecordDelimiter()
TimeZone
getTimeZone()
boolean
isQueryExecuterMode()
boolean
isUseFirstRowAsHeader()
void
setColumnNames(List<String> columnNames)
void
setDataFile(DataFile dataFile)
void
setDatePattern(String datePattern)
void
setEncoding(String encoding)
void
setFieldDelimiter(String fieldDelimiter)
void
setFileName(String fileName)
Deprecated.void
setLocale(Locale locale)
void
setNumberPattern(String numberPattern)
void
setQueryExecuterMode(boolean queryExecuterMode)
void
setRecordDelimiter(String recordDelimiter)
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
-
getFileName
@Deprecated public String getFileName()
Deprecated.replaced bygetDataFile()
- Specified by:
getFileName
in interfaceCsvDataAdapter
-
setFileName
@Deprecated public void setFileName(String fileName)
Deprecated.- Specified by:
setFileName
in interfaceCsvDataAdapter
-
getEncoding
public String getEncoding()
- Specified by:
getEncoding
in interfaceCsvDataAdapter
-
setEncoding
public void setEncoding(String encoding)
- Specified by:
setEncoding
in interfaceCsvDataAdapter
-
isUseFirstRowAsHeader
public boolean isUseFirstRowAsHeader()
- Specified by:
isUseFirstRowAsHeader
in interfaceCsvDataAdapter
-
setUseFirstRowAsHeader
public void setUseFirstRowAsHeader(boolean useFirstRowAsHeader)
- Specified by:
setUseFirstRowAsHeader
in interfaceCsvDataAdapter
-
getRecordDelimiter
public String getRecordDelimiter()
- Specified by:
getRecordDelimiter
in interfaceCsvDataAdapter
-
setRecordDelimiter
public void setRecordDelimiter(String recordDelimiter)
- Specified by:
setRecordDelimiter
in interfaceCsvDataAdapter
-
getFieldDelimiter
public String getFieldDelimiter()
- Specified by:
getFieldDelimiter
in interfaceCsvDataAdapter
-
setFieldDelimiter
public void setFieldDelimiter(String fieldDelimiter)
- Specified by:
setFieldDelimiter
in interfaceCsvDataAdapter
-
getLocale
public Locale getLocale()
- Specified by:
getLocale
in interfaceCsvDataAdapter
-
setLocale
public void setLocale(Locale locale)
- Specified by:
setLocale
in interfaceCsvDataAdapter
-
getTimeZone
public TimeZone getTimeZone()
- Specified by:
getTimeZone
in interfaceCsvDataAdapter
-
setTimeZone
public void setTimeZone(TimeZone timeZone)
- Specified by:
setTimeZone
in interfaceCsvDataAdapter
-
getDatePattern
public String getDatePattern()
- Specified by:
getDatePattern
in interfaceCsvDataAdapter
-
setDatePattern
public void setDatePattern(String datePattern)
- Specified by:
setDatePattern
in interfaceCsvDataAdapter
-
getNumberPattern
public String getNumberPattern()
- Specified by:
getNumberPattern
in interfaceCsvDataAdapter
-
setNumberPattern
public void setNumberPattern(String numberPattern)
- Specified by:
setNumberPattern
in interfaceCsvDataAdapter
-
isQueryExecuterMode
public boolean isQueryExecuterMode()
- Specified by:
isQueryExecuterMode
in interfaceCsvDataAdapter
-
setQueryExecuterMode
public void setQueryExecuterMode(boolean queryExecuterMode)
- Specified by:
setQueryExecuterMode
in interfaceCsvDataAdapter
-
getColumnNames
public List<String> getColumnNames()
- Specified by:
getColumnNames
in interfaceCsvDataAdapter
-
setColumnNames
public void setColumnNames(List<String> columnNames)
- Specified by:
setColumnNames
in interfaceCsvDataAdapter
-
getDataFile
public DataFile getDataFile()
- Specified by:
getDataFile
in interfaceFileDataAdapter
-
setDataFile
public void setDataFile(DataFile dataFile)
- Specified by:
setDataFile
in interfaceFileDataAdapter
-
-