public class ExtendedMinLLPReader extends Object implements HL7Reader
ExtendedMinLowerLayerProtocol| Constructor and Description |
|---|
ExtendedMinLLPReader()
Creates a MinLLPReader with no setup - setInputStream must be set later.
|
ExtendedMinLLPReader(InputStream in)
Creates a MinLLPReader which reads from the given InputStream.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes the underlying BufferedReader.
|
Charset |
getLastCharset() |
String |
getMessage()
Reads a complete HL7 message from the underlying input stream
|
void |
setInputStream(InputStream in)
Sets the InputStream from which to read messages.
|
public ExtendedMinLLPReader()
public ExtendedMinLLPReader(InputStream in) throws IOException
IOExceptionpublic void close() throws IOException
close in interface HL7ReaderIOExceptionpublic Charset getLastCharset()
public String getMessage() throws LLPException, IOException
HL7ReadergetMessage in interface HL7ReaderLLPExceptionIOExceptionpublic void setInputStream(InputStream in) throws IOException
getMessage().setInputStream in interface HL7ReaderIOExceptionCopyright © 2001-2013 University Health Network. All Rights Reserved.