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
IOException
public String asString() throws IOException
IOException
Copyright © 2021. All rights reserved.