Liferay 6.2-ce-ga5

com.liferay.portal.search
Class NGramHolderBuilderImpl

java.lang.Object
  extended by com.liferay.portal.search.NGramHolderBuilderImpl
All Implemented Interfaces:
NGramHolderBuilder

public class NGramHolderBuilderImpl
extends Object
implements NGramHolderBuilder


Constructor Summary
NGramHolderBuilderImpl()
           
 
Method Summary
 NGramHolder buildNGramHolder(String input)
           
 NGramHolder buildNGramHolder(String input, int nGramMaxLength)
           
 NGramHolder buildNGramHolder(String input, int nGramMinLength, int nGramMaxLength)
           
protected  int getNGramMaxLength(int length)
           
protected  int getNGramMinLength(int length)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NGramHolderBuilderImpl

public NGramHolderBuilderImpl()
Method Detail

buildNGramHolder

public NGramHolder buildNGramHolder(String input)
                             throws SearchException
Specified by:
buildNGramHolder in interface NGramHolderBuilder
Throws:
SearchException

buildNGramHolder

public NGramHolder buildNGramHolder(String input,
                                    int nGramMaxLength)
                             throws SearchException
Specified by:
buildNGramHolder in interface NGramHolderBuilder
Throws:
SearchException

buildNGramHolder

public NGramHolder buildNGramHolder(String input,
                                    int nGramMinLength,
                                    int nGramMaxLength)
                             throws SearchException
Specified by:
buildNGramHolder in interface NGramHolderBuilder
Throws:
SearchException

getNGramMaxLength

protected int getNGramMaxLength(int length)

getNGramMinLength

protected int getNGramMinLength(int length)

Liferay 6.2-ce-ga5