trassare.com

com.trassare.calculator.engine
Class PushbackReaderFactory

java.lang.Object
  extended by com.trassare.calculator.engine.PushbackReaderFactory

public final class PushbackReaderFactory
extends Object

Used to swap out the PushbackReader in the ExpressionScanner.

Version:
16 November 2005
Author:
Samuel Trassare

Method Summary
static PushbackReader reader(String inputString)
          Takes a string and uses it to create a new PushbackReader.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

reader

public static PushbackReader reader(String inputString)
Takes a string and uses it to create a new PushbackReader.

Parameters:
inputString - the new string to use in the PushbackReader.
Returns:
a new PushbackReader initialized with a string

trassare.com