info.sswap.ontologies.data.api
Interface Parser


public interface Parser

Interface to web resources that parse a web data source.

Author:
Damian Gessler

Method Summary
 java.io.InputStream parse(java.io.InputStream inputStream)
          Method acts as a filter: it is passed an input stream and should return a input stream of parsed data suitable for immediate reading.
 

Method Detail

parse

java.io.InputStream parse(java.io.InputStream inputStream)
                          throws java.io.IOException,
                                 ParserException
Method acts as a filter: it is passed an input stream and should return a input stream of parsed data suitable for immediate reading.

Parameters:
inputStream - raw (unparsed) stream to be read
Returns:
parsed stream ready for reading
Throws:
java.io.IOException - on any network error
ParserException - on any Parser-specific error


Copyright (c) 2011, iPlant Collaborative, University of Arizona, Cold Spring Harbor Laboratories, University of Texas at Austin.