content: package com.lcw.eum;
  
  /**
   * <p>
   * 文件名称：UserAgent.java </p>
   * <p>
   * 文件描述：</p>
   * <p>
   * 版权所有： 版权所有(C)2017-2099 </p>
   * <p>
   * 内容摘要： </p>
   * <p>
   * 其他说明： </p>
   *
   * @version 1.0
   * @author lancw
   * @since 2017-7-12 20:02:49
   */
  public enum UserAgent {
      CHROME("Chrome", "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.109 Safari/537.36"),
      NEXUS_6P("Nexus 6P", "Mozilla/5.0 (Linux; Android 5.1.1; Nexus 6 Build/LYZ28E) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.109 Mobile Safari/537.36"),
      IPAD("ipad", "Mozilla/5.0 (iPad; CPU OS 9_1 like Mac OS X) AppleWebKit/601.1.46 (KHTML, like Gecko) Version/9.0 Mobile/13B143 Safari/601.1"),
      IPHONE6_PLUS("iphone6 plus", "Mozilla/5.0 (iPhone; CPU iPhone OS 9_1 like Mac OS X) AppleWebKit/601.1.46 (KHTML, like Gecko) Version/9.0 Mobile/13B143 Safari/601.1");
      private final String code;
      private final String text;
  
      private UserAgent(String code, String text) {
          this.code = code;
          this.text = text;
      }
  
      public String getCode() {
          return code;
      }
  
      public String getText() {
          return text;
      }
  
      @Override
      public String toString() {
          return code;
      }
  }
  