org.terrier.applications
Class TRECQuerying.NullOutputFormat

java.lang.Object
  extended by org.terrier.applications.TRECQuerying.NullOutputFormat
All Implemented Interfaces:
TRECQuerying.OutputFormat
Enclosing class:
TRECQuerying

public static class TRECQuerying.NullOutputFormat
extends java.lang.Object
implements TRECQuerying.OutputFormat

An OutputFormat instance which does nothing.


Constructor Summary
TRECQuerying.NullOutputFormat(Index i)
          Created a new NullOuputFormat
 
Method Summary
 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
 

Constructor Detail

TRECQuerying.NullOutputFormat

public TRECQuerying.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 interface TRECQuerying.OutputFormat
Throws:
java.io.IOException


Terrier 3.5. Copyright © 2004-2011 University of Glasgow