Package org.adempiere.report.jasper
Class WebResourceLoader
java.lang.Object
org.adempiere.report.jasper.WebResourceLoader
Load report resources from http or https
- Author:
- hengsin
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetReportFile(String reportFilePath) getResourceBundle(String reportPath, String bundleName, Language currLang) Get property resource file from http URLstatic booleanisWebResourcePath(String path)
-
Constructor Details
-
WebResourceLoader
- Parameters:
destinationFolder- destination folder to download report file to
-
-
Method Details
-
getReportFile
- Parameters:
reportFilePath-- Returns:
- File
-
getResourceBundle
Get property resource file from http URL- Parameters:
reportPath-bundleName-currLang-- Returns:
- File
-
isWebResourcePath
- Parameters:
path-- Returns:
- true if path is http or https
-