Rational Developer for Power Systems Software
V7.6

com.ibm.etools.iseries.comm
Class ISeriesAbstractListProcessor.HostAPIGenericListHeader

java.lang.Object
  extended by com.ibm.etools.iseries.comm.ISeriesAbstractListProcessor.HostAPIGenericListHeader
Enclosing class:
ISeriesAbstractListProcessor

public static class ISeriesAbstractListProcessor.HostAPIGenericListHeader
extends Object

======================================================================= HostAPIGenericListHeader ------------------------- Nested helper class to facilitate parsing of the common (generic) header that most host list APIs return at the top of the user space. Usage: - instantiate - call setInput to set the byte array to be parsed. - call getXXX to get parsed values - optionally call logHeaderInfo to print out header values to log file =======================================================================


Constructor Summary
ISeriesAbstractListProcessor.HostAPIGenericListHeader(AS400 system)
           
 
Method Summary
 int getDataCCSID()
           
 int getGenericHeaderSize()
           
 int getListSize()
           
 int getListSpecificHeaderSize()
           
 int getListSpecificHeaderStartingPosition()
           
 int getListStartingPosition()
           
 int getNbrListItems()
           
 int getSizePerItem()
           
 int getUserAreaSize()
           
 int getUserSpaceSize()
           
 void logHeaderInfo(PrintWriter logFileStream, String prefix)
          Print out header info, for debugging purposes
 void setInput(byte[] data400)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ISeriesAbstractListProcessor.HostAPIGenericListHeader

public ISeriesAbstractListProcessor.HostAPIGenericListHeader(AS400 system)
Method Detail

setInput

public void setInput(byte[] data400)

getUserAreaSize

public int getUserAreaSize()

getGenericHeaderSize

public int getGenericHeaderSize()

getUserSpaceSize

public int getUserSpaceSize()

getListSpecificHeaderStartingPosition

public int getListSpecificHeaderStartingPosition()

getListSpecificHeaderSize

public int getListSpecificHeaderSize()

getListStartingPosition

public int getListStartingPosition()

getListSize

public int getListSize()

getNbrListItems

public int getNbrListItems()

getSizePerItem

public int getSizePerItem()

getDataCCSID

public int getDataCCSID()

logHeaderInfo

public void logHeaderInfo(PrintWriter logFileStream,
                          String prefix)
Print out header info, for debugging purposes


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.