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:
- java.io.Closeable, java.lang.Readable
- Enclosing class:
- ParseTester
public static class ParseTester.CommentFilterReader
- extends java.io.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.
Fields inherited from class java.io.FilterReader |
in |
Fields inherited from class java.io.Reader |
lock |
Method Summary |
int |
read()
Returns the next character, not including comments. |
int |
read(char[] cbuf,
int off,
int len)
|
Methods inherited from class java.io.PushbackReader |
close, mark, markSupported, ready, reset, skip, unread, unread, unread |
Methods inherited from class java.io.Reader |
read, read |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ParseTester.CommentFilterReader
public ParseTester.CommentFilterReader(java.io.Reader in)
read
public int read()
throws java.io.IOException
- Returns the next character, not including comments.
- Overrides:
read
in class java.io.PushbackReader
- Throws:
java.io.IOException
read
public int read(char[] cbuf,
int off,
int len)
throws java.io.IOException
- Overrides:
read
in class java.io.PushbackReader
- Throws:
java.io.IOException
Copyright © 2001-2011 University Health Network. All Rights Reserved.