public class ReportResourceLocator extends Object implements org.eclipse.birt.report.model.api.IResourceLocator
ResourceLocator
that first searches external reports directory for the
resources and fallbacks to module resources if not found.Modifier and Type | Field and Description |
---|---|
static String |
BIRT_RESOURCELOCATOR_SEARCH_LOCATION |
static int |
CASCADING_STYLE_SHEET |
static String |
CONFIG_REPORT_DIR |
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 and Description |
---|
ReportResourceLocator() |
Modifier and Type | Method and 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) |
public static final String CONFIG_REPORT_DIR
public static final String DEFAULT_REPORT_DIR
public static final String FRAGMENT_RESOURCE_HOST
public static final int IMAGE
public static final int LIBRARY
public static final int CASCADING_STYLE_SHEET
public static final int JAR_FILE
public static final int MESSAGE_FILE
public static final int OTHERS
public static final String BIRT_RESOURCELOCATOR_SEARCH_LOCATION
public static final int RESOURCE_FILEPATH
public static final int RESOURCE_BUNDLE
public static final int RESOURCE_FOLDER
public static final int RESOURCE_DESIGN