saucerest-java
saucerest-java copied to clipboard
Return the java.io.File handle from downloadVideo and downloadFile methods
This will make the API easier to use when a report with the file's location needs to be created.
Closing this as it's several years out of date.
If anyone wishes to re-open, can you provide some more details? The downloadX methods take a filepath as a String, which I imagine fulfils the requirement. What's the benefit of returning a File handle?
Reopening; Upon reading the code for this, it seems reasonable. The asset is only assigned a location, not a filename, and the filename can vary.
Closing as not applicable anymore.