Package 

Object Publication.Companion

    • Method Detail

      • localBaseUrlOf

         final String localBaseUrlOf(String filename, Integer port)

        Creates the base URL for a Publication locally served through HTTP, from the publication's filename and the HTTP server port.

        Note: This is used for backward-compatibility, but ideally this should be handled by the Server, and set in the self Link. Unfortunately, the self Link is not available in the navigator at the moment without changing the code in reading apps.