Class CoffeePickParsers

java.lang.Object
com.io7m.coffeepick.runtime.parser.api.CoffeePickParsers
All Implemented Interfaces:
CoffeePickParsersType

public final class CoffeePickParsers
extends java.lang.Object
implements CoffeePickParsersType
The default implementation of the CoffeePickParsersType interface.
  • Method Summary

    Modifier and Type Method Description
    static CoffeePickParsersType createFrom​(java.util.List<SPIParserProviderType> in_providers)
    Create a new parser provider, using parsers from the given list of providers.
    static CoffeePickParsersType createFromServiceLoader()
    Create a new parser provider, loading parsers via ServiceLoader.
    CoffeePickParserType createParser​(CoffeePickParseRequest request)
    Create a parser for the given request, probing the input stream for format information and using this to pick an appropriate parser implementation.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait