public class HL7Serializer
extends java.lang.Object
| Constructor and Description |
|---|
HL7Serializer() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
serialize(ISegmentSet objSegmentSet,
IHL7Stream objHL7Stream)
Serializes the SegmentSet on given stream.
|
boolean |
serialize(ISegmentSet objSegmentSet,
java.lang.String strFilePath)
Serializes the SegmentSet on given file location.
|
public boolean serialize(ISegmentSet objSegmentSet, IHL7Stream objHL7Stream) throws SerializeException, java.io.IOException
objSegmentSet - instance of SegmentSetobjHL7Stream - instance of HL7StreamSerializeException - if serialization operation failsjava.io.IOException - if input/output operation failspublic boolean serialize(ISegmentSet objSegmentSet, java.lang.String strFilePath) throws SerializeException, java.io.IOException
objSegmentSet - instance of SegmentSetstrFilePath - path to fileSerializeException - if serialization operation failsjava.io.IOException - if input/output operation fails