com.ibm.etools.iseries.comm
Class ISeriesAbstractListProcessor.HostAPIGenericListHeader
java.lang.Object
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
=======================================================================
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ISeriesAbstractListProcessor.HostAPIGenericListHeader
public ISeriesAbstractListProcessor.HostAPIGenericListHeader(AS400 system)
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
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.