Package org.adempiere.report.jasper
Class FileResourceLoader
- java.lang.Object
-
- org.adempiere.report.jasper.FileResourceLoader
-
public class FileResourceLoader extends Object
- Author:
- hengsin
-
-
Constructor Summary
Constructors Constructor Description FileResourceLoader()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description File
getReportFile(String reportPath)
File
getResourceBundle(String resourcePath, String bundleName, Language currLang)
Get property resource file from file://File[]
getSubreports(File reportFile, File reportDir)
static boolean
isFileResourcePath(String path)
-
-
-
Method Detail
-
getResourceBundle
public File getResourceBundle(String resourcePath, String bundleName, Language currLang)
Get property resource file from file://- Parameters:
resourcePath
-bundleName
-currLang
-- Returns:
- File
-
getSubreports
public File[] getSubreports(File reportFile, File reportDir)
- Parameters:
reportFile
-reportDir
-- Returns:
- File[]
-
isFileResourcePath
public static boolean isFileResourcePath(String path)
- Parameters:
path
-- Returns:
- true if path is "file:*"
-
-