1 package net.sf.jpkgmk.prototype;
2
3
4
5
6
7
8
9 public class PrototypeEntryBlockDevice extends AbstractPrototypeEntryDevice {
10
11
12
13
14
15 public PrototypeEntryBlockDevice(String entryPath)
16 {
17 this(null, null, entryPath, null, null, null, null, null, null);
18 }
19
20
21
22
23
24
25
26
27
28
29
30
31 public PrototypeEntryBlockDevice(Integer part, String fileClass, String entryPath, Integer major, Integer minor, String mode, String owner, String group, PrototypeEntryCommandDefault entryCommandDefault)
32 {
33 super(part, PrototypeEntryType.B, fileClass, entryPath, major, minor, mode, owner, group, entryCommandDefault);
34 }
35
36
37
38 public static class PrototypeEntryBlockDeviceParser extends AbstractPrototypeEntryDeviceParser
39 {
40
41 @Override
42 protected AbstractPrototypeEntryDevice createEntry(String fileClass,
43 String entryPath, Integer major, Integer minor, String mode,
44 String owner, String group,
45 PrototypeEntryCommandDefault entryCommandDefault) {
46 PrototypeEntryBlockDevice entry = new PrototypeEntryBlockDevice(null, fileClass, entryPath, major, minor, mode, owner, group, entryCommandDefault);
47 return entry;
48 }
49
50
51 }
52
53
54 }