1 package net.sf.jpkgmk.prototype;
2
3
4
5
6
7
8
9
10
11
12
13 public class PrototypeEntryDirectoryExclusive extends PrototypeEntryDirectory {
14
15
16
17
18
19 public PrototypeEntryDirectoryExclusive(String entryPath)
20 {
21 this(null, null, entryPath, null, null, null, null);
22 }
23
24
25
26
27
28
29
30
31
32
33
34 public PrototypeEntryDirectoryExclusive(Integer part, String fileClass, String entryPath, String perm, String owner, String group, PrototypeEntryCommandDefault entryCommandDefault)
35 {
36 super(part, PrototypeEntryType.X, fileClass, entryPath, null, perm, owner, group, entryCommandDefault);
37
38
39 if(entryPath == null) {
40 throw new NullPointerException("The parameter 'entryPath' must not be null");
41 }
42 }
43
44
45
46 public static class PrototypeEntryDirectoryExclusiveParser extends PrototypeEntryDirectoryParser implements PrototypeEntryParser
47 {
48
49 public PrototypeEntryDirectoryExclusiveParser()
50 {
51 super();
52 }
53
54 @Override
55 protected PrototypeEntry createPrototypeEntry(Integer part, String fileClass,
56 String path, String mode, String owner, String group,
57 PrototypeEntryCommandDefault entryCommandDefault) {
58 PrototypeEntryDirectoryExclusive entry = new PrototypeEntryDirectoryExclusive(part, fileClass, path, mode, owner, group, entryCommandDefault);
59 return entry;
60 }
61
62 }
63 }