JAC project
AOPSYS
CEDRIC & LIP6 labs

org.objectweb.jac.core
Interface Parser

All Known Implementing Classes:
ParserImpl

public interface Parser

Configuration file parser interface


Method Summary
 List parse(InputStream input, String filePath, String targetClass, Set blockKeywords)
          Parse a stream.
 List parse(String path, String targetClass, Set blockKeywords)
          Parse config file specified by its file path.
 

Method Detail

parse

public List parse(String path,
                  String targetClass,
                  Set blockKeywords)
           throws IOException
Parse config file specified by its file path.

Parameters:
path - path of file to parse
targetClass - the class name of the aspect component
blockKeywords - additional block keywords to factorize configuration methods
IOException

parse

public List parse(InputStream input,
                  String filePath,
                  String targetClass,
                  Set blockKeywords)
           throws IOException
Parse a stream.

Parameters:
input - the stream to parse
filePath - path of file corresponding to the input stream
targetClass - the class name of the aspect component
blockKeywords - additional block keywords to factorize configuration methods
IOException

Contact JAC development team:
Renaud Pawlak
Lionel Seinturier
Laurent Martelli