|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IGPParseString2
Provides access to the properties/methods of a geoprocessing parse string object.
| Method Summary | |
|---|---|
String |
checkToken(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. |
String |
doubleToString(double value)
Returns the double value as string. |
void |
initialize(String string,
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(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. |
String |
nextSimpleToken()
Returns the next simple token parsed from the string. |
String |
nextToken()
Returns the next token parsed from the string. |
String |
quoteString(String text)
Quotes the string if it needs to be quoted. |
String |
remainingText()
Returns the remaining string. |
double |
stringToDouble(String text)
Returns the string as a doulbe value. |
| Method Detail |
|---|
void initialize(String string,
String separator)
throws IOException,
AutomationException
string - The string (in)separator - The separator (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
String nextToken()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
String nextSimpleToken()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
boolean isNextTokenQuoted()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
String checkToken(String inChar,
boolean[] pInQuote,
boolean[] pTokenDone)
throws IOException,
AutomationException
inChar - The inChar (in)pInQuote - The pInQuote (out: use single element array)pTokenDone - The pTokenDone (out: use single element array)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
String remainingText()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
double nextDouble()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
int nextLong()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
boolean nextBoolean()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
boolean needsQuote(String text)
throws IOException,
AutomationException
text - The text (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
String quoteString(String text)
throws IOException,
AutomationException
text - The text (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
double stringToDouble(String text)
throws IOException,
AutomationException
text - The text (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
String doubleToString(double value)
throws IOException,
AutomationException
value - The value (in)
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 | ||||||||