|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.groovy.syntax.lexer.FileCharStream
Field Summary |
Fields inherited from interface org.codehaus.groovy.syntax.lexer.CharStream |
EOS |
Constructor Summary | |
FileCharStream(java.io.File file)
|
Method Summary | |
void |
close()
|
char |
consume()
Consume the next character. |
protected CharStream |
getCharStream()
|
java.lang.String |
getDescription()
|
java.io.File |
getFile()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public FileCharStream(java.io.File file)
Method Detail |
public java.io.File getFile()
protected CharStream getCharStream() throws ReadException
ReadException
public java.lang.String getDescription()
getDescription
in interface CharStream
public char consume() throws ReadException
CharStream
consume
in interface CharStream
ReadException
- If an error occurs attempting to consume
a character.public void close() throws ReadException
close
in interface CharStream
ReadException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |