public class RDWOutputRecordStream
extends java.lang.Object
For example usage, see the sample class:
com.ibm.jzos.sample.dfsort.DfSortVariableJavaToDataset
| Constructor and Description |
|---|
RDWOutputRecordStream(java.io.OutputStream os)
Construct an instance of RDWOutputRecordStream.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close the underlying OutputStream
|
void |
write(byte[] bytes)
Write the supplied bytes to the underlying OutputStream preceded
by a 4 byte RDW.
|
void |
write(byte[] bytes,
int offset,
int length)
Write the supplied bytes to the underlying OutputStream preceded
by a 4 byte RDW.
|
public RDWOutputRecordStream(java.io.OutputStream os)
os - the OutputStream that will receive the RDW delineated recordspublic void close()
throws java.io.IOException
java.io.IOExceptionpublic void write(byte[] bytes)
throws java.io.IOException
bytes - java.io.IOExceptionpublic void write(byte[] bytes,
int offset,
int length)
throws java.io.IOException
bytes - java.io.IOException