public class CsvCrawler extends java.lang.Object implements com.esri.arcgis.interop.RemoteObjRef, IDataSourceCrawler, ICsvCrawler
Description 'A crawler for CSV files.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =
IID, IIDa1631439_6f80_4ac3_b559_0d1836f6b13a, xxDummy
IID, IID234790e2_c32a_425d_bafc_945e7cb1da8a, xxDummy
Constructor and Description |
---|
CsvCrawler()
Constructs a CsvCrawler using ArcGIS Engine.
|
CsvCrawler(java.lang.Object obj)
Deprecated.
As of ArcGIS 9.2, replaced by normal Java casts.
CsvCrawler theCsvCrawler = (CsvCrawler) obj; |
Modifier and Type | Method and Description |
---|---|
IEnumVariantSimple |
crawl(ITrackCancel pTrackCancel)
Traverses a data store and returns a enumeration of crawled data source items.
|
boolean |
equals(java.lang.Object o)
Compare this object with another
|
static java.lang.String |
getClsid()
getClsid.
|
int |
getCrawlerItemType()
The type of the data source item returned by this crawler.
|
java.lang.String |
getFilter()
A string expression that allows the data source crawler to filter out invalid items.
|
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Gets a reference to a com.esri.arcgis.interop.Dispatch which can be used to access the COM object that support for this
interface indicates the implementing class references.
|
java.lang.String |
getPath()
The CSV file to crawl.
|
java.lang.String |
getSourceField()
The name of the field that references the raster dataset.
|
ITimeExtent |
getTimeExtent()
The range of allowed time value associated with crawled data source items.
|
int |
hashCode()
the hashcode for this object
|
boolean |
isCanFilterByExpression()
Indicates whether the data source crawler can filter items by a string expression like a wild-card filter or SQL Where Clause.
|
boolean |
isCanFilterByTime()
Indicates whether the data source crawler can filter items by time using the 'TimeExtent' property.
|
void |
release()
Release this COM object reference
|
void |
setFilter(java.lang.String pFilter)
A string expression that allows the data source crawler to filter out invalid items.
|
void |
setPath(java.lang.String pCsvFilePath)
The CSV file to crawl.
|
void |
setSourceField(java.lang.String pSourceField)
The name of the field that references the raster dataset.
|
void |
setTimeExtentByRef(ITimeExtent ppTimeExtent)
The range of allowed time value associated with crawled data source items.
|
public CsvCrawler() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problemsjava.net.UnknownHostException
- if there are interop problemspublic CsvCrawler(java.lang.Object obj) throws java.io.IOException
CsvCrawler theCsvCrawler = (CsvCrawler) obj;
obj
to CsvCrawler
.obj
- an object returned from ArcGIS Engine or Serverjava.io.IOException
- if there are interop problemspublic static java.lang.String getClsid()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch
in interface com.esri.arcgis.interop.RemoteObjRef
public void release()
release
in interface com.esri.arcgis.interop.RemoteObjRef
public int getCrawlerItemType() throws java.io.IOException, AutomationException
getCrawlerItemType
in interface IDataSourceCrawler
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IEnumVariantSimple crawl(ITrackCancel pTrackCancel) throws java.io.IOException, AutomationException
crawl
in interface IDataSourceCrawler
pTrackCancel
- A reference to a com.esri.arcgis.system.ITrackCancel (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean isCanFilterByTime() throws java.io.IOException, AutomationException
isCanFilterByTime
in interface IDataSourceCrawler
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setTimeExtentByRef(ITimeExtent ppTimeExtent) throws java.io.IOException, AutomationException
setTimeExtentByRef
in interface IDataSourceCrawler
ppTimeExtent
- A reference to a com.esri.arcgis.system.ITimeExtent (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public ITimeExtent getTimeExtent() throws java.io.IOException, AutomationException
getTimeExtent
in interface IDataSourceCrawler
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean isCanFilterByExpression() throws java.io.IOException, AutomationException
isCanFilterByExpression
in interface IDataSourceCrawler
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setFilter(java.lang.String pFilter) throws java.io.IOException, AutomationException
setFilter
in interface IDataSourceCrawler
pFilter
- The pFilter (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.String getFilter() throws java.io.IOException, AutomationException
getFilter
in interface IDataSourceCrawler
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setPath(java.lang.String pCsvFilePath) throws java.io.IOException, AutomationException
setPath
in interface ICsvCrawler
pCsvFilePath
- The pCsvFilePath (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.String getPath() throws java.io.IOException, AutomationException
getPath
in interface ICsvCrawler
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setSourceField(java.lang.String pSourceField) throws java.io.IOException, AutomationException
setSourceField
in interface ICsvCrawler
pSourceField
- The pSourceField (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.String getSourceField() throws java.io.IOException, AutomationException
getSourceField
in interface ICsvCrawler
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.