Class ByteArrayResourceProvider

  • All Implemented Interfaces:
    ResourceProvider

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

      • ByteArrayResourceProvider

        public ByteArrayResourceProvider()
    • 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