|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Parser
The two parser methods for parsing RDF.
Method Summary | |
---|---|
void |
parse(InputStream in,
String baseURI)
Parses the data from the supplied InputStream, using the supplied BASE_URI to resolve any relative URI references. |
void |
parse(Reader reader,
String baseURI)
Parses the data from the supplied Reader, using the supplied BASE_URI to resolve any relative URI references. |
Method Detail |
---|
void parse(InputStream in, String baseURI) throws IOException, ParseException, StatementHandlerException
in
- The InputStream from which to read the data.baseURI
- The URI associated with the data in the InputStream.
IOException
- If an I/O error occurred while data was read
from the InputStream.
ParseException
- If the parser has found an unrecoverable
parse error.
StatementHandlerException
- If the configured statement handler
has encountered an unrecoverable error.void parse(Reader reader, String baseURI) throws IOException, ParseException, StatementHandlerException
reader
- The Reader from which to read the data.baseURI
- The URI associated with the data in the InputStream.
IOException
- If an I/O error occurred while data was read
from the InputStream.
ParseException
- If the parser has found an unrecoverable
parse error.
StatementHandlerException
- If the configured statement handler
has encountered an unrecoverable error.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |