Class StdinResourceProvider

  • All Implemented Interfaces:
    ResourceProvider

    @MetaInfServices
    public class StdinResourceProvider
    extends Object
    implements ResourceProvider
    A provider for a resource wrapping standard in.
    Author:
    David B. Bracewell
    • Constructor Detail

      • StdinResourceProvider

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