-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathFileHelper.java
More file actions
46 lines (41 loc) · 966 Bytes
/
FileHelper.java
File metadata and controls
46 lines (41 loc) · 966 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
package com.cn;
public class FileHelper implements java.io.Serializable {
/**
*
*/
private static final long serialVersionUID = 1L;
byte[] content;
String fileName;
int receiverNo;
int senderNo;
public FileHelper(byte[] content, String fileName,int receiverNo,int senderNo){
this.content = content;
this.fileName = fileName;
this.receiverNo = receiverNo;
this.senderNo = senderNo;
}
public byte[] getContent() {
return content;
}
public void setContent(byte[] content) {
this.content = content;
}
public String getFileName() {
return fileName;
}
public void setFileName(String fileName) {
this.fileName = fileName;
}
public int getReceiverNo() {
return receiverNo;
}
public void setReceiverNo(int receiverNo) {
this.receiverNo = receiverNo;
}
public int getSenderNo() {
return senderNo;
}
public void setSenderNo(int senderNo) {
this.senderNo = senderNo;
}
}