Android Open Source - ExpertAndroid String Utils

From Project

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.

Java Source Code

package com.iuriio.demos.expertandroid.ch6forms;
//  www.ja  v a2s.  c  o  m
 * Created by iuriio on 10/24/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("");

Java Source Code List