|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.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 problemspublic 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 Object
public int hashCode()
hashCode
in class Object
public int getCrawlerItemType() throws IOException, AutomationException
getCrawlerItemType
in interface IDataSourceCrawler
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IEnumVariantSimple crawl(ITrackCancel pTrackCancel) throws IOException, AutomationException
crawl
in interface IDataSourceCrawler
pTrackCancel
- 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 IDataSourceCrawler
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setTimeExtentByRef(ITimeExtent ppTimeExtent) throws IOException, AutomationException
setTimeExtentByRef
in interface IDataSourceCrawler
ppTimeExtent
- 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 IDataSourceCrawler
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isCanFilterByExpression() throws IOException, AutomationException
isCanFilterByExpression
in interface IDataSourceCrawler
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setFilter(String pFilter) throws IOException, AutomationException
setFilter
in interface IDataSourceCrawler
pFilter
- 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 IDataSourceCrawler
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setPath(String pFileOrFolderPath) throws IOException, AutomationException
setPath
in interface IFileCrawler
pFileOrFolderPath
- 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 IFileCrawler
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setRecurse(boolean pbParseRecursively) throws IOException, AutomationException
setRecurse
in interface IFileCrawler
pbParseRecursively
- 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 IFileCrawler
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IStringArray getPaths() throws IOException, AutomationException
getPaths
in interface IItemPaths
IOException
- 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 IItemPaths
pOldPaths
- 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 |