ca.uhn.hl7v2.util
Class ParseTester.CommentFilterReader
java.lang.Object
java.io.Reader
java.io.FilterReader
java.io.PushbackReader
ca.uhn.hl7v2.util.ParseTester.CommentFilterReader
- All Implemented Interfaces:
- Closeable, Readable
- Enclosing class:
- ParseTester
public static class ParseTester.CommentFilterReader
- extends PushbackReader
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 |
ParseTester.CommentFilterReader
public ParseTester.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.