org.faktorips.runtime.internal
Class IpsStringUtils
java.lang.Object
org.faktorips.runtime.internal.IpsStringUtils
public class IpsStringUtils
- extends Object
A collection of utility methods for Strings. We don't use a class library like apache-commons
here to minimize the dependencies for the generated code.
|
Method Summary |
static boolean |
isBlank(String s)
Returns true if s is either null, the empty string or a string that only
contains whitespaces, otherwise false. |
static boolean |
isEmpty(String s)
Returns true if s is either null or the empty string, otherwise
false. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EMPTY
public static final String EMPTY
- See Also:
- Constant Field Values
isEmpty
public static final boolean isEmpty(String s)
- Returns
true if s is either null or the empty string, otherwise
false.
isBlank
public static final boolean isBlank(String s)
- Returns
true if s is either null, the empty string or a string that only
contains whitespaces, otherwise false.
Copyright © 2015. All rights reserved.