Class FirefoxFilter

  • All Implemented Interfaces:
    java.util.function.Function<java.util.Map<java.lang.String,​java.lang.Object>,​java.util.Map<java.lang.String,​java.lang.Object>>, CapabilitiesFilter

    public class FirefoxFilter
    extends java.lang.Object
    implements CapabilitiesFilter
    • Constructor Summary

      Constructors 
      Constructor Description
      FirefoxFilter()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Map<java.lang.String,​java.lang.Object> apply​(java.util.Map<java.lang.String,​java.lang.Object> unmodifiedCaps)
      Take a map of capabilities and extract those specific to a browser.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.util.function.Function

        andThen, compose
    • Constructor Detail

      • FirefoxFilter

        public FirefoxFilter()
    • Method Detail

      • apply

        public java.util.Map<java.lang.String,​java.lang.Object> apply​(java.util.Map<java.lang.String,​java.lang.Object> unmodifiedCaps)
        Description copied from interface: CapabilitiesFilter
        Take a map of capabilities and extract those specific to a browser.
        Specified by:
        apply in interface CapabilitiesFilter
        Specified by:
        apply in interface java.util.function.Function<java.util.Map<java.lang.String,​java.lang.Object>,​java.util.Map<java.lang.String,​java.lang.Object>>
        Returns:
        a Map of capabilities if any match, or null otherwise.