Rational Developer for Power Systems Software
V7.6

com.ibm.etools.iseries.rse.util.clprompter
Class ClLiteral

java.lang.Object
  extended by com.ibm.etools.iseries.rse.util.clprompter.ClLiteral

public final class ClLiteral
extends Object

Used to determine literals

Since:
6.0

Field Summary
static String Copyright
           
 
Constructor Summary
ClLiteral()
           
 
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
 

Field Detail

Copyright

public static final String Copyright
See Also:
Constant Field Values
Constructor Detail

ClLiteral

public ClLiteral()
Method Detail

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

Rational Developer for Power Systems Software
V7.6

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.