|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.datasourcesraster.FileCrawler
public class FileCrawler
A crawler for files that reside on the file-system.
| Constructor Summary | |
|---|---|
FileCrawler()
Constructs a FileCrawler using ArcGIS Engine. |
|
FileCrawler(Object obj)
Construct a FileCrawler using a reference to such an object returned from ArcGIS Engine or Server. |
|
| Method Summary | |
|---|---|
IEnumVariantSimple |
crawl(ITrackCancel pTrackCancel)
Traverses a data store and returns a enumeration of crawled data source items. |
boolean |
equals(Object o)
Compare this object with another |
static String |
getClsid()
getClsid. |
int |
getCrawlerItemType()
The type of the data source item returned by this crawler. |
String |
getFilter()
A string expression that allows the data source crawler to filter out invalid items. |
String |
getPath()
The file or folder path to crawl. |
IStringArray |
getPaths()
Returns all paths associated with the object. |
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 |
isRecurse()
Indicates whether folders are recursively traversed. |
void |
replacePaths(IStringArray pOldPaths,
IStringArray pNewPaths)
Updates all paths associated with the object using the specified mapping rule. |
void |
setFilter(String pFilter)
A string expression that allows the data source crawler to filter out invalid items. |
void |
setPath(String pFileOrFolderPath)
The file or folder path to crawl. |
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef |
|---|
getJintegraDispatch, release |
| Constructor Detail |
|---|
public FileCrawler()
throws IOException,
UnknownHostException
IOException - if there are interop problems
UnknownHostException - if there are interop problems
public FileCrawler(Object obj)
throws IOException
obj to FileCrawler.
obj - an object returned from ArcGIS Engine or Server
IOException - if there are interop problems
FileCrawler theFileCrawler = (FileCrawler) obj;| Method Detail |
|---|
public static String getClsid()
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
public int getCrawlerItemType()
throws IOException,
AutomationException
getCrawlerItemType in interface IDataSourceCrawlerIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IEnumVariantSimple crawl(ITrackCancel pTrackCancel)
throws IOException,
AutomationException
crawl in interface IDataSourceCrawlerpTrackCancel - A reference to a com.esri.arcgis.system.ITrackCancel (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isCanFilterByTime()
throws IOException,
AutomationException
isCanFilterByTime in interface IDataSourceCrawlerIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setTimeExtentByRef(ITimeExtent ppTimeExtent)
throws IOException,
AutomationException
setTimeExtentByRef in interface IDataSourceCrawlerppTimeExtent - A reference to a com.esri.arcgis.system.ITimeExtent (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public ITimeExtent getTimeExtent()
throws IOException,
AutomationException
getTimeExtent in interface IDataSourceCrawlerIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isCanFilterByExpression()
throws IOException,
AutomationException
isCanFilterByExpression in interface IDataSourceCrawlerIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setFilter(String pFilter)
throws IOException,
AutomationException
setFilter in interface IDataSourceCrawlerpFilter - The pFilter (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getFilter()
throws IOException,
AutomationException
getFilter in interface IDataSourceCrawlerIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setPath(String pFileOrFolderPath)
throws IOException,
AutomationException
setPath in interface IFileCrawlerpFileOrFolderPath - The pFileOrFolderPath (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getPath()
throws IOException,
AutomationException
getPath in interface IFileCrawlerIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setRecurse(boolean pbParseRecursively)
throws IOException,
AutomationException
setRecurse in interface IFileCrawlerpbParseRecursively - The pbParseRecursively (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isRecurse()
throws IOException,
AutomationException
isRecurse in interface IFileCrawlerIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IStringArray getPaths()
throws IOException,
AutomationException
getPaths in interface IItemPathsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void replacePaths(IStringArray pOldPaths,
IStringArray pNewPaths)
throws 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)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||