public class FileCrawler extends java.lang.Object implements com.esri.arcgis.interop.RemoteObjRef, IDataSourceCrawler, IDataSourceCrawler2, IDataSourceCrawler3, IFileCrawler, IFileCrawler2, IFileCrawler3, IItemPaths, IItemPaths2
Description 'A crawler for files that reside on the file-system.' 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, IIDd3602eef_41d9_443f_a38b_a852af177c06, xxDummyIID6585fbde_358f_40a7_8748_79f99b374f5fIIDa1631439_6f80_4ac3_b559_0d1836f6b13aIID, IID4f8a87c6_a3b1_4659_91cd_220d64b8607c, xxDummyIIDa6abd342_be4e_4c34_8322_93f43009e667IIDf8c71017_2a6c_4156_a443_1c33791ccc0aIID, IID9c76b127_61ac_4e66_99b0_8c14a9a386ea, xxDummyIIDcafd4e87_0672_43e0_b92d_175306c1a309| Constructor and Description |
|---|
FileCrawler()
Constructs a FileCrawler using ArcGIS Engine.
|
FileCrawler(java.lang.Object obj)
Construct a FileCrawler using a reference to such an object returned from ArcGIS Engine or Server.
|
| 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.
|
IFolderSort |
getFolderSort()
The folder sorter object associated with the crawler.
|
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 file or folder path to crawl.
|
IStringArray |
getPaths()
The collection of file- or folder-paths to crawl.
|
IStringArray |
getPathsEx(IItemPathsOptions pOptions)
Returns all paths associated with the object.
|
IPropertySet |
getProperties()
Additional properties associated with the data source crawler.
|
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.
|
boolean |
isCanMergeItems()
Indicates whether the crawler is capable of merging related data source items into one composite crawled item.
|
boolean |
isMergeItems()
Indicates whether the crawler merges related data source items into one composite crawled item.
|
boolean |
isRecurse()
Indicates whether folders are recursively traversed.
|
void |
release()
Release this COM object reference
|
void |
replacePaths(IStringArray pOldPaths,
IStringArray pNewPaths)
Updates all paths associated with the object using the specified mapping rule.
|
void |
setFilter(java.lang.String pFilter)
A string expression that allows the data source crawler to filter out invalid items.
|
void |
setFolderSortByRef(IFolderSort ppFolderSort)
The folder sorter object associated with the crawler.
|
void |
setMergeItems(boolean pbMergeItems)
Indicates whether the crawler merges related data source items into one composite crawled item.
|
void |
setPath(java.lang.String pFileOrFolderPath)
The file or folder path to crawl.
|
void |
setPathsByRef(IStringArray ppFileOrFolderPaths)
The collection of file- or folder-paths to crawl.
|
void |
setPropertiesByRef(IPropertySet ppProperties)
Additional properties associated with the data source crawler.
|
void |
setRecurse(boolean pbParseRecursively)
Indicates whether folders are recursively traversed.
|
void |
setTimeExtentByRef(ITimeExtent ppTimeExtent)
The range of allowed time value associated with crawled data source items.
|
public FileCrawler()
throws java.io.IOException,
java.net.UnknownHostException
java.io.IOException - if there are interop problemsjava.net.UnknownHostException - if there are interop problemspublic FileCrawler(java.lang.Object obj)
throws java.io.IOException
obj to FileCrawler.obj - an object returned from ArcGIS Engine or Serverjava.io.IOException - if there are interop problems
FileCrawler theFileCrawler = (FileCrawler) obj;public static java.lang.String getClsid()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRefpublic void release()
release in interface com.esri.arcgis.interop.RemoteObjRefpublic int getCrawlerItemType()
throws java.io.IOException,
AutomationException
getCrawlerItemType in interface IDataSourceCrawlerjava.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 IDataSourceCrawlerpTrackCancel - 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 IDataSourceCrawlerjava.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 IDataSourceCrawlerppTimeExtent - 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 IDataSourceCrawlerjava.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 IDataSourceCrawlerjava.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 IDataSourceCrawlerpFilter - 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 IDataSourceCrawlerjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public boolean isCanMergeItems()
throws java.io.IOException,
AutomationException
isCanMergeItems in interface IDataSourceCrawler2java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public boolean isMergeItems()
throws java.io.IOException,
AutomationException
isMergeItems in interface IDataSourceCrawler2java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setMergeItems(boolean pbMergeItems)
throws java.io.IOException,
AutomationException
setMergeItems in interface IDataSourceCrawler2pbMergeItems - The pbMergeItems (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setPropertiesByRef(IPropertySet ppProperties) throws java.io.IOException, AutomationException
setPropertiesByRef in interface IDataSourceCrawler3ppProperties - A reference to a com.esri.arcgis.system.IPropertySet (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IPropertySet getProperties() throws java.io.IOException, AutomationException
getProperties in interface IDataSourceCrawler3java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setPath(java.lang.String pFileOrFolderPath)
throws java.io.IOException,
AutomationException
setPath in interface IFileCrawlerpFileOrFolderPath - The pFileOrFolderPath (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 IFileCrawlerjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setRecurse(boolean pbParseRecursively)
throws java.io.IOException,
AutomationException
setRecurse in interface IFileCrawlerpbParseRecursively - The pbParseRecursively (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public boolean isRecurse()
throws java.io.IOException,
AutomationException
isRecurse in interface IFileCrawlerjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setFolderSortByRef(IFolderSort ppFolderSort) throws java.io.IOException, AutomationException
setFolderSortByRef in interface IFileCrawler2ppFolderSort - A reference to a com.esri.arcgis.datasourcesraster.IFolderSort (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IFolderSort getFolderSort() throws java.io.IOException, AutomationException
getFolderSort in interface IFileCrawler2java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setPathsByRef(IStringArray ppFileOrFolderPaths) throws java.io.IOException, AutomationException
setPathsByRef in interface IFileCrawler3ppFileOrFolderPaths - A reference to a com.esri.arcgis.system.IStringArray (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IStringArray getPaths() throws java.io.IOException, AutomationException
getPaths in interface IFileCrawler3getPaths in interface IItemPathsjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void replacePaths(IStringArray pOldPaths, IStringArray pNewPaths) throws java.io.IOException, AutomationException
replacePaths in interface IItemPathspOldPaths - A reference to a com.esri.arcgis.system.IStringArray (in)pNewPaths - A reference to a com.esri.arcgis.system.IStringArray (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IStringArray getPathsEx(IItemPathsOptions pOptions) throws java.io.IOException, AutomationException
getPathsEx in interface IItemPaths2pOptions - A reference to a com.esri.arcgis.datasourcesraster.IItemPathsOptions (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.