Class Utils
java.lang.Object
org.exoplatform.social.common.Utils
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringcleanString(String str) Utility for cleaning space namestatic booleanisOriginalFileAsked(String mimeType, String imageDimensions) static 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
-
removeSpecialCharacterInSpaceFilter
-
cleanString
-
isOriginalFileAsked
- Parameters:
mimeType- type of the attached fileimageDimensions- size asked, as widthxheight- Returns:
- true when the file as stored answers the request: no size is asked, one of its dimensions is zero or the file is no image
-
parseDimension
-