Package com.iizix.selector
Interface IMatchUserAgent
- 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 IMatchUserAgentThe match routine used for cached Device Detection matching.- Author:
- Christopher Mindus
 
- Method Summary- All Methods Instance Methods Abstract Methods - Modifier and Type - Method - Description - boolean- matches(io.github.mngsk.devicedetector.Detection d)Matches the item for a selector.
 
- Method Detail- matches- boolean matches(io.github.mngsk.devicedetector.Detection d) throws java.lang.ExceptionMatches the item for a selector.- Parameters:
- d- The parsed device detection from the user agent.
- Returns:
- true for match, false for no match.
- Throws:
- java.lang.Exception- An exception due to failure in performing the test, with a message why it failed.