|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface URLFetcher
An interface for fetching data from URLs.
| Method Summary | |
|---|---|
byte[] |
fetchData(String url)
Fetches bytes from the given URL. |
String |
fetchString(String url)
Fetches a String from the given URL. |
| Method Detail |
|---|
@NotNull
String fetchString(String url)
throws IOException
Fetches a String from the given URL.
url - The URL from which to fetch the String.
IOException - If there was a problem fetching the String.
@NotNull
byte[] fetchData(String url)
throws IOException
Fetches bytes from the given URL.
url - The URL from which to fetch the data.
IOException - If there was a problem fetching the String.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||