|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--step.io.StepSerialInput
An intput stream that uses Java's serialization mechanism.
StepRecord
,
StepSerialOutput
Constructor Summary | |
StepSerialInput(ObjectInput input)
Create a STEP record input stream from a Java object input stream. |
Method Summary | |
void |
close()
Close this input stream. |
StepRecord |
readRecord()
Read the next STEP record from the object input stream. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public StepSerialInput(ObjectInput input)
Method Detail |
public StepRecord readRecord() throws IOException, ClassNotFoundException
readRecord
in interface StepRecordInput
null
if the end of input has been reached.
ClassNotFoundException
- if the class of a serialized object cannot be found.
IOException
- if any of the usual I/O related exceptions occur.
ClassCastException
- if the next object is not a STEP record.public void close() throws IOException
close
in interface StepRecordInput
IOException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |