Rational Developer for Power Systems Software
V7.6

com.ibm.etools.iseries.util
Class EBCDICStringUtil

java.lang.Object
  extended by com.ibm.etools.iseries.util.EBCDICStringUtil

public class EBCDICStringUtil
extends Object

Utility classes for working with EBCDIC strings


Field Summary
static String copyright
           
 
Constructor Summary
EBCDICStringUtil()
           
 
Method Summary
static int compareEBCDICStrings(AS400Text converter, String first, String second)
          Compare two i5/OS object names.
 
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

EBCDICStringUtil

public EBCDICStringUtil()
Method Detail

compareEBCDICStrings

public static int compareEBCDICStrings(AS400Text converter,
                                       String first,
                                       String second)
Compare two i5/OS object names. NOTE: this method only considers characters that are valid in an i5/OS name. It should not be used for arbitrary EBCDIC strings.

Parameters:
converter - An instance of AS400Text used to convert characters from the first and second string to their EBCDIC equivalents. This should be an instance with length 20 (or sufficient to handle converting both strings to EBCDIC).

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.