
BBjResourceUrl::getSourceFileName
Description
In BBj 12.0 and higher, this method returns the filename from which the contents of this URL were obtained.
Syntax
Return Value |
Method |
---|---|
string |
getSourceFileName() |
Parameters
None.
Return Values
Source filename.
Remarks
None.
Example
rem ' BBjResourceUrl::getSourceFileName 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
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.