类 UserAgentService

java.lang.Object
com.walker.web.agent.UserAgentService

public class UserAgentService extends Object
  • 字段详细资料

    • BUNDLED_BROWSCAP_VERSION

      public static final int BUNDLED_BROWSCAP_VERSION
      另请参阅:
  • 构造器详细资料

    • UserAgentService

      public UserAgentService()
    • UserAgentService

      public UserAgentService(String zipFilePath)
      Creates a user agent service based on the Browscap CSV file in the given ZIP file
      参数:
      zipFilePath - the zip file should contain the csv file. It will load the given zip file instead of the bundled one
    • UserAgentService

      public UserAgentService(InputStream zipFileStream)
      Creates a user agent service based on the Browscap CSV file in the given ZIP InputStream
      参数:
      zipFileStream - the zip InputStream should contain the csv file. It will load the given zip InputStream instead of the bundled zip file
  • 方法详细资料