Package com.axelor.report
Class ReportResourceLocator
- java.lang.Object
-
- com.axelor.report.ReportResourceLocator
-
- All Implemented Interfaces:
org.eclipse.birt.report.model.api.IResourceLocator
public class ReportResourceLocator extends Object implements org.eclipse.birt.report.model.api.IResourceLocator
This is aResourceLocator
that first searches external reports directory for the resources and fallbacks to module resources if not found.
-
-
Field Summary
Fields Modifier and Type Field Description static String
BIRT_RESOURCELOCATOR_SEARCH_LOCATION
static int
CASCADING_STYLE_SHEET
static String
DEFAULT_REPORT_DIR
static String
FRAGMENT_RESOURCE_HOST
static int
IMAGE
static int
JAR_FILE
static int
LIBRARY
static int
MESSAGE_FILE
static int
OTHERS
static int
RESOURCE_BUNDLE
static int
RESOURCE_DESIGN
static int
RESOURCE_FILEPATH
static int
RESOURCE_FOLDER
-
Constructor Summary
Constructors Constructor Description ReportResourceLocator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description URL
findResource(org.eclipse.birt.report.model.api.ModuleHandle moduleHandle, String fileName, int type)
URL
findResource(org.eclipse.birt.report.model.api.ModuleHandle moduleHandle, String fileName, int type, Map appContext)
-
-
-
Field Detail
-
DEFAULT_REPORT_DIR
public static final String DEFAULT_REPORT_DIR
- See Also:
- Constant Field Values
-
FRAGMENT_RESOURCE_HOST
public static final String FRAGMENT_RESOURCE_HOST
- See Also:
- Constant Field Values
-
IMAGE
public static final int IMAGE
- See Also:
- Constant Field Values
-
LIBRARY
public static final int LIBRARY
- See Also:
- Constant Field Values
-
CASCADING_STYLE_SHEET
public static final int CASCADING_STYLE_SHEET
- See Also:
- Constant Field Values
-
JAR_FILE
public static final int JAR_FILE
- See Also:
- Constant Field Values
-
MESSAGE_FILE
public static final int MESSAGE_FILE
- See Also:
- Constant Field Values
-
OTHERS
public static final int OTHERS
- See Also:
- Constant Field Values
-
BIRT_RESOURCELOCATOR_SEARCH_LOCATION
public static final String BIRT_RESOURCELOCATOR_SEARCH_LOCATION
- See Also:
- Constant Field Values
-
RESOURCE_FILEPATH
public static final int RESOURCE_FILEPATH
- See Also:
- Constant Field Values
-
RESOURCE_BUNDLE
public static final int RESOURCE_BUNDLE
- See Also:
- Constant Field Values
-
RESOURCE_FOLDER
public static final int RESOURCE_FOLDER
- See Also:
- Constant Field Values
-
RESOURCE_DESIGN
public static final int RESOURCE_DESIGN
- See Also:
- Constant Field Values
-
-