Android String to Int Convert isNullOrWhiteSpace(final String string)

Here you can find the source of isNullOrWhiteSpace(final String string)

Description

is Null Or White Space

Declaration

public static boolean isNullOrWhiteSpace(final String string) 

Method Source Code

//package com.java2s;

public class Main {
    public static boolean isNullOrWhiteSpace(final String string) {
        return string == null || string.length() == 0
                || string.trim().length() == 0;
    }/*from w ww  . ja v  a 2 s.c  om*/
}

Related

  1. isInt(final String chaineToTest)
  2. isInteger(String string)
  3. getValueOfSafely(String stringToConvert, int defaultValue)
  4. toInt(String str, int defValue)
  5. toInt(Object obj)
  6. isNum(String s)
  7. isNumber(String str)
  8. isNumber(String str)
  9. isNumber(String str)