|
iSeries Remote Systems v6.0.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.etools.iseries.core.resources.ISeriesMixedCCSIDHandler
This class handles records of members that have mixed CCSID.
Constructor Summary | |
---|---|
ISeriesMixedCCSIDHandler()
Constructor. |
Method Summary | |
---|---|
protected File |
createFile(ISeriesMember mbr)
Creates a new file. |
List |
process(ISeriesMember member,
List bytesList)
Processes the list of bytes of the given member. |
protected String |
replace(String orig,
int num,
String str)
Replace the substitution variable with the given string. |
protected void |
writeHeader(Writer writer,
ISeriesMember 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 |
Constructor Detail |
public ISeriesMixedCCSIDHandler()
Method Detail |
public List process(ISeriesMember member, List bytesList) throws IOException
member
- the member.bytesList
- the list of bytes representing each record of the member.
IOException
- if an I/O error occurs.protected File createFile(ISeriesMember mbr) throws IOException
mbr
- the member.
IOException
- if an I/O error occurs.protected void writeHeader(Writer writer, ISeriesMember mbr) throws IOException
writer
- the writer.mbr
- the member.
IOException
- if an I/O error occurs.protected void writePosition(Writer writer, int line, int column) throws IOException
writer
- the writer.line
- the line.column
- the column.
IOException
- if an I/O error occurs.protected String replace(String orig, int num, String str)
orig
- the original string with the substitution variable.num
- the number that represents the substitution variable.str
- the string to replace with.
|
iSeries Remote Systems v6.0.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |