001    package org.objectweb.jac.core;
002    
003    import java.io.IOException;
004    import java.io.InputStream;
005    import java.util.Set;
006    import java.util.List;
007    
008    /**
009     * Configuration file parser interface
010     */
011    public interface InputStreamParser {
012       /**
013        * Parse a configuration stream.
014        * @param input the stream to parse
015        * @param filePath corresponding filename
016        * @param targetClass name of aspect component class
017        * @param blockKeywords additional block keywords to factorize
018        * configuration methods
019        */
020       List parse(InputStream input, String filePath, 
021                  String targetClass, Set blockKeywords) 
022          throws IOException;
023    }