|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object hudson.plugins.violations.util.StringUtil
public final class StringUtil
A utility class for strings.
Method Summary | |
---|---|
static boolean |
isBlank(java.lang.String str)
Check if the string is null or all spaces. |
static java.lang.String |
relativePath(java.lang.String self,
java.lang.String other)
Returns a relative path from the self to the other path. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static boolean isBlank(java.lang.String str)
str
- the string to test.
public static java.lang.String relativePath(java.lang.String self, java.lang.String other)
self
- the path to get a relative path from.other
- the path to get a relative path to.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |