att_downloadUtil.js 388 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14
importClass(Packages.com.hand.attDownload.attDownload);
importPackage(Packages.java.io);
importPackage(Packages.java.util);
//importClass(Packages.leaf.plugin.util.Base64);

function attDownloadUtil(response,filePath,fileName) {
	try {
		var result = new attDownload().downloadUitl(response,filePath,fileName);
		return result;
	} catch (e) {
		println(e);
		return false;
	}
}attDownload