安卓端/course_mgmt_app/src/net/common/android/model/StudentList.java
(开头部分) 4KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
/**
* ProjectName:AndroidShopNC2014Moblie
* PackageName:net.shopnc.android.model
* FileNmae:GoodsList.java
*/
package net.common.android.model;
import java.util.ArrayList;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
/**
* @author KingKong·HE
* @Time 2014年1月17日 下午4:44:35
*/
public class StudentList {
public static class Attr {
public static final String GOODS_STU_ID = "id";
public static final String GOODS_ID = "stu_id";
public static final String GOODS_NAME = "stu_college";
public static final String GOODS_TEL = "major";
public static final String GOODS_MAIL = "class_";
public static final String GOODS_JOB = "stu_name";
public static final String GOODS_DEPT = "stu_sex";
public static final String GOODS_PASSWORD = "password";
}
private String id;
private String stu_id;
private String stu_college;
private String major;
private String class_;
private String stu_name;
private String stu_sex;
private String password;
public StudentList(String id,String stu_id, String name, String tel, String mail,
String job, String dept, String password) {
super();
this.id = id;
this.stu_id = stu_id;
this.stu_college = name;
this.major = tel;
this.class_ = mail;
this.stu_name = job;
this.stu_sex = dept;
this.password = password;
}
public static StudentList newInstanceList_(String json) {
StudentList bean = null;
try {
JSONObject obj = new JSONObject(json);
String userstr = obj.optString("jsonString");
JSONObject user = new JSONObject(userstr);
// System.out.println(obj.optString("username"));
if (obj.length() > 0) {
后面还有 113 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。