|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.system.FileNames
public class FileNames
COM Class 'FileNames'. Generated 3/19/2015 1:20:47 PM from 'C:\ArcGIS\COM\esriSystem.olb'
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 =
Field Summary |
---|
Fields inherited from interface com.esri.arcgis.system.IFileNames |
---|
IID, IIDf6ed3377_94f5_11d1_9ab0_080009ec734b, xxDummy |
Fields inherited from interface com.esri.arcgis.system.IFileNames2 |
---|
IID, IID1f1197e3_b3bb_4d9c_b530_923e39efce11, xxDummy |
Constructor Summary | |
---|---|
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; |
Method Summary | |
---|---|
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()
Deprecated. Internal use only. |
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 a FileNames. |
void |
remove()
Removes the current filename from the array. |
void |
reset()
Resets the current position back to the beginning of the array. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FileNames() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problems
java.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 Server
java.io.IOException
- if there are interop problemsMethod Detail |
---|
public 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.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |