public class Parser extends Object
Encapsulate the parsing of lines from a buffered reader into tag-value events.
Scripts will usually construct a parser object, a BufferedReader, a TagValueParser and TagValueListener, and then set up a loop that processes each record in the reader by calling Parser.read() until it returns false.
Constructor and Description |
---|
Parser() |
public Parser()
public boolean read(BufferedReader reader, TagValueParser parser, TagValueListener listener) throws IOException, ParserException
IOException
ParserException
Copyright © 2014 BioJava. All rights reserved.