1
2 package org.galagosearch.tupleflow;
3
4 import java.io.IOException;
5
6 /***
7 *
8 * @author trevor
9 */
10 public class FakeParameters implements TupleFlowParameters {
11 Parameters parameters;
12
13 public FakeParameters(Parameters p) {
14 this.parameters = p;
15 }
16
17 public Parameters getXML() {
18 return parameters;
19 }
20
21 public Counter getCounter(String name) {
22 return null;
23 }
24
25 public TypeReader getTypeReader(String specification) throws IOException {
26 return null;
27 }
28
29 public Processor getTypeWriter(String specification) throws IOException {
30 return null;
31 }
32
33 public boolean readerExists(String specification, String className, String[] order) {
34 return false;
35 }
36
37 public boolean writerExists(String specification, String className, String[] order) {
38 return false;
39 }
40 }