BBjAppServer::addApplicationIcon

Description

In BBj 12.0 and higher, this method adds the contents of the file represented by iconFileName to the set of static resources in the BBjAppServer.

Syntax

Return Value

Method

BBjResourceUrl

addApplicationIcon(string iconFileName)

Parameters

Variable

Description

iconFileName

The fully-qualified name of an image file

Return Value

Returns a BBjResourceUrlcorresponding to the contents of the file at the time this method was invoked.

Remarks

None.

Example

rem ' BBjAppServer::addApplicationIcon

admin! = bbjapi().getAdmin("admin","admin123")
appServer! = admin!.getWebAppServer()
basis$ = System.getProperty("basis.BBjHome")
filename$ = basis$ + "/perfanalyzer/_prof_icon.png"
resource! = appServer!.addApplicationIcon(filename$)

See Also

BBjAPI

BBjAppServer

BBjAppServer::updateApplicationIcon

See the BBj Object Diagram for an illustration of the relationship between BBj Objects.