1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.vafer.jdeb.ar;
17
18
19
20
21
22
23 public final class ArEntry {
24
25 private final String name;
26 private int userId;
27 private int groupId;
28 private int mode;
29 private long lastModified;
30 private long length;
31
32 public ArEntry(String name, long length) {
33 this(name, length, 0, 0, 33188, System.currentTimeMillis());
34 }
35
36 public ArEntry(String name, long length, int userId, int groupId, int mode, long lastModified) {
37 this.name = name;
38 this.length = length;
39 this.userId = userId;
40 this.groupId = groupId;
41 this.mode = mode;
42 this.lastModified = lastModified;
43 }
44
45 public String getName() {
46 return name;
47 }
48
49 public int getUserId() {
50 return userId;
51 }
52
53 public int getGroupId() {
54 return groupId;
55 }
56
57 public int getMode() {
58 return mode;
59 }
60
61 public long getLastModified() {
62 return lastModified;
63 }
64
65 public long getLength() {
66 return length;
67 }
68 }