|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.geoprocessing.EnumBSTR
public class EnumBSTR
Enumeration of multiple strings.
Constructor Summary | |
---|---|
EnumBSTR()
Constructs a EnumBSTR using ArcGIS Engine. |
|
EnumBSTR(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. EnumBSTR theEnumBSTR = (EnumBSTR) obj; |
Method Summary | |
---|---|
void |
addString(String str)
Adds a string to the array. |
boolean |
equals(Object o)
Compare this object with another |
static String |
getClsid()
getClsid. |
int |
getCount()
The size of the array. |
String |
getString(int index)
The string at the specified index in the array. |
int |
hashCode()
the hashcode for this object |
void |
insertString(int index,
String str)
Adds a string to the array at the specified index. |
String |
next()
Obtains the next string in the list. |
void |
removeAll()
Removes all strings from the array. |
void |
removeString(int index)
Removes a string from the array. |
void |
replaceString(int index,
String str)
Replaces a string in the array. |
void |
reset()
Resets the string so the next returned string is the first. |
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 EnumBSTR() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic EnumBSTR(Object obj) throws IOException
EnumBSTR theEnumBSTR = (EnumBSTR) obj;
obj
to EnumBSTR
.
obj
- an object returned from ArcGIS Engine or Server
IOException
- if there are interop problemsMethod Detail |
---|
public static String getClsid()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public int getCount() throws IOException, AutomationException
getCount
in interface IBStringArray
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getString(int index) throws IOException, AutomationException
getString
in interface IBStringArray
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void addString(String str) throws IOException, AutomationException
addString
in interface IBStringArray
str
- The str (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void insertString(int index, String str) throws IOException, AutomationException
insertString
in interface IBStringArray
index
- The index (in)str
- The str (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void removeString(int index) throws IOException, AutomationException
removeString
in interface IBStringArray
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void removeAll() throws IOException, AutomationException
removeAll
in interface IBStringArray
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void replaceString(int index, String str) throws IOException, AutomationException
replaceString
in interface IBStringArray
index
- The index (in)str
- The str (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String next() throws IOException, AutomationException
The Next method returns the next string in the enumerator. An empty string is returned by Next when there are no more strings to fetch.
next
in interface IEnumBSTR
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void reset() throws IOException, AutomationException
The Reset method resets the enumerator so that the next call to the Next method returns the first string in the enumerator.
reset
in interface IEnumBSTR
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 |