nenok.parser
Interface KB_Parser

All Superinterfaces:
Parser
All Known Implementing Classes:
XmlParser

public interface KB_Parser
extends Parser

Parser subinterface that parser knowledgebases.

Version:
1.2
Author:
Marc Pouly

Method Summary
 ResultSet parse(File file)
          Parses the content of the given file and builds a result set, i.e. a wrapper class that bundles valuations and queries (domains) converted from the file content.
 
Methods inherited from interface nenok.parser.Parser
accept
 

Method Detail

parse

ResultSet parse(File file)
                throws ParserException
Parses the content of the given file and builds a result set, i.e. a wrapper class that bundles valuations and queries (domains) converted from the file content.

Parameters:
file - The file whose content is parsed.
Returns:
A bundle that encapsulates all data constructed from the file's content.
Throws:
ParserException - Exceptions that are thrown during the parsing process.