public class FolderCrawler extends java.lang.Object implements com.esri.arcgis.interop.RemoteObjRef, IFileCrawler, IFileCrawler2, IFileCrawler3, IItemPaths
Description 'A crawler for folders 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, IID4f8a87c6_a3b1_4659_91cd_220d64b8607c, xxDummyIIDa6abd342_be4e_4c34_8322_93f43009e667IIDf8c71017_2a6c_4156_a443_1c33791ccc0aIID, IIDcafd4e87_0672_43e0_b92d_175306c1a309, xxDummy| Constructor and Description |
|---|
FolderCrawler()
Constructs a FolderCrawler using ArcGIS Engine.
|
FolderCrawler(java.lang.Object obj)
Deprecated.
As of ArcGIS 9.2, replaced by normal Java casts.
FolderCrawler theFolderCrawler = (FolderCrawler) obj; |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o)
Compare this object with another
|
static java.lang.String |
getClsid()
getClsid.
|
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.
|
int |
hashCode()
the hashcode for this object
|
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 |
setFolderSortByRef(IFolderSort ppFolderSort)
The folder sorter object associated with the crawler.
|
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 |
setRecurse(boolean pbParseRecursively)
Indicates whether folders are recursively traversed.
|
public FolderCrawler()
throws java.io.IOException,
java.net.UnknownHostException
java.io.IOException - if there are interop problemsjava.net.UnknownHostException - if there are interop problemspublic FolderCrawler(java.lang.Object obj)
throws java.io.IOException
FolderCrawler theFolderCrawler = (FolderCrawler) obj;obj to FolderCrawler.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.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 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.