Class HL7Utils
- java.lang.Object
-
- org.wso2.carbon.business.messaging.hl7.common.HL7Utils
-
public class HL7Utils extends Object
Utility class for HL7 operations.
-
-
Constructor Summary
Constructors Constructor Description HL7Utils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.apache.axiom.om.OMElement
generateHL7MessageElement(String hl7XmlMessage)
static String
streamToString(InputStream in)
static String
streamToString(InputStream in, String charSetValue)
-
-
-
Method Detail
-
generateHL7MessageElement
public static org.apache.axiom.om.OMElement generateHL7MessageElement(String hl7XmlMessage) throws XMLStreamException
- Throws:
XMLStreamException
-
streamToString
public static String streamToString(InputStream in) throws IOException
- Throws:
IOException
-
streamToString
public static String streamToString(InputStream in, String charSetValue) throws IOException
- Throws:
IOException
-
-