1 /***
2 *
3 */
4 package hu.elte.tribus.util;
5
6 import java.io.IOException;
7
8 import org.apache.lucene.store.Directory;
9 import org.apache.lucene.store.IndexInput;
10 import org.apache.lucene.store.IndexOutput;
11 import org.apache.lucene.store.Lock;
12
13 /***
14 * @author kocka
15 *
16 */
17 public class TransactionalFilesystemDirectory extends Directory {
18
19
20
21
22 @Override
23 public void close() throws IOException {
24
25
26 }
27
28
29
30
31 @Override
32 public IndexOutput createOutput(String arg0) throws IOException {
33
34 return null;
35 }
36
37
38
39
40 @Override
41 public void deleteFile(String arg0) throws IOException {
42
43
44 }
45
46
47
48
49 @Override
50 public boolean fileExists(String arg0) throws IOException {
51
52 return false;
53 }
54
55
56
57
58 @Override
59 public long fileLength(String arg0) throws IOException {
60
61 return 0;
62 }
63
64
65
66
67 @Override
68 public long fileModified(String arg0) throws IOException {
69
70 return 0;
71 }
72
73
74
75
76 @Override
77 public String[] list() throws IOException {
78
79 return null;
80 }
81
82
83
84
85 @Override
86 public Lock makeLock(String arg0) {
87
88 return null;
89 }
90
91
92
93
94 @Override
95 public IndexInput openInput(String arg0) throws IOException {
96
97 return null;
98 }
99
100
101
102
103 @Override
104 public void renameFile(String arg0, String arg1) throws IOException {
105
106
107 }
108
109
110
111
112 @Override
113 public void touchFile(String arg0) throws IOException {
114
115
116 }
117
118 }