Class WebResourceLoader


  • public class WebResourceLoader
    extends Object
    Load report resources from http or https
    Author:
    hengsin
    • Constructor Detail

      • WebResourceLoader

        public WebResourceLoader​(String destinationFolder)
        Parameters:
        destinationFolder - destination folder to download report file to
    • Method Detail

      • getReportFile

        public File getReportFile​(String reportFilePath)
        Parameters:
        reportFilePath -
        Returns:
        File
      • getResourceBundle

        public File getResourceBundle​(String reportPath,
                                      String bundleName,
                                      Language currLang)
        Get property resource file from http URL
        Parameters:
        reportPath -
        bundleName -
        currLang -
        Returns:
        File
      • isWebResourcePath

        public static boolean isWebResourcePath​(String path)
        Parameters:
        path -
        Returns:
        true if path is http or https