com.ibm.etools.iseries.rse.util.clprompter
Class ClLiteral
java.lang.Object
com.ibm.etools.iseries.rse.util.clprompter.ClLiteral
public final class ClLiteral
- extends Object
Used to determine literals
- Since:
- 6.0
Method Summary |
static Object |
getObject(String text)
used to retrieve the appropriate literal for the text provided |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Copyright
public static final String Copyright
- See Also:
- Constant Field Values
ClLiteral
public ClLiteral()
getObject
public static Object getObject(String text)
throws ClSyntaxException
- used to retrieve the appropriate literal for the text provided
- Parameters:
text
- the text to parse as a literal
- Returns:
- a String object if the literal is a character string or
a Long object if the literal can be parsed as a Long.
- Throws:
ClSyntaxException
Copyright © 2011 IBM Corp. All Rights Reserved.
Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.