step.io
Interface StepRecordOutput

All Known Implementing Classes:
StepEncodedOutput, StepSerialOutput, StepTextOutput

public interface StepRecordOutput

An output stream that accepts STEP records.

See Also:
StepRecord, StepRecordInput

Method Summary
 void close()
          Close this output stream.
 void flush()
          Flush this output stream.
 void writeRecord(StepRecord record)
          Write a STEP record to this output stream.
 

Method Detail

writeRecord

public void writeRecord(StepRecord record)
                 throws IOException
Write a STEP record to this output stream.

NOTE: The writing of some records may generate meta-data that is inserted into the data stream.

Throws:
IOException - if an internal I/O failure occurred.

flush

public void flush()
           throws IOException
Flush this output stream.

IOException

close

public void close()
           throws IOException
Close this output stream.

IOException