Package org.exoplatform.social.common
Class Utils
java.lang.Object
org.exoplatform.social.common.Utils
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringcleanString(String str) Utility for cleaning space namestatic int[]parseDimension(String size) static StringAs the similarity is provided in the search term, we need to extract the keyword that user enter in the search formstatic StringFilter all invalid character (anything except word, number, space and search wildcard) from Space search conditional.
-
Method Details
-
processUnifiedSearchCondition
As the similarity is provided in the search term, we need to extract the keyword that user enter in the search form- Parameters:
input- the search value include the similarity- Returns:
- the search condition after process
-
removeSpecialCharacterInSpaceFilter
Filter all invalid character (anything except word, number, space and search wildcard) from Space search conditional.- Parameters:
input- String- Returns:
- Since:
- 1.2.2
-
cleanString
Utility for cleaning space name- Parameters:
str-- Returns:
- cleaned string
-
parseDimension
-