Rational Developer for Power Systems Software
V7.6

com.ibm.etools.iseries.util
Interface IEbcdicStringIterator

All Known Implementing Classes:
EbcdicStringIterator, WrappedEbcdicStringIterator

public interface IEbcdicStringIterator


Method Summary
 IEbcdicString getNextEbcdicBytes(int ebcdicByteLength)
          Return the String that corresponds to the next ebcdicByteLength number of EBCDIC bytes of the string iterated on by this class.
 int getRemainingLength()
          Return the EBCDIC byte length of the remainder
 

Method Detail

getNextEbcdicBytes

IEbcdicString getNextEbcdicBytes(int ebcdicByteLength)
Return the String that corresponds to the next ebcdicByteLength number of EBCDIC bytes of the string iterated on by this class. Remove the Unicode characters that correspond the the first ebcdicByteLength number of ebcdic bytes. Return those characters. If the resultant string would be shorter than ebcdicByteLength return it unpadded.

Parameters:
ebcdicByteLength - - the desired length
Returns:

getRemainingLength

int getRemainingLength()
Return the EBCDIC byte length of the remainder

Returns:

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.