com.stimulsoft.report.dictionary.dataSources
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, IStiInherited, IStiStateSaveRestore, java.lang.Cloneable
public class StiCsvSource
- extends StiDataStoreSource
Describes the Data Source realizing access to OleDb.
Constructor Summary |
StiCsvSource()
Creates a new object of the type StiDataViewSource. |
StiCsvSource(java.lang.String nameInSource,
java.lang.String name)
Creates a new object of the type StiOleDbSource. |
StiCsvSource(java.lang.String nameInSource,
java.lang.String name,
java.lang.String alias)
Creates a new object of the type StiOleDbSource. |
Methods inherited from class com.stimulsoft.report.dictionary.dataSources.StiDataSource |
CheckColumnsIndexs, clearAllStates, ClearAllStates, First, get, getAlias, GetChildDataSource, GetChildRelations, GetColumnIndex, getColumns, GetConditions, getConnectionOrder, getConnectOnStart, getCount, GetData, getData, GetData, GetDataRow, getDataTable, getDictionary, getInherited, getIsBof, getIsConnected, getIsEmpty, getIsEof, getItem, getKey, GetLevel, getName, getParameters, GetParentData, GetParentDataSource, GetParentRelations, getPosition, getPositionValue, getRealCount, getRelations, getRows, getVariableParameterByName, getVariableParameters, isEmpty, Last, Next, prepareData, Prior, ResetData, ResetDetailsRows, restoreState, RestoreState, saveState, setAlias, setColumns, setConnectionOrder, setConnectOnStart, setCorrectName, SetData, setDataTable, SetDetails, setDictionary, SetFilter, setInherited, setIsBof, setIsEof, setKey, setName, setParameters, setPosition, setPositionValue, setRows, SetSort, setVariableParameters, size, toString |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
StiCsvSource
public StiCsvSource()
- Creates a new object of the type StiDataViewSource.
StiCsvSource
public StiCsvSource(java.lang.String nameInSource,
java.lang.String name)
- Creates a new object of the type StiOleDbSource.
- Parameters:
nameInSource
- Name of OleDbConnection in the DataStore.name
- Data Source name.
StiCsvSource
public StiCsvSource(java.lang.String nameInSource,
java.lang.String name,
java.lang.String alias)
- Creates a new object of the type StiOleDbSource.
- Parameters:
nameInSource
- Name of OleDbConnection in the DataStore.name
- Data Source name.alias
- Data Source alias.
setCodePage
public void setCodePage(int codePage)
getCodePage
public int getCodePage()
setPath
public void setPath(java.lang.String path)
getPath
public java.lang.String getPath()
getDatabaseClass
public java.lang.Class<? extends StiDatabase> getDatabaseClass()
- Specified by:
getDatabaseClass
in class StiDataSource
SaveToJsonObject
public JSONObject SaveToJsonObject(StiJsonSaveMode mode)
throws JSONException
- Specified by:
SaveToJsonObject
in interface IStiJsonReportObject
- Overrides:
SaveToJsonObject
in class StiDataStoreSource
- Throws:
JSONException
LoadFromJsonObject
public void LoadFromJsonObject(JSONObject jObject)
throws JSONException
- Specified by:
LoadFromJsonObject
in interface IStiJsonReportObject
- Overrides:
LoadFromJsonObject
in class StiDataStoreSource
- Throws:
JSONException