org.activemath.omdocjdom.index
Class AMSearchUtilities

java.lang.Object
  extended by org.activemath.omdocjdom.index.AMSearchUtilities

public class AMSearchUtilities
extends Object


Constructor Summary
AMSearchUtilities()
           
 
Method Summary
static Iterator computeSupportedLanguages()
          Uses the manager-properties to return the list of supported languages.
static Iterator computeSupportedLanguages(String first)
          Returns an iterator that puts the language in parameter at first.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AMSearchUtilities

public AMSearchUtilities()
Method Detail

computeSupportedLanguages

public static Iterator computeSupportedLanguages()
Uses the manager-properties to return the list of supported languages.

Returns:
the languages defined by the configuration that are supported.

computeSupportedLanguages

public static Iterator computeSupportedLanguages(String first)
Returns an iterator that puts the language in parameter at first.

Parameters:
first - the language that should be first
Returns:
the same as computeSupportedLanguages() but with the first being the desired one.