| Modifier and Type | Method and Description |
|---|---|
void |
begin(URL url)
Begin fetching the URL stopping as soon as possible.
|
void |
end()
Finish the reading process (even if
nextEvents() did not
returned false). |
void |
fetchAll(URL url)
Read the whole URL in one big non-interruptible operation.
|
boolean |
nextEvents()
Try to process one graph event, or as few as possible, if more must be
read at once.
|
addAttributeSink, addElementSink, addSink, clearAttributeSinks, clearElementSinks, clearSinks, removeAttributeSink, removeElementSink, removeSinkvoid fetchAll(URL url) throws IOException
url - The URL to fetch.IOException - If an I/O error occurs while fetching the URL.void begin(URL url) throws IOException
nextEvents(). Once begin()
as been called, you must finish the reading process using end().
You cannot call begin() twice without having called end() in
between.url - The URL to fetch.IOException - If an I/O error occurs while reading.boolean nextEvents()
throws IOException
begin(URL). This method return true while there are still events
to read.IOException - If an I/O error occurs while reading.void end()
throws IOException
nextEvents() did not
returned false). You must call this method after reading.IOException - If an I/O error occurs while closing the file.Copyright © 2015. All rights reserved.