- TextUtil --- 封装文本
package com.xm.mygps8;
/*
* 项 目 名: MyGPS8
* 包 名: com.xm.mygps8
* 文 件 名: TextUtil
* 创 建 者: LW
* 创建时间: 2018/7/2 0002 17:21
* 描 述: 封装文本工具
*
*/
public class TextUtil {
public static boolean isEmpty(CharSequence str) {
if (str == null || str.length() == 0)
return true;
else
return false;
}
}