Class WebResourceLoader

java.lang.Object
org.adempiere.report.jasper.WebResourceLoader

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

    • WebResourceLoader

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

    • 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