palio.modules
Class SearchUtils

java.lang.Object
  extended by palio.modules.core.Module
      extended by palio.modules.SearchUtils
All Implemented Interfaces:
palio.modules.core.CurrentModuleDataKeys

public class SearchUtils
extends palio.modules.core.Module

Moduł zawiera funkcje użyteczne przy przeszukiwaniu tekstu.

Moduł jest dostępny w każdej instancji jPalio.

Version:
1.0.1
Author:
Leszek Leszczyński

Field Summary
 
Fields inherited from interface palio.modules.core.CurrentModuleDataKeys
DESIGNER_ACTIONS_BUFFER, HTML_FORM_BUILDER, HTML_MAP_BUILDER, HTML_MENU_BUILDER, HTML_TOOLTIPS_BUFFER, ITEXT_DOCUMENT, MAIL_MESSAGE, XLS_DOCUMENT, XML_DOCUMENT
 
Constructor Summary
SearchUtils(palio.Instance instance, java.util.Properties parameters)
           
 
Method Summary
static java.lang.Object[] dmSoundex(java.lang.String MyStr)
          Soundex Daitch- Mokotoff.
 java.lang.String getVersion()
          Returns the module version
static java.lang.Long levenshtein(java.lang.String s, java.lang.String t)
          Odległość Levenshteina.
static void main(java.lang.String[] args)
           
 
Methods inherited from class palio.modules.core.Module
getConfigParam, getDescription, getModuleTranslation
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SearchUtils

public SearchUtils(palio.Instance instance,
                   java.util.Properties parameters)
Method Detail

getVersion

public java.lang.String getVersion()
Description copied from class: palio.modules.core.Module
Returns the module version

Specified by:
getVersion in class palio.modules.core.Module

levenshtein

public static java.lang.Long levenshtein(java.lang.String s,
                                         java.lang.String t)
Odległość Levenshteina.


dmSoundex

public static java.lang.Object[] dmSoundex(java.lang.String MyStr)
Soundex Daitch- Mokotoff.

Parameters:
MyStr - ciąg znaków, dla którego obliczany jest kod.
Returns:
kod soundex

main

public static void main(java.lang.String[] args)