com.esri.arcgis.geoprocessing
Interface IGPParseString2

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
GPParseString, IGPParseString2Proxy

public interface IGPParseString2
extends java.io.Serializable

COM Interface 'IGPParseString2'. Generated 3/19/2015 1:20:58 PM from 'C:\ArcGIS\COM\esriGeoprocessing.olb'

Description: 'Provides access to the properties/methods of a geoprocessing parse string object.' 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
static java.lang.String IID
          Deprecated. Internal use only
static int IID1a39705f_345b_4c6d_b5d5_aad3f5b4b218
           
static int xxDummy
          Deprecated. Internal use only
 
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.
 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.
 java.lang.String remainingText()
          Returns the remaining string.
 double stringToDouble(java.lang.String text)
          Returns the string as a doulbe value.
 

Field Detail

IID1a39705f_345b_4c6d_b5d5_aad3f5b4b218

static final int IID1a39705f_345b_4c6d_b5d5_aad3f5b4b218
See Also:
Constant Field Values

xxDummy

static final int xxDummy
Deprecated. Internal use only
See Also:
Constant Field Values

IID

static final java.lang.String IID
Deprecated. Internal use only
See Also:
Constant Field Values
Method Detail

initialize

void initialize(java.lang.String string,
                java.lang.String separator)
                throws java.io.IOException,
                       AutomationException
Initializes the geoprocessing parse string object with the string to be parsed and the string used to separate tokens.

Parameters:
string - The string (in)
separator - The separator (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

nextToken

java.lang.String nextToken()
                           throws java.io.IOException,
                                  AutomationException
Returns the next token parsed from the string.

Returns:
The token
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

nextSimpleToken

java.lang.String nextSimpleToken()
                                 throws java.io.IOException,
                                        AutomationException
Returns the next simple token parsed from the string.

Returns:
The token
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isNextTokenQuoted

boolean isNextTokenQuoted()
                          throws java.io.IOException,
                                 AutomationException
Returns whether the next token to be parsed is enclosed in quotation marks.

Returns:
The quoted
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

checkToken

java.lang.String checkToken(java.lang.String inChar,
                            boolean[] pInQuote,
                            boolean[] pTokenDone)
                            throws java.io.IOException,
                                   AutomationException
Builds a string, one character at a time, returning whether that character is quoted and whether that character is the end of delimited token.

Parameters:
inChar - The inChar (in)
pInQuote - The pInQuote (out: use single element array)
pTokenDone - The pTokenDone (out: use single element array)
Returns:
The pToken
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

remainingText

java.lang.String remainingText()
                               throws java.io.IOException,
                                      AutomationException
Returns the remaining string.

Returns:
The text
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

nextDouble

double nextDouble()
                  throws java.io.IOException,
                         AutomationException
Returns the next token parsed from the string as a double.

Returns:
The token
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

nextLong

int nextLong()
             throws java.io.IOException,
                    AutomationException
Returns the next token parsed from the string as a long.

Returns:
The token
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

nextBoolean

boolean nextBoolean()
                    throws java.io.IOException,
                           AutomationException
Returns the next token parsed from the string as a boolean.

Returns:
The token
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

needsQuote

boolean needsQuote(java.lang.String text)
                   throws java.io.IOException,
                          AutomationException
Returns if the string needs to be quoted.

Parameters:
text - The text (in)
Returns:
The token
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

quoteString

java.lang.String quoteString(java.lang.String text)
                             throws java.io.IOException,
                                    AutomationException
Quotes the string if it needs to be quoted.

Parameters:
text - The text (in)
Returns:
The token
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

stringToDouble

double stringToDouble(java.lang.String text)
                      throws java.io.IOException,
                             AutomationException
Returns the string as a doulbe value.

Parameters:
text - The text (in)
Returns:
The token
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

doubleToString

java.lang.String doubleToString(double value)
                                throws java.io.IOException,
                                       AutomationException
Returns the double value as string.

Parameters:
value - The value (in)
Returns:
The token
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.