Class Lowercase


  • public final class Lowercase
    extends java.lang.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 Summary

      Constructors 
      Constructor Description
      Lowercase()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String toLowerCase​(java.lang.String in)
      Return a lowercased version of the given string.
      static java.lang.String toUpperCase​(java.lang.String in)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Lowercase

        public Lowercase()
    • Method Detail

      • toLowerCase

        public static java.lang.String toLowerCase​(java.lang.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 java.lang.String toUpperCase​(java.lang.String in)