Rational Developer for Power Systems Software
V7.6

com.ibm.etools.iseries.remotebuild
Class CLString

java.lang.Object
  extended by com.ibm.etools.iseries.remotebuild.CLValue
      extended by com.ibm.etools.iseries.remotebuild.CLString

public class CLString
extends CLValue

Implements a string value for a CL command parameter. Enforces the quoting requirements of strings. If string is are already legally quoted or is a special value of *BLANK, *SAME, *NONE or *ALL. they are left alone.


Field Summary
static String Copyright
           
 
Constructor Summary
CLString(String s)
          Constructs a new instance of a CLString from the given string parameter.
 
Method Summary
 String toString()
          Returns the value of the CLString quoted correctly for use in a command parameter.
 
Methods inherited from class com.ibm.etools.iseries.remotebuild.CLValue
contains
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

Copyright

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

CLString

public CLString(String s)
Constructs a new instance of a CLString from the given string parameter.

Method Detail

toString

public String toString()
Returns the value of the CLString quoted correctly for use in a command parameter. If the string is already quoted correctly or is a special value it is returned as is.

Specified by:
toString in class CLValue

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.