Class AbstractLocationResolver

    • Constructor Detail

      • AbstractLocationResolver

        public AbstractLocationResolver​(String... schemes)
        Parameters:
        schemes - the uri schmemes that the implementing sub-type supports
    • Method Detail

      • supports

        public boolean supports​(URI uri)
        Description copied from interface: Typed
        Gets whether this object is compatible with the given data object.

        By default, this method will return true iff the data is assignable to the associated type given by Typed.getType(). But individual implementations may have other requirements beyond class assignability.

        Specified by:
        supports in interface Typed<URI>
        Overrides:
        supports in class AbstractTypedPlugin<URI>
      • getType

        public Class<URI> getType()
        Description copied from interface: Typed
        Gets the type associated with the object.
        Specified by:
        getType in interface Typed<URI>