View Javadoc

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  	/* (non-Javadoc)
20  	 * @see org.apache.lucene.store.Directory#close()
21  	 */
22  	@Override
23  	public void close() throws IOException {
24  		// TODO Auto-generated method stub
25  
26  	}
27  
28  	/* (non-Javadoc)
29  	 * @see org.apache.lucene.store.Directory#createOutput(java.lang.String)
30  	 */
31  	@Override
32  	public IndexOutput createOutput(String arg0) throws IOException {
33  		// TODO Auto-generated method stub
34  		return null;
35  	}
36  
37  	/* (non-Javadoc)
38  	 * @see org.apache.lucene.store.Directory#deleteFile(java.lang.String)
39  	 */
40  	@Override
41  	public void deleteFile(String arg0) throws IOException {
42  		// TODO Auto-generated method stub
43  
44  	}
45  
46  	/* (non-Javadoc)
47  	 * @see org.apache.lucene.store.Directory#fileExists(java.lang.String)
48  	 */
49  	@Override
50  	public boolean fileExists(String arg0) throws IOException {
51  		// TODO Auto-generated method stub
52  		return false;
53  	}
54  
55  	/* (non-Javadoc)
56  	 * @see org.apache.lucene.store.Directory#fileLength(java.lang.String)
57  	 */
58  	@Override
59  	public long fileLength(String arg0) throws IOException {
60  		// TODO Auto-generated method stub
61  		return 0;
62  	}
63  
64  	/* (non-Javadoc)
65  	 * @see org.apache.lucene.store.Directory#fileModified(java.lang.String)
66  	 */
67  	@Override
68  	public long fileModified(String arg0) throws IOException {
69  		// TODO Auto-generated method stub
70  		return 0;
71  	}
72  
73  	/* (non-Javadoc)
74  	 * @see org.apache.lucene.store.Directory#list()
75  	 */
76  	@Override
77  	public String[] list() throws IOException {
78  		// TODO Auto-generated method stub
79  		return null;
80  	}
81  
82  	/* (non-Javadoc)
83  	 * @see org.apache.lucene.store.Directory#makeLock(java.lang.String)
84  	 */
85  	@Override
86  	public Lock makeLock(String arg0) {
87  		// TODO Auto-generated method stub
88  		return null;
89  	}
90  
91  	/* (non-Javadoc)
92  	 * @see org.apache.lucene.store.Directory#openInput(java.lang.String)
93  	 */
94  	@Override
95  	public IndexInput openInput(String arg0) throws IOException {
96  		// TODO Auto-generated method stub
97  		return null;
98  	}
99  
100 	/* (non-Javadoc)
101 	 * @see org.apache.lucene.store.Directory#renameFile(java.lang.String, java.lang.String)
102 	 */
103 	@Override
104 	public void renameFile(String arg0, String arg1) throws IOException {
105 		// TODO Auto-generated method stub
106 
107 	}
108 
109 	/* (non-Javadoc)
110 	 * @see org.apache.lucene.store.Directory#touchFile(java.lang.String)
111 	 */
112 	@Override
113 	public void touchFile(String arg0) throws IOException {
114 		// TODO Auto-generated method stub
115 
116 	}
117 
118 }