org.waxeye.input
Class BufferFiller

java.lang.Object
  extended by org.waxeye.input.BufferFiller

public final class BufferFiller
extends java.lang.Object

A class to read and return the contents of an InputStream.

Author:
Orlando Hill

Method Summary
static char[] asArray(java.io.InputStream input)
          Reads the contents of the given stream from its current position.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

asArray

public static char[] asArray(java.io.InputStream input)
Reads the contents of the given stream from its current position. Treats IOExceptions from the input stream as if the end of the stream had been reached.

Parameters:
input - The stream to read from.
Returns:
The contents of the stream.


Waxeye Parser Generator