Class StringResourceProvider

  • All Implemented Interfaces:
    ResourceProvider

    @MetaInfServices
    public class StringResourceProvider
    extends Object
    implements ResourceProvider
    A provider for string backed resources.
    Author:
    David B. Bracewell
    • Constructor Detail

      • StringResourceProvider

        public StringResourceProvider()
    • Method Detail

      • getProtocols

        public String[] getProtocols()
        Specified by:
        getProtocols in interface ResourceProvider
        Returns:
        The protocols that this provider supports (e.g. http, file, string, etc.)
      • requiresProtocol

        public boolean requiresProtocol()
        Specified by:
        requiresProtocol in interface ResourceProvider
        Returns:
        True if the SCHEME is required as part of the specification