public class JsonFetcher extends Object implements Fetcher
Modifier and Type | Field and Description |
---|---|
private InputStream |
is |
private static org.slf4j.Logger |
LOGGER |
Constructor and Description |
---|
JsonFetcher() |
Modifier and Type | Method and Description |
---|---|
void |
close() |
File |
fetch(org.dice_research.squirrel.data.uri.CrawleableUri uri,
Delayer delayer)
|
private String |
readAll(Reader rd) |
private static final org.slf4j.Logger LOGGER
private InputStream is
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
public File fetch(org.dice_research.squirrel.data.uri.CrawleableUri uri, Delayer delayer)
Fetcher
private String readAll(Reader rd) throws IOException
IOException
Copyright © 2017–2020. All rights reserved.