Class StiCsvSource
java.lang.Object
com.stimulsoft.base.serializing.StiSerializedObject
com.stimulsoft.report.dictionary.dataSources.StiDataSource
com.stimulsoft.report.dictionary.dataSources.StiDataStoreSource
com.stimulsoft.report.dictionary.dataSources.StiCsvSource
- All Implemented Interfaces:
IStiJsonReportObject,IStiSerializable,IStiSerializableRef,IStiName,IStiEnumerator,ICloneable,IStiAlias,IStiInherited,IStiStateSaveRestore,Cloneable
Describes the Data Source realizing access to OleDb.
-
Field Summary
Fields inherited from class com.stimulsoft.report.dictionary.dataSources.StiDataSource
columns, columnsIndexs, connectionOrder, connectOnStart, detailRows, initForSubreport, RowToLevelFields inherited from interface com.stimulsoft.base.serializing.interfaceobject.IStiSerializableRef
REFERENCE_EMPTY, REFERENCE_REPORT -
Constructor Summary
ConstructorsConstructorDescriptionCreates a new object of the type StiDataViewSource.StiCsvSource(String nameInSource, String name) Creates a new object of the type StiOleDbSource.StiCsvSource(String nameInSource, String name, String alias) Creates a new object of the type StiOleDbSource. -
Method Summary
Modifier and TypeMethodDescriptionintClass<? extends StiDatabase> getPath()booleanvoidLoadFromJsonObject(JSONObject jObject) voidsetCodePage(int codePage) voidsetConvertEmptyStringToNull(boolean convertEmptyStringToNull) voidvoidsetSeparator(String separator) Methods inherited from class com.stimulsoft.report.dictionary.dataSources.StiDataStoreSource
connect, connect, createNewTable, disconnect, GetCategoryName, getDataName, getNameInSource, getNameTableInSource, getQuery, setDataName, setNameInSourceMethods inherited from class com.stimulsoft.report.dictionary.dataSources.StiDataSource
CheckColumnsIndexs, clearAllStates, ClearAllStates, clone, fetchParentRelations, First, get, get, getAlias, GetChildDataSource, GetChildRelations, GetColumnIndex, getColumns, GetConditions, getConnectOnStart, getCount, getData, GetData, GetData, getDatabase, GetDataRow, getDataTable, getDictionary, getInherited, getIsBof, getIsConnected, getIsEmpty, getIsEof, getItem, getKey, GetLevel, getName, getParameters, GetParentData, GetParentDataSource, GetParentRelations, getPosition, getPositionValue, getRealCount, getRelations, getRows, getStates, getVariableParameterByName, getVariableParameters, InvokeConnecting, InvokeDisconnecting, isEmpty, Last, Next, prepareData, Prior, ResetData, ResetDetailsRows, restoreState, RestoreState, saveState, setAlias, setColumns, setConnectOnStart, setCorrectName, SetData, setDataTable, SetDetails, setDictionary, SetFilter, setInherited, setIsBof, setIsEof, setKey, setName, setParameters, setPosition, setPositionValue, setRows, SetSort, setVariableParameters, size, toStringMethods inherited from class com.stimulsoft.base.serializing.StiSerializedObject
cleanReference, getReference, setReferenceMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.stimulsoft.base.serializing.interfaceobject.IStiSerializableRef
getReference, setReference
-
Constructor Details
-
StiCsvSource
public StiCsvSource()Creates a new object of the type StiDataViewSource. -
StiCsvSource
Creates a new object of the type StiOleDbSource.- Parameters:
nameInSource- Name of OleDbConnection in the DataStore.name- Data Source name.
-
StiCsvSource
Creates a new object of the type StiOleDbSource.- Parameters:
nameInSource- Name of OleDbConnection in the DataStore.name- Data Source name.alias- Data Source alias.
-
-
Method Details
-
getSeparator
-
setSeparator
-
isConvertEmptyStringToNull
public boolean isConvertEmptyStringToNull() -
setConvertEmptyStringToNull
public void setConvertEmptyStringToNull(boolean convertEmptyStringToNull) -
setCodePage
public void setCodePage(int codePage) -
getCodePage
public int getCodePage() -
setPath
-
getPath
-
getDatabaseClass
- Specified by:
getDatabaseClassin classStiDataSource
-
SaveToJsonObject
- Specified by:
SaveToJsonObjectin interfaceIStiJsonReportObject- Overrides:
SaveToJsonObjectin classStiDataStoreSource- Throws:
JSONException
-
LoadFromJsonObject
- Specified by:
LoadFromJsonObjectin interfaceIStiJsonReportObject- Overrides:
LoadFromJsonObjectin classStiDataStoreSource- Throws:
JSONException
-