Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

Source code: cvebrowser/dictionary/data/parser/DataParser.java


1   package cvebrowser.dictionary.data.parser;
2   
3   import java.io.IOException;
4   
5   /**
6    * DataParser  - contract interface needed to create a CVE / CAN data file parser.
7    * @author Jose Vicente Nunez Zuleta (josevnz@users.sourceforge.net)
8    * @version 0.1 - 04/12/2003
9    */
10  public interface DataParser {
11  
12    /**
13     * Takes a Mitre data file and creates an output format used to load the CVE / CAN data into the local database.
14     * @param mitreDataFile_ mitreDataFile_ The full path to the CVE data file
15     * @param outputfile_ The full path to the output file
16     * @throws DataParserException If there are errors parsing the file.
17     * @return boolean
18     * @since 0.1
19     */
20    public boolean parse(String mitreDataFile_, String outputfile_) throws DataParserException, IOException;
21  
22  
23  }