Class FileResolver

    • Method Detail

      • resolvePath

        public static String resolvePath​(OperationContext context,
                                         String relativeToPath,
                                         String path)
        Resolves the path based on the relative to and the path. May return null if the service is not up.
        Parameters:
        context - the operation context.
        relativeToPath - the relative to path, may be null.
        path - the path to append to the relative to path or the absolute path if the relative to path is null.
        Returns:
        the full path or null if the services were not started.