Class UserAgentUtils

java.lang.Object
com.avoka.core.util.UserAgentUtils

public class UserAgentUtils extends Object
Provides a user agent utilities.
  • Field Details

  • Constructor Details

    • UserAgentUtils

      public UserAgentUtils()
  • Method Details

    • getOS

      public static String[] getOS(String userAgent)
      Return the OS information about the user agent.
      Parameters:
      userAgent - the user agent string
      Returns:
      the OS information about the user agent
    • getBrowser

      public static String[] getBrowser(String userAgent)
      Return the browser information about the user agent.
      Parameters:
      userAgent - the user agent string
      Returns:
      the browser information about the user agent