public class FileToDownload extends Object
| Constructor and Description |
|---|
FileToDownload(URL url) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
asByteArray() |
String |
asString() |
static FileToDownload |
fromUrl(URL url) |
public FileToDownload(URL url)
public static FileToDownload fromUrl(URL url)
public byte[] asByteArray()
throws IOException
IOExceptionpublic String asString() throws IOException
IOExceptionCopyright © 2021. All rights reserved.