Class FileResourceLoader

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

public class FileResourceLoader extends Object
Author:
hengsin
  • Constructor Details

    • FileResourceLoader

      public FileResourceLoader()
  • Method Details

    • 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:*"