-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathReceived_Mail.java
More file actions
47 lines (37 loc) · 1002 Bytes
/
Received_Mail.java
File metadata and controls
47 lines (37 loc) · 1002 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
47
import java.io.Serializable;
public class Received_Mail implements Serializable {
private String date;
private String from;
private String subject;
private String content;
public Received_Mail(String date, String from, String subject, String content) {
this.date = date;
this.from = from;
this.subject = subject;
this.content = content;
}
public String getDate() {
return date;
}
public void setDate(String date) {
this.date = date;
}
public String getFrom() {
return from;
}
public void setFrom(String from) {
this.from = from;
}
public String getSubject() {
return subject;
}
public void setSubject(String subject) {
this.subject = subject;
}
public String getContent() {
return content;
}
public void setContent(String content) {
this.content = content;
}
}