Class FileToDownload
- java.lang.Object
-
- net.thucydides.core.pages.components.FileToDownload
-
public class FileToDownload extends Object
Created by john on 30/10/2014.
-
-
Constructor Summary
Constructors Constructor Description FileToDownload(URL url)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
asByteArray()
String
asString()
static FileToDownload
fromUrl(URL url)
-
-
-
Constructor Detail
-
FileToDownload
public FileToDownload(URL url)
-
-
Method Detail
-
fromUrl
public static FileToDownload fromUrl(URL url)
-
asByteArray
public byte[] asByteArray() throws IOException
- Throws:
IOException
-
asString
public String asString() throws IOException
- Throws:
IOException
-
-