Interface EscapeCodeFactory

  • All Superinterfaces:
    org.refcodes.factory.LookupFactory<String,Object>
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.


    @FunctionalInterface
    public interface EscapeCodeFactory
    extends org.refcodes.factory.LookupFactory<String,Object>
    A LookupFactory for creating ANSI Escape-Codes from an instance of a given type.
    • Method Detail

      • createInstance

        String createInstance​(Object aIdentifier)
        To instance.
        Specified by:
        createInstance in interface org.refcodes.factory.LookupFactory<String,Object>
        Parameters:
        aIdentifier - the identifier
        Returns:
        the string