ca.uhn.hl7v2.app
Class HL7ServerTestHelper.CommentFilterReader
java.lang.Object
java.io.Reader
java.io.FilterReader
java.io.PushbackReader
ca.uhn.hl7v2.app.HL7ServerTestHelper.CommentFilterReader
- All Implemented Interfaces:
- Closeable, Readable
- Enclosing class:
- HL7ServerTestHelper
public static class HL7ServerTestHelper.CommentFilterReader
- extends PushbackReader
TODO: this code is copied from HAPI ... should make it part of HAPI public API instead
Removes C and C++ style comments from a reader stream. C style comments are
distinguished from URL protocol delimiters by the preceding colon in the
latter.
|
Method Summary |
int |
read()
Returns the next character, not including comments. |
int |
read(char[] cbuf,
int off,
int len)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HL7ServerTestHelper.CommentFilterReader
public HL7ServerTestHelper.CommentFilterReader(Reader in)
read
public int read()
throws IOException
- Returns the next character, not including comments.
- Overrides:
read in class PushbackReader
- Throws:
IOException
read
public int read(char[] cbuf,
int off,
int len)
throws IOException
- Overrides:
read in class PushbackReader
- Throws:
IOException
Copyright © 2001-2012 University Health Network. All Rights Reserved.