Back to project page ExpertAndroid.
The source code is released under:
MIT License
If you think the Android project ExpertAndroid listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.iuriio.demos.expertandroid.ch13parsesimple; /* w w w. ja v a 2 s . co m*/ /** * Created by iuriio on 10/30/13. */ public class StringUtils { public static boolean invalidString(String s) { return !validString(s); } public static boolean validString(String s) { return s != null && !s.trim().equalsIgnoreCase(""); } }