Class NullOutputFormat
- java.lang.Object
-
- org.terrier.structures.outputformat.NullOutputFormat
-
- All Implemented Interfaces:
OutputFormat
public class NullOutputFormat extends java.lang.Object implements OutputFormat
An OutputFormat instance which does nothing.
-
-
Constructor Summary
Constructors Constructor Description NullOutputFormat(Index i)
Created a new NullOuputFormat
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
printResults(java.io.PrintWriter pw, SearchRequest q, java.lang.String method, java.lang.String iteration, int numberOfResults)
Null implementation - does nothing.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.terrier.structures.outputformat.OutputFormat
contentType
-
-
-
-
Constructor Detail
-
NullOutputFormat
public NullOutputFormat(Index i)
Created a new NullOuputFormat
-
-
Method Detail
-
printResults
public void printResults(java.io.PrintWriter pw, SearchRequest q, java.lang.String method, java.lang.String iteration, int numberOfResults) throws java.io.IOException
Null implementation - does nothing.- Specified by:
printResults
in interfaceOutputFormat
- Throws:
java.io.IOException
-
-