Class DefaultResourceLocator
java.lang.Object
org.eclipse.birt.report.model.api.DefaultResourceLocator
- All Implemented Interfaces:
IResourceLocator
The default implementation for interface
IResourceLocator
. This
implementation is empty and does nothing to search the resource.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
Key for the location to search in appContext.static final int
The type of the cascading style sheet to search.static final String
The host name of the fragments where inner resources are located.static final int
The type of the images to searchstatic final int
The type for the jar file.static final int
The type of the libraries to searchstatic final int
The type for the message file.static final int
The other types.static final int
The location mask which searches in the resource bundle.static final int
The location mask which searches the file relative to design.static final int
The location mask which searches in the file system with path.static final int
The location mask which searches in the resource folder.Fields inherited from interface org.eclipse.birt.report.model.api.IResourceLocator
ALL_RESOURCE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfindResource
(ModuleHandle moduleHandle, String fileName, int type) findResource
(ModuleHandle moduleHandle, String fileName, int type, Map appContext)
-
Field Details
-
FRAGMENT_RESOURCE_HOST
The host name of the fragments where inner resources are located.- See Also:
-
IMAGE
static final int IMAGEThe type of the images to search- See Also:
-
LIBRARY
static final int LIBRARYThe type of the libraries to search- See Also:
-
CASCADING_STYLE_SHEET
static final int CASCADING_STYLE_SHEETThe type of the cascading style sheet to search.- See Also:
-
JAR_FILE
static final int JAR_FILEThe type for the jar file. Includes .jar type.- See Also:
-
MESSAGE_FILE
static final int MESSAGE_FILEThe type for the message file.- See Also:
-
OTHERS
static final int OTHERSThe other types.- See Also:
-
BIRT_RESOURCELOCATOR_SEARCH_LOCATION
Key for the location to search in appContext.- See Also:
-
RESOURCE_FILEPATH
static final int RESOURCE_FILEPATHThe location mask which searches in the file system with path.- See Also:
-
RESOURCE_BUNDLE
static final int RESOURCE_BUNDLEThe location mask which searches in the resource bundle.- See Also:
-
RESOURCE_FOLDER
static final int RESOURCE_FOLDERThe location mask which searches in the resource folder.- See Also:
-
RESOURCE_DESIGN
static final int RESOURCE_DESIGNThe location mask which searches the file relative to design.- See Also:
-
-
Constructor Details
-
DefaultResourceLocator
public DefaultResourceLocator()
-
-
Method Details
-
findResource
-
findResource
-