com.jeffpalm.javaparser
Class StdInParserFactory

java.lang.Object
  extended by com.jeffpalm.javaparser.ParserFactory
      extended by com.jeffpalm.javaparser.StdInParserFactory

public class StdInParserFactory
extends ParserFactory

Generates new parsers for standard input

Version:
$Id: StdInParserFactory.java,v 1.3 2005/12/04 15:38:50 jeffpalm Exp $
Author:
Chris Seguin, Mike Atkinson

Constructor Summary
StdInParserFactory()
          Constructor for a standard input ParserFactory
 
Method Summary
protected  java.lang.String getKey()
          A method to return some key identifying the file that is being parsed
protected  java.io.Reader getReader()
          Return the input stream
 
Methods inherited from class com.jeffpalm.javaparser.ParserFactory
getAbstractSyntaxTree, getParser
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StdInParserFactory

public StdInParserFactory()
Constructor for a standard input ParserFactory

Method Detail

getReader

protected java.io.Reader getReader()
Return the input stream

Specified by:
getReader in class ParserFactory
Returns:
the input stream

getKey

protected java.lang.String getKey()
A method to return some key identifying the file that is being parsed

Specified by:
getKey in class ParserFactory
Returns:
the identifier