Terrier IR Platform
2.2.1

uk.ac.gla.terrier.terms
Class DumpTerm

java.lang.Object
  extended by uk.ac.gla.terrier.terms.DumpTerm
All Implemented Interfaces:
TermPipeline

public class DumpTerm
extends java.lang.Object
implements TermPipeline

Useful development phase TermPipeline object that allows prints every term that passes through it to System.err


Constructor Summary
DumpTerm(TermPipeline next)
          Construct a new DumpTerm objecy
 
Method Summary
 void processTerm(java.lang.String t)
          Displays the given on STDERR, then passes onto next pipeline object.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DumpTerm

public DumpTerm(TermPipeline next)
Construct a new DumpTerm objecy

Method Detail

processTerm

public void processTerm(java.lang.String t)
Displays the given on STDERR, then passes onto next pipeline object.

Specified by:
processTerm in interface TermPipeline
Parameters:
t - String the term to pass onto next pipeline object

Terrier IR Platform
2.2.1

Terrier Information Retrieval Platform 2.2.1. Copyright 2004-2008 University of Glasgow