[Biojava-dev] Proposed change to RichFormat interface

mark.schreiber at novartis.com mark.schreiber at novartis.com
Tue Jun 6 09:41:41 UTC 2006


maybe the method should be something like

public String currentParseString()

The question is should the currentLineNumber be the start of the parse 
block or the end?

I would favour the start of the parse block. This would be more like 
compiler type behaivour but might be trickier to code??

- Mark





Richard Holland <richard.holland at ebi.ac.uk>
06/06/2006 05:31 PM

 
        To:     Mark Schreiber <mark.schreiber at novartis.com>
        cc: 
        Subject:        Re: [Biojava-dev] Proposed change to RichFormat interface


It's worth pointing out that most of the parsers bunch together lines,
so the methods below would probably print out the line number on which
the group of lines started, followed by the entire group. Not sure if
that's exactly what you had in mind, but I'm sure it'd help a little
bit.

On Tue, 2006-06-06 at 14:45 +0800, mark.schreiber at novartis.com wrote:
> public String currentLine();
> public int currentLineNumber();
-- 
Richard Holland (BioMart Team)
EMBL-EBI
Wellcome Trust Genome Campus
Hinxton
Cambridge CB10 1SD
UNITED KINGDOM
Tel: +44-(0)1223-494416







More information about the biojava-dev mailing list