Class FileToDownload
java.lang.Object
net.thucydides.core.pages.components.FileToDownload
public class FileToDownload
extends java.lang.Object
Created by john on 30/10/2014.
-
Constructor Summary
Constructors Constructor Description FileToDownload(java.net.URL url)
-
Method Summary
Modifier and Type Method Description byte[]
asByteArray()
java.lang.String
asString()
static FileToDownload
fromUrl(java.net.URL url)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
FileToDownload
public FileToDownload(java.net.URL url)
-
-
Method Details
-
fromUrl
-
asByteArray
public byte[] asByteArray() throws java.io.IOException- Throws:
java.io.IOException
-
asString
public java.lang.String asString() throws java.io.IOException- Throws:
java.io.IOException
-