Package org.adempiere.report.jasper
Class BundleResourceLoader
java.lang.Object
org.adempiere.report.jasper.BundleResourceLoader
Get report resources from fragment bundle
- Author:
- hengsin
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetResource
(String path) getResourceBundle
(String bundleName, Language currLang) Get property resource file from resourcesFile[]
getSubreports
(String path) static boolean
isBundleResourcePath
(String path)
-
Constructor Details
-
BundleResourceLoader
- Parameters:
destinationFolder
-
-
-
Method Details
-
getResource
- Parameters:
path
-- Returns:
- File or URL
-
getResourceBundle
Get property resource file from resources- Parameters:
bundleName
-currLang
-- Returns:
- URL
-
getSubreports
- Parameters:
path
- The full path to the parent report- Returns:
- File[0];
-
getRelatedResourcesPath
- Returns:
- url path to load subreports, images and resource bundle
-
isBundleResourcePath
- Parameters:
path
-- Returns:
- true if path is "bundle:*"
-