You can use the constructor that takes an IModelFile and pass a
LoadableDetachableModel or AbstractReadOnlyModel in which you generate your
file. Don't Forget to call setDeleteAfterDowload(true) on your DownloadLink to
avoid filling your drive too fast!
I do that all the times and as usually
Hi,
this worked for me:
WebResource export = new WebResource() {
@Override
public IResourceStream getResourceStream() {
return new StringResourceStream(getTweetsAsString(), text/plain);
}
@Override
protected void setHeaders(WebResponse response) {