Package org.firebirdsql.util
Class StringUtils
- java.lang.Object
- 
- org.firebirdsql.util.StringUtils
 
- 
 @InternalApi public final class StringUtils extends java.lang.Object Helper class for string operations- Author:
- Mark Rotteveel
 
- 
- 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static booleanisNullOrEmpty(java.lang.String value)Checks ifvalueisnullor empty.static java.lang.StringtrimToNull(java.lang.String value)Trimsvalueif non-null, returning the trimmed value, ornullifvaluewasnullor empty after trimming.
 
- 
- 
- 
Method Detail- 
trimToNullpublic static java.lang.String trimToNull(java.lang.String value) Trimsvalueif non-null, returning the trimmed value, ornullifvaluewasnullor empty after trimming.- Parameters:
- value- Value to trim
- Returns:
- Trimmed string value, ornullwhen null, or empty after trim.
- See Also:
- String.trim()
 
 - 
isNullOrEmptypublic static boolean isNullOrEmpty(java.lang.String value) Checks ifvalueisnullor empty.- Parameters:
- value- value to test
- Returns:
- trueif- valueis- nullor emoty,- falsefor non-empty strings
- Since:
- 6
 
 
- 
 
-