Interface IReadableResourceProvider

    • Method Detail

      • supportsReading

        boolean supportsReading​(@Nullable
                                String sName)
        Check if this resource provider can handle the resource with the passed name. If there is no real check on whether your resource provider can handle it, simply return true.
        Parameters:
        sName - The name to check. May be null.
        Returns:
        true if the name is not null and can be handled by this provider, false otherwise.
      • getReadableResource

        @Nonnull
        IReadableResource getReadableResource​(@Nonnull
                                              String sName)
        Get the resource specified by the given name for reading.
        Parameters:
        sName - The name of the resource to resolve.
        Returns:
        The readable resource. Never null.