Class Lowercase


  • public final class Lowercase
    extends Object
    The lower casing method to use in Vespa when doing string processing of data which is not to be handled as natural language data, e.g. field names or configuration paramaters.
    Author:
    Steinar Knutsen
    • Constructor Detail

      • Lowercase

        public Lowercase()
    • Method Detail

      • toLowerCase

        public static String toLowerCase​(String in)
        Return a lowercased version of the given string. Since this is language independent, this is more of a case normalization operation than lowercasing. Vespa code should never do lowercasing with implicit locale.
        Parameters:
        in - a string to lowercase
        Returns:
        a string containing only lowercase character
      • toUpperCase

        public static String toUpperCase​(String in)