|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.geoprocessing.GPParseString
public class GPParseString
COM Class 'GPParseString'. Generated 3/19/2015 1:20:44 PM from 'C:\ArcGIS\COM\esriGeoprocessing.olb'
Description 'Helper class used to parse strings based upon a token separator.' 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.geoprocessing.IGPParseString |
---|
IID, IID05bebf04_93db_4b17_97bd_b158792c6625, xxDummy |
Fields inherited from interface com.esri.arcgis.geoprocessing.IGPParseString2 |
---|
IID, IID1a39705f_345b_4c6d_b5d5_aad3f5b4b218, xxDummy |
Constructor Summary | |
---|---|
GPParseString()
Constructs a GPParseString using ArcGIS Engine. |
|
GPParseString(java.lang.Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. GPParseString theGPParseString = (GPParseString) obj; |
Method Summary | |
---|---|
java.lang.String |
checkToken(java.lang.String inChar,
boolean[] pInQuote,
boolean[] pTokenDone)
Builds a string, one character at a time, returning whether that character is quoted and whether that character is the end of delimited token. |
java.lang.String |
doubleToString(double value)
Returns the double value as string. |
boolean |
equals(java.lang.Object o)
Compare this object with another |
static java.lang.String |
getClsid()
getClsid. |
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Deprecated. Internal use only. |
int |
hashCode()
the hashcode for this object |
void |
initialize(java.lang.String string,
java.lang.String separator)
Initializes the geoprocessing parse string object with the string to be parsed and the string used to separate tokens. |
boolean |
isNextTokenQuoted()
Returns whether the next token to be parsed is enclosed in quotation marks. |
boolean |
needsQuote(java.lang.String text)
Returns if the string needs to be quoted. |
boolean |
nextBoolean()
Returns the next token parsed from the string as a boolean. |
double |
nextDouble()
Returns the next token parsed from the string as a double. |
int |
nextLong()
Returns the next token parsed from the string as a long. |
java.lang.String |
nextSimpleToken()
Returns the next simple token parsed from the string. |
java.lang.String |
nextToken()
Returns the next token parsed from the string. |
java.lang.String |
quoteString(java.lang.String text)
Quotes the string if it needs to be quoted. |
void |
release()
Release a GPParseString. |
java.lang.String |
remainingText()
Returns the remaining string. |
double |
stringToDouble(java.lang.String text)
Returns the string as a doulbe value. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GPParseString() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problems
java.net.UnknownHostException
- if there are interop problemspublic GPParseString(java.lang.Object obj) throws java.io.IOException
GPParseString theGPParseString = (GPParseString) obj;
obj
to GPParseString
.
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 initialize(java.lang.String string, java.lang.String separator) throws java.io.IOException, AutomationException
initialize
in interface IGPParseString
initialize
in interface IGPParseString2
string
- The string (in)separator
- The separator (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String nextToken() throws java.io.IOException, AutomationException
nextToken
in interface IGPParseString
nextToken
in interface IGPParseString2
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String nextSimpleToken() throws java.io.IOException, AutomationException
nextSimpleToken
in interface IGPParseString
nextSimpleToken
in interface IGPParseString2
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isNextTokenQuoted() throws java.io.IOException, AutomationException
isNextTokenQuoted
in interface IGPParseString
isNextTokenQuoted
in interface IGPParseString2
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String checkToken(java.lang.String inChar, boolean[] pInQuote, boolean[] pTokenDone) throws java.io.IOException, AutomationException
checkToken
in interface IGPParseString
checkToken
in interface IGPParseString2
inChar
- The inChar (in)pInQuote
- The pInQuote (out: use single element array)pTokenDone
- The pTokenDone (out: use single element array)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String remainingText() throws java.io.IOException, AutomationException
remainingText
in interface IGPParseString2
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double nextDouble() throws java.io.IOException, AutomationException
nextDouble
in interface IGPParseString2
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int nextLong() throws java.io.IOException, AutomationException
nextLong
in interface IGPParseString2
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean nextBoolean() throws java.io.IOException, AutomationException
nextBoolean
in interface IGPParseString2
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean needsQuote(java.lang.String text) throws java.io.IOException, AutomationException
needsQuote
in interface IGPParseString2
text
- The text (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String quoteString(java.lang.String text) throws java.io.IOException, AutomationException
quoteString
in interface IGPParseString2
text
- The text (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double stringToDouble(java.lang.String text) throws java.io.IOException, AutomationException
stringToDouble
in interface IGPParseString2
text
- The text (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String doubleToString(double value) throws java.io.IOException, AutomationException
doubleToString
in interface IGPParseString2
value
- The value (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 |