BBjResourceUrl
Description
In BBj 12.0 and higher, a BBjResourceUrl uniquely identifies a resource used by a BUI application.
Creation
BBjAPI > BBjAdmin > BBjAppServer > BBjResourceUrl
The BBjResourceUrl is created through the following BBjAppServer methods:
Return Value |
Method |
---|---|
BBjResourceUrl |
addApplicationIcon(string iconFileName) |
BBjResourceUrl |
addStaticResource(string fileName, string mimeType) |
BBjResourceUrl |
addStyleSheet(string styleSheetFileName) |
Methods of BBjResourceUrl
Return Value |
Method |
---|---|
string |
|
string |
|
string |
|
void |
setMimeType(string mimeType) |
void |
setSourceFileName(string sourceFile) |
Remarks
BUI currently recognizes two kinds of resources: style sheets, with
the MIME type text/css
, and images, with any image/*
MIME type (e.g. image/png
).
Constants
None.
Example
|
See Also
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.