DynamicJava Javadoc: Interface ParserFactory

Overview | Package | Class | Use | Tree | Deprecated | Index | Help

PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## koala.dynamicjava.parser.wrapper
Interface ParserFactory

All Known Implementing Classes:
  JavaCCParserFactory

public interface ParserFactory

The classes that implements this interface represent parser factories.

Method Summary
`SourceCodeParser` | `createParser(java.io.InputStream is, java.lang.String fname)` Creates a new parser and returns it
`SourceCodeParser` | `createParser(java.io.Reader r, java.lang.String fname)` Creates a new parser and returns it

Method Detail

### createParser

    public SourceCodeParser createParser(java.io.InputStream is,
                                         java.lang.String fname)

  Creates a new parser and returns it
  Parameters:
    `is` - the input stream
    `fname` - the file name

### createParser

    public SourceCodeParser createParser(java.io.Reader r,
                                         java.lang.String fname)

  Creates a new parser and returns it
  Parameters:
    `r` - the reader
    `fname` - the file name

Overview | Package | Class | Use | Tree | Deprecated | Index | Help

PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2001 Stephane Hillion. All Rights Reserved.