public class FileNames extends java.lang.Object implements com.esri.arcgis.interop.RemoteObjRef, IFileNames, IFileNames2
Description 'FileNames object maintains an array of file paths.' 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, IIDf6ed3377_94f5_11d1_9ab0_080009ec734b, xxDummy
IID, IID1f1197e3_b3bb_4d9c_b530_923e39efce11, xxDummy
Constructor and Description |
---|
FileNames()
Constructs a FileNames using ArcGIS Engine.
|
FileNames(java.lang.Object obj)
Deprecated.
As of ArcGIS 9.2, replaced by normal Java casts.
FileNames theFileNames = (FileNames) obj; |
Modifier and Type | Method and Description |
---|---|
void |
add(java.lang.String fileName)
Adds a filename to the array.
|
boolean |
equals(java.lang.Object o)
Compare this object with another
|
boolean |
find(java.lang.String fileName)
Advances the current postion to the specified file if it exists.
|
static java.lang.String |
getClsid()
getClsid.
|
java.lang.String |
getContainedExtensions()
Obtains a delimited set of extensions contained within the collection.
|
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.
|
IFileNames |
getSubset(java.lang.String extSet)
Obtains a subset based on a delimited set of extensions.
|
int |
hashCode()
the hashcode for this object
|
boolean |
isDirectory()
Indicates if the current filename is a directory.
|
void |
loadFromPath(java.lang.String path)
Loads the collection with files from the specified path.
|
java.lang.String |
next()
Obtains the next filename in the array.
|
void |
release()
Release this COM object reference
|
void |
remove()
Removes the current filename from the array.
|
void |
reset()
Resets the current position back to the beginning of the array.
|
public FileNames() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problemsjava.net.UnknownHostException
- if there are interop problemspublic FileNames(java.lang.Object obj) throws java.io.IOException
FileNames theFileNames = (FileNames) obj;
obj
to FileNames
.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 void add(java.lang.String fileName) throws java.io.IOException, AutomationException
add
in interface IFileNames
fileName
- The fileName (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void remove() throws java.io.IOException, AutomationException
remove
in interface IFileNames
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void reset() throws java.io.IOException, AutomationException
reset
in interface IFileNames
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.String next() throws java.io.IOException, AutomationException
next
in interface IFileNames
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean isDirectory() throws java.io.IOException, AutomationException
isDirectory
in interface IFileNames
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void loadFromPath(java.lang.String path) throws java.io.IOException, AutomationException
loadFromPath
in interface IFileNames2
path
- The path (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IFileNames getSubset(java.lang.String extSet) throws java.io.IOException, AutomationException
getSubset
in interface IFileNames2
extSet
- The extSet (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.String getContainedExtensions() throws java.io.IOException, AutomationException
getContainedExtensions
in interface IFileNames2
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean find(java.lang.String fileName) throws java.io.IOException, AutomationException
find
in interface IFileNames2
fileName
- The fileName (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.