net.ontopia.topicmaps.classify
Class SpecialCharNormalizer

java.lang.Object
  extended by net.ontopia.topicmaps.classify.SpecialCharNormalizer
All Implemented Interfaces:
DelimiterTrimmerIF, TermNormalizerIF

public class SpecialCharNormalizer
extends java.lang.Object
implements TermNormalizerIF, DelimiterTrimmerIF

INTERNAL:


Constructor Summary
SpecialCharNormalizer()
           
SpecialCharNormalizer(char[] _prechars, char[] _postchars)
           
SpecialCharNormalizer(java.lang.String _prechars, java.lang.String _postchars)
           
 
Method Summary
 java.lang.String normalize(java.lang.String term)
           
 int trimEnd(java.lang.String token)
           
 int trimStart(java.lang.String token)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpecialCharNormalizer

public SpecialCharNormalizer()

SpecialCharNormalizer

public SpecialCharNormalizer(java.lang.String _prechars,
                             java.lang.String _postchars)

SpecialCharNormalizer

public SpecialCharNormalizer(char[] _prechars,
                             char[] _postchars)
Method Detail

normalize

public java.lang.String normalize(java.lang.String term)
Specified by:
normalize in interface TermNormalizerIF

trimStart

public int trimStart(java.lang.String token)
Specified by:
trimStart in interface DelimiterTrimmerIF

trimEnd

public int trimEnd(java.lang.String token)
Specified by:
trimEnd in interface DelimiterTrimmerIF


Copyright © 2000-2012 Ontopia.