Revision 39076
Added by Antonis Lempesis over 8 years ago
BudgetFile.java | ||
---|---|---|
7 | 7 |
*/ |
8 | 8 |
public class BudgetFile implements IsSerializable { |
9 | 9 |
|
10 |
private String contentType;
|
|
11 |
private byte[] content;
|
|
10 |
private String contentType;
|
|
11 |
private byte[] content;
|
|
12 | 12 |
|
13 |
public BudgetFile(String contentType, byte[] content) {
|
|
14 |
this.contentType = contentType;
|
|
15 |
this.content = content;
|
|
16 |
}
|
|
13 |
public BudgetFile(String contentType, byte[] content) {
|
|
14 |
this.contentType = contentType;
|
|
15 |
this.content = content;
|
|
16 |
}
|
|
17 | 17 |
|
18 |
public BudgetFile() {
|
|
19 |
}
|
|
18 |
public BudgetFile() {
|
|
19 |
}
|
|
20 | 20 |
|
21 |
public String getContentType() {
|
|
22 |
return contentType;
|
|
23 |
}
|
|
21 |
public String getContentType() {
|
|
22 |
return contentType;
|
|
23 |
}
|
|
24 | 24 |
|
25 |
public void setContentType(String contentType) {
|
|
26 |
this.contentType = contentType;
|
|
27 |
}
|
|
25 |
public void setContentType(String contentType) {
|
|
26 |
this.contentType = contentType;
|
|
27 |
}
|
|
28 | 28 |
|
29 |
public byte[] getContent() {
|
|
30 |
return content;
|
|
31 |
}
|
|
29 |
public byte[] getContent() {
|
|
30 |
return content;
|
|
31 |
}
|
|
32 | 32 |
|
33 |
public void setContent(byte[] content) {
|
|
34 |
this.content = content;
|
|
35 |
}
|
|
33 |
public void setContent(byte[] content) {
|
|
34 |
this.content = content;
|
|
35 |
}
|
|
36 | 36 |
} |
Also available in: Unified diff
reformatted code