Rational Developer for Power Systems Software
V7.6

com.ibm.etools.iseries.subsystems.qsys.resources
Class QSYSMixedCCSIDHandler

java.lang.Object
  extended by com.ibm.etools.iseries.subsystems.qsys.resources.QSYSMixedCCSIDHandler

public class QSYSMixedCCSIDHandler
extends Object

This class handles records of members that have mixed CCSID.


Field Summary
static String copyright
           
 
Constructor Summary
QSYSMixedCCSIDHandler()
          Constructor.
 
Method Summary
protected  File createFile(IQSYSMember mbr)
          Creates a new file.
 List process(IQSYSMember member, List bytesList)
          Processes the list of bytes of the given member.
protected  void writeHeader(Writer writer, IQSYSMember mbr)
          Writes the header.
protected  void writePosition(Writer writer, int line, int column)
          Writes the position of consecutive SO/SI characters.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

copyright

public static String copyright
Constructor Detail

QSYSMixedCCSIDHandler

public QSYSMixedCCSIDHandler()
Constructor.

Method Detail

process

public List process(IQSYSMember member,
                    List bytesList)
             throws IOException
Processes the list of bytes of the given member.

Parameters:
member - the member.
bytesList - the list of bytes representing each record of the member.
Throws:
IOException - if an I/O error occurs.

createFile

protected File createFile(IQSYSMember mbr)
                   throws IOException
Creates a new file. If a file already exists, replaces it with a new file.

Parameters:
mbr - the member.
Returns:
the newly created file.
Throws:
IOException - if an I/O error occurs.

writeHeader

protected void writeHeader(Writer writer,
                           IQSYSMember mbr)
                    throws IOException
Writes the header.

Parameters:
writer - the writer.
mbr - the member.
Throws:
IOException - if an I/O error occurs.

writePosition

protected void writePosition(Writer writer,
                             int line,
                             int column)
                      throws IOException
Writes the position of consecutive SO/SI characters.

Parameters:
writer - the writer.
line - the line.
column - the column.
Throws:
IOException - if an I/O error occurs.

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.