com.ibm.broker.rest

Interface Resolver



  • public interface Resolver
    An interface that can be implemented in order to resolve the location of API documents that are referenced by a top level API document.
    Since:
    IBM Integration Bus v10
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      java.nio.file.Path resolve(java.nio.file.Path basePath, java.lang.String path)
      Resolve the specified path relative to the provided base path.
      java.io.InputStream resolve(java.lang.String basePath, java.lang.String path)
      Resolve the specified path relative to the provided base path.
    • Method Detail

      • resolve

        java.nio.file.Path resolve(java.nio.file.Path basePath,
                                   java.lang.String path)
        Resolve the specified path relative to the provided base path.
        Parameters:
        basePath - the base path.
        path - the path to resolve.
        Returns:
        the resolved path.
      • resolve

        java.io.InputStream resolve(java.lang.String basePath,
                                    java.lang.String path)
        Resolve the specified path relative to the provided base path.
        Parameters:
        basePath - the base path.
        path - the path to resolve.
        Returns:
        the resolved path.