com.sixestates.utils.StringUtils Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of idp-sdk Show documentation
Show all versions of idp-sdk Show documentation
A Java SDK for communicating with the 6Estates Intelligent Document Processing(IDP) Platform
package com.sixestates.utils;
/**
* @author kechen, 06/08/24.
*/
public class StringUtils {
public static Boolean isNotEmpty(String str){
if (str == null || str.length() == 0) {
return false;
}
return true;
}
public static boolean equals(String str1, String str2) {
return str1 == null ? str2 == null : str1.equals(str2);
}
}