|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.ibm.jzos.RDWOutputRecordStream
public class RDWOutputRecordStream
This class is a wrapper that writes RDW delineated records to an OutputStream.
For example usage, see the sample class:
com.ibm.jzos.sample.dfsort.DfSortVariableJavaToDataset
| Constructor Summary | |
|---|---|
RDWOutputRecordStream(java.io.OutputStream os)
Construct an instance of RDWOutputRecordStream. |
|
| Method Summary | |
|---|---|
void |
close()
Close the underlying OutputStream |
void |
write(byte[] bytes)
Write the supplied bytes to the underlying OutputStream preceeded by a 4 byte RDW. |
void |
write(byte[] bytes,
int offset,
int length)
Write the supplied bytes to the underlying OutputStream preceeded by a 4 byte RDW. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RDWOutputRecordStream(java.io.OutputStream os)
os - the OutputStream that will receive the RDW delineated records| Method Detail |
|---|
public void close()
throws java.io.IOException
java.io.IOException
public void write(byte[] bytes)
throws java.io.IOException
bytes -
java.io.IOException
public void write(byte[] bytes,
int offset,
int length)
throws java.io.IOException
bytes -
java.io.IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||