BBjResourceUrl::getAppUrl

Description

In BBj 12.0 and higher, this method returns the unique URL corresponding to this resource.

Syntax

Return Value

Method

string

getAppUrl()

Parameters

None.

Return Values

An application-relative string representing a URL.

Remarks

None.

Example

rem ' BBjResourceUrl::getAppUrl

admin! = bbjapi().getAdmin("admin","admin123")

appServer! = admin!.getWebAppServer()

vector! = appServer!.getStaticResources()

if vector!.size() then

   for i = 0 to vector!.size() - 1

       resource! = vector!.get(i)

       print ""

       print resource!.getMimeType()

       print resource!.getSourceFileName()

       print resource!.getAppUrl()

   next i

endif

See Also

BBjAPI

BBjAppConfig

BBjAppServer

BBjResourceUrl

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