add ctor for consistency

This commit is contained in:
Terence Parr 2012-05-20 17:28:14 -07:00
parent 5fc148381a
commit 6215390408
1 changed files with 21 additions and 17 deletions

View File

@ -90,6 +90,10 @@ public class ANTLRInputStream implements CharStream {
this(new InputStreamReader(input), size);
}
public ANTLRInputStream(InputStream input, int size, int readChunkSize) throws IOException {
this(new InputStreamReader(input), size, readChunkSize);
}
public void load(Reader r, int size, int readChunkSize)
throws IOException
{