owltools.gaf.parser
Interface LineFilter<T>


public interface LineFilter<T>


Method Summary
 boolean accept(String line, int pos, T parser)
          Given a line in a annotation file, decide whether to load the line.
 

Method Detail

accept

boolean accept(String line,
               int pos,
               T parser)
Given a line in a annotation file, decide whether to load the line. This can be used to create filters to exclude certain types of annotations, such as IEA.

Parameters:
line -
pos -
parser -
Returns:
true, if the line should be loaded


Copyright © 2010-2014. All Rights Reserved.