isNotEmpty 추가
This commit is contained in:
parent
844fa12cb7
commit
6c64f0b3a9
@ -40,6 +40,16 @@ public class StringUtil extends EgovStringUtil {
|
||||
return str == null || str.trim().length() == 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Null이 아니고 빈문자열(공백 포함)이 아닌 일반 문자가 존재하는 , true를 리턴한다.
|
||||
*
|
||||
* @param str
|
||||
* @return
|
||||
*/
|
||||
public static boolean isNotEmpty(String str) {
|
||||
return !isEmpty(str);
|
||||
}
|
||||
|
||||
/**
|
||||
* 문자열을 정수형으로 변환하여 리턴한다. 만일 문자열이 null 또는 빈 문자열인 경우, -1을 리턴한다.
|
||||
*
|
||||
|
||||
Loading…
Reference in New Issue
Block a user