no.sesat.search.run
Class AbstractRunningQuery

java.lang.Object
  extended by no.sesat.search.run.AbstractRunningQuery
All Implemented Interfaces:
RunningQuery
Direct Known Subclasses:
RunningQueryImpl

public abstract class AbstractRunningQuery
extends Object
implements RunningQuery

Version:
$Id$

Nested Class Summary
 
Nested classes/interfaces inherited from interface no.sesat.search.run.RunningQuery
RunningQuery.Context
 
Field Summary
protected  RunningQuery.Context context
           
 
Constructor Summary
protected AbstractRunningQuery(RunningQuery.Context cxt)
          Creates a new instance of AbstractRunningQuery
 
Method Summary
protected static String trimDuplicateSpaces(String query)
          Remote duplicate spaces.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface no.sesat.search.run.RunningQuery
run
 

Field Detail

context

protected final RunningQuery.Context context
Constructor Detail

AbstractRunningQuery

protected AbstractRunningQuery(RunningQuery.Context cxt)
Creates a new instance of AbstractRunningQuery

Method Detail

trimDuplicateSpaces

protected static String trimDuplicateSpaces(String query)
Remote duplicate spaces. Leading and trailing spaces will be preserved

Parameters:
query - that may conaint duplicate spaces
Returns:
string with duplicate spaces removed


Copyright © 2005-2009 Schibsted ASA. All Rights Reserved.