nenok.parser
Interface Parser

All Known Subinterfaces:
JT_Parser, KB_Parser
All Known Implementing Classes:
XmlParser

public interface Parser

The is the head interface of the NENOK parser framework.

Version:
$LastChangedRevision: 555 $
$LastChangedDate: 2008-03-26 14:20:40 +0100 (Mi, 26 Mrz 2008) $
Author:
Marc Pouly

Method Summary
 boolean accept(File file)
          Verifies that this file type can be used together with this parser instance.
 

Method Detail

accept

boolean accept(File file)
Verifies that this file type can be used together with this parser instance.

Parameters:
file - The file to verify.
Returns:
true if the file extension satisfies the precondition of this parser.