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.

@FunctionalInterface public interface IMatchOS
The match routine used for cached Device Detection matching.
Author:
Christopher Mindus
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Matches the item for a selector.
  • Method Details

    • matches

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