- Enclosing interface:
DataLoader
public static class DataLoader.DataAndUrl
extends Object
This is an internal class used to model the couple data and url used to obtain this data.
-
Constructor Summary
Constructors
-
Method Summary
byte[]
Gets the URL string used to download the data
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
DataAndUrl
public DataAndUrl(String urlString,
byte[] data)
Default constructor
- Parameters:
urlString - String url
data - a byte array
-
Method Details
-
getUrlString
Gets the URL string used to download the data
- Returns:
String
-
getData
public byte[] getData()
Gets the downloaded data
- Returns:
- a byte array