Interface IMatchOS

  • Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    public interface IMatchOS
    The match routine used for cached Device Detection matching.
    Christopher Mindus
    • Method Detail

      • matches

        boolean matches​(java.lang.String os)
                 throws java.lang.Exception
        Matches the item for a selector.
        os - The parsed device detection Operating System from the user agent.
        true for match, false for no match.
        java.lang.Exception - An exception due to failure in performing the test, with a message why it failed.