资源简介
慕课网随堂练习代码
代码片段和文件信息
package cn.edu.xynu.entity;
import java.io.Serializable;
public class File implements Serializable{
/**
* 文件的实体类
*/
private static final long serialVersionUID = 1L;
private String fname;
private String username;
private byte[] fcontent;
public File() {
super();
// TODO Auto-generated constructor stub
}
public File(String fname String username byte[] fcontent) {
super();
this.fname = fname;
this.username = username;
this.fcontent = fcontent;
}
public String getUsername() {
return username;
}
public void setUsername(String username) {
this.username = username;
}
public String getFname() {
return fname;
}
public void setFname(String fname) {
this.fname = fname;
}
public byte[] getFcontent() {
return fcontent;
}
public void setFcontent(byte[] fcontent) {
this.fcontent = fcontent;
}
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2016-10-17 23:41 SocketDemo\
文件 397 2016-10-17 13:16 SocketDemo\.classpath
文件 386 2016-10-17 11:30 SocketDemo\.project
目录 0 2016-10-17 23:41 SocketDemo\.settings\
文件 629 2016-10-17 11:30 SocketDemo\.settings\org.eclipse.jdt.core.prefs
目录 0 2016-10-17 23:41 SocketDemo\bin\
目录 0 2016-10-17 23:41 SocketDemo\bin\cn\
目录 0 2016-10-17 23:41 SocketDemo\bin\cn\edu\
目录 0 2016-10-17 23:41 SocketDemo\bin\cn\edu\xynu\
目录 0 2016-10-17 23:41 SocketDemo\bin\cn\edu\xynu\entity\
文件 1198 2016-10-17 22:59 SocketDemo\bin\cn\edu\xynu\entity\File.class
文件 972 2016-10-17 22:59 SocketDemo\bin\cn\edu\xynu\entity\User.class
目录 0 2016-10-17 23:41 SocketDemo\bin\cn\edu\xynu\service\
文件 1906 2016-10-17 23:00 SocketDemo\bin\cn\edu\xynu\service\FileService.class
文件 2733 2016-10-17 23:02 SocketDemo\bin\cn\edu\xynu\service\UserService.class
目录 0 2016-10-17 23:41 SocketDemo\bin\cn\edu\xynu\socket\
文件 1999 2016-10-17 23:03 SocketDemo\bin\cn\edu\xynu\socket\Client.class
文件 1112 2016-10-17 23:03 SocketDemo\bin\cn\edu\xynu\socket\Service.class
文件 3224 2016-10-17 23:05 SocketDemo\bin\cn\edu\xynu\socket\ServiceThread.class
目录 0 2016-10-17 23:41 SocketDemo\bin\cn\edu\xynu\ui\
文件 3930 2016-10-17 23:06 SocketDemo\bin\cn\edu\xynu\ui\LoginUI.class
文件 4278 2016-10-17 23:07 SocketDemo\bin\cn\edu\xynu\ui\RegisterUI.class
文件 449 2016-10-17 23:07 SocketDemo\bin\cn\edu\xynu\ui\StartClient.class
文件 847 2016-10-17 23:09 SocketDemo\bin\cn\edu\xynu\ui\StartServer$startServerThread.class
文件 2043 2016-10-17 23:09 SocketDemo\bin\cn\edu\xynu\ui\StartServer.class
文件 4511 2016-10-17 23:10 SocketDemo\bin\cn\edu\xynu\ui\UploadUI.class
目录 0 2016-10-17 23:41 SocketDemo\bin\cn\edu\xynu\util\
文件 1276 2016-10-17 23:10 SocketDemo\bin\cn\edu\xynu\util\CommandTranser.class
文件 1257 2016-10-17 23:10 SocketDemo\bin\cn\edu\xynu\util\DBHelper.class
文件 944 2016-10-17 23:10 SocketDemo\src\cn\edu\xynu\util\DBHelper.java
文件 802 2016-10-17 23:10 SocketDemo\src\cn\edu\xynu\util\CommandTranser.java
............此处省略58个文件信息
评论
共有 条评论