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
-
Method Summary
Modifier and TypeMethodDescriptiongetReportFile
(String reportFilePath) getResourceBundle
(String reportPath, String bundleName, Language currLang) Get property resource file from http URLstatic boolean
isWebResourcePath
(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
-