Java Null Value Convert convertNullToBlank(String s)

Here you can find the source of convertNullToBlank(String s)

Description

convert Null To Blank

License

Open Source License

Declaration

public static String convertNullToBlank(String s) 

Method Source Code

//package com.java2s;

public class Main {

    public static String convertNullToBlank(String s) {
        return null == s ? "" : s;
    }//from   w  w  w .j av a 2  s .  co  m
}

Related

  1. convertNull(Object o)
  2. convertNull(Object source)
  3. convertNull2ZeroString(String value)
  4. convertNullableString(Object object)
  5. convertNullString2Empty(Object str)
  6. convertNullToEmptyStr(String inObj)
  7. convertNullToEmptyString(Object raw)
  8. convertNullToEmptyString(String s)
  9. convertNullToEmptyString(String value)