⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 wap2mobilemodel.java

📁 WAP PUSH后台源码,WAP PUSH后台源码
💻 JAVA
字号:
package com.sxit.wap.wap2mobile;import java.sql.*;import java.util.*;import com.sxit.wap.common.*;import com.sxit.wap.exception.*;public class Wap2MobileModel implements java.io.Serializable {  String mobileType = "";  String userAgent = "";  public Wap2MobileModel(String mobileType, String userAgent){    if (mobileType == null) mobileType = "";    this.mobileType = mobileType;    if (userAgent == null) userAgent = "";    this.userAgent = userAgent;  }  public Wap2MobileModel(){  }  public String getMobileType() {     if (mobileType == null) mobileType = "";     return mobileType;  }  public String getUserAgent() {     if (userAgent == null) userAgent = "";     return userAgent;  }  public void setMobileType(String mobileType) {    this.mobileType = mobileType;  }  public void setUserAgent(String userAgent) {    this.userAgent = userAgent;  }  public String toString() {    String value = "";    value+= "mobileType=" + mobileType + "\n";    value+= "userAgent=" + userAgent + "\n";    return value;  }  public void copy(Wap2MobileModel other) {    this.setMobileType(other.getMobileType());    this.setUserAgent(other.getUserAgent());  }}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -