org.sonar.squid.text
Class CodeReader
java.lang.Object
org.sonar.squid.text.CodeReader
public class CodeReader
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CodeReader
public CodeReader(Reader reader)
CodeReader
public CodeReader(String code)
mark
public final void mark(int readAheadLimit)
throws IOException
- Throws:
IOException
lastChar
public final int lastChar()
peek
public final int peek()
pop
public final int pop()
readTo
public String readTo(EndTokenMatcher matcher)
close
public void close()
peek
public char[] peek(int index)
lastChar
public int lastChar(int index)
Copyright © 2009 SonarSource SA. All Rights Reserved.