Package com.yahoo.text
Class Lowercase
- java.lang.Object
-
- com.yahoo.text.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 Summary
Constructors Constructor Description Lowercase()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
toLowerCase(String in)
Return a lowercased version of the given string.static String
toUpperCase(String in)
-
-
-
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
-
-