Class FileResourceLoader


  • public class FileResourceLoader
    extends Object
    Author:
    hengsin
    • Constructor Detail

      • FileResourceLoader

        public FileResourceLoader()
    • Method Detail

      • getReportFile

        public File getReportFile​(String reportPath)
        Parameters:
        reportPath -
        Returns:
        File
      • 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:*"