clojure.lang
Class LineNumberingPushbackReader
java.lang.Object
java.io.Reader
java.io.FilterReader
java.io.PushbackReader
clojure.lang.LineNumberingPushbackReader
- All Implemented Interfaces:
- java.io.Closeable, java.lang.Readable
public class LineNumberingPushbackReader
- extends java.io.PushbackReader
Fields inherited from class java.io.FilterReader |
in |
Fields inherited from class java.io.Reader |
lock |
Methods inherited from class java.io.PushbackReader |
close, mark, markSupported, read, ready, reset, skip, 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 |
LineNumberingPushbackReader
public LineNumberingPushbackReader(java.io.Reader r)
getLineNumber
public int getLineNumber()
read
public int read()
throws java.io.IOException
- Overrides:
read
in class java.io.PushbackReader
- Throws:
java.io.IOException
unread
public void unread(int c)
throws java.io.IOException
- Overrides:
unread
in class java.io.PushbackReader
- Throws:
java.io.IOException
readLine
public java.lang.String readLine()
throws java.io.IOException
- Throws:
java.io.IOException
atLineStart
public boolean atLineStart()
Copyright © 2011. All Rights Reserved.