Back to project page morpho.
The source code is released under:
Apache License
If you think the Android project morpho 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.morpho.android.util; //from ww w .j a va2 s. c om /** * Metodos y constantes genricas de la clase String. * * @author Daniel Pedraza-Arcega * @since 1.0 */ public final class Strings { /** Un objeto String vacio. */ public static final String EMPTY = ""; /** NO INVOCAR. */ private Strings() { throw new IllegalAccessError("This class cannot be instantiated nor extended"); } /** * @param str el objeto String a provar. * @return si es o no vacio (sin texto con espacios) o {@code null}. */ public static boolean isNullOrBlank(String str) { return str == null || str.trim().length() == 0; } }