Package net.sf.jasperreports.data.json
Class JsonDataAdapterImpl
- java.lang.Object
-
- net.sf.jasperreports.dataadapters.AbstractDataAdapter
-
- net.sf.jasperreports.data.json.JsonDataAdapterImpl
-
- All Implemented Interfaces:
JsonDataAdapter
,DataAdapter
,FileDataAdapter
public class JsonDataAdapterImpl extends AbstractDataAdapter implements JsonDataAdapter
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
-
-
Constructor Summary
Constructors Constructor Description JsonDataAdapterImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description DataFile
getDataFile()
String
getDatePattern()
String
getFileName()
Deprecated.replaced bygetDataFile()
JsonExpressionLanguageEnum
getLanguage()
Locale
getLocale()
String
getNumberPattern()
String
getSelectExpression()
TimeZone
getTimeZone()
boolean
isUseConnection()
void
setDataFile(DataFile dataFile)
void
setDatePattern(String datePattern)
void
setFileName(String fileName)
Deprecated.void
setLanguage(JsonExpressionLanguageEnum language)
void
setLocale(Locale locale)
void
setNumberPattern(String numberPattern)
void
setSelectExpression(String selectExpression)
void
setTimeZone(TimeZone timeZone)
void
setUseConnection(boolean useConnection)
-
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 interfaceJsonDataAdapter
-
setFileName
@Deprecated public void setFileName(String fileName)
Deprecated.- Specified by:
setFileName
in interfaceJsonDataAdapter
-
getDatePattern
public String getDatePattern()
- Specified by:
getDatePattern
in interfaceJsonDataAdapter
-
setDatePattern
public void setDatePattern(String datePattern)
- Specified by:
setDatePattern
in interfaceJsonDataAdapter
-
getNumberPattern
public String getNumberPattern()
- Specified by:
getNumberPattern
in interfaceJsonDataAdapter
-
setNumberPattern
public void setNumberPattern(String numberPattern)
- Specified by:
setNumberPattern
in interfaceJsonDataAdapter
-
getSelectExpression
public String getSelectExpression()
- Specified by:
getSelectExpression
in interfaceJsonDataAdapter
-
setSelectExpression
public void setSelectExpression(String selectExpression)
- Specified by:
setSelectExpression
in interfaceJsonDataAdapter
-
getLocale
public Locale getLocale()
- Specified by:
getLocale
in interfaceJsonDataAdapter
-
setLocale
public void setLocale(Locale locale)
- Specified by:
setLocale
in interfaceJsonDataAdapter
-
getTimeZone
public TimeZone getTimeZone()
- Specified by:
getTimeZone
in interfaceJsonDataAdapter
-
setTimeZone
public void setTimeZone(TimeZone timeZone)
- Specified by:
setTimeZone
in interfaceJsonDataAdapter
-
isUseConnection
public boolean isUseConnection()
- Specified by:
isUseConnection
in interfaceJsonDataAdapter
-
setUseConnection
public void setUseConnection(boolean useConnection)
- Specified by:
setUseConnection
in interfaceJsonDataAdapter
-
getDataFile
public DataFile getDataFile()
- Specified by:
getDataFile
in interfaceFileDataAdapter
-
setDataFile
public void setDataFile(DataFile dataFile)
- Specified by:
setDataFile
in interfaceFileDataAdapter
-
getLanguage
public JsonExpressionLanguageEnum getLanguage()
- Specified by:
getLanguage
in interfaceJsonDataAdapter
-
setLanguage
public void setLanguage(JsonExpressionLanguageEnum language)
- Specified by:
setLanguage
in interfaceJsonDataAdapter
-
-