Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History
79 lines (63 loc) · 1.76 KB

File metadata and controls

79 lines (63 loc) · 1.76 KB
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
package decodepcode;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
public class CONTobject implements PeopleToolsObject {
String contName, contFmt, lastChangedBy;
int altContNum, contType, compAlg, seqNo;
Date lastChanged;
String languageCd;
List<byte[]> contDataArrays = new ArrayList<byte[]>();
public CONTobject(String contName, String contFmt, String lastChangedBy, int altContNum, int contType, int compAlg, int seqNo,
String languageCd, Date lastChanged) {
super();
this.contName = contName;
this.contFmt = contFmt;
this.lastChangedBy = lastChangedBy;
this.altContNum = altContNum;
this.contType = contType;
this.compAlg = compAlg;
this.seqNo = seqNo;
this.languageCd = languageCd;
this.lastChanged = lastChanged;
}
public void addToContDataArrays(int seqNo, byte[] contDataBytes) throws IOException {
this.seqNo = seqNo;
if (contType == 4){
String contData = new String(contDataBytes, "UnicodeLittleUnmarked");
contDataArrays.add(contData.getBytes());
} else {
contDataArrays.add(contDataBytes);
}
}
public byte[] getContDataBytes() {
ByteArrayOutputStream os = new ByteArrayOutputStream();
for (byte[] b : contDataArrays) {
os.write(b, 0, b.length);
}
return os.toByteArray();
}
public String[] getKeys() {
// TODO Auto-generated method stub
return null;
}
public int[] getKeyTypes() {
// TODO Auto-generated method stub
return null;
}
public int getPeopleCodeType() {
return -1;
}
public Date getLastChangedDtTm() {
return lastChanged;
}
public String getLastChangedBy() {
return lastChangedBy;
}
public String getSource() {
// TODO Auto-generated method stub
return null;
}
}
Morty Proxy This is a proxified and sanitized view of the page, visit original site.