260327_01_ENH: 프로젝트 구조 리펙토링 및 README.md 갱신

This commit is contained in:
2026-03-27 11:01:47 +09:00
parent e72d061e58
commit 905906b923
65 changed files with 531 additions and 1581 deletions

View File

@@ -0,0 +1,22 @@
package com.kri.common.feature.util;
public final class StringUtil {
private StringUtil() {
}
/** null 또는 "" 인지 */
public static boolean isNullOrEmpty(String s) {
return s == null || s.isEmpty();
}
/** null 또는 공백(whitespace)만 있는지 ("" 포함) - Java 11+ */
public static boolean isNullOrBlank(String s) {
return s == null || s.isBlank();
}
/** (옵션) 반대 버전도 같이 두면 실무에서 더 편함 */
public static boolean hasText(String s) {
return s != null && !s.isBlank();
}
}