Java Null Value Convert convertNullToEmptyStr(String inObj)

Here you can find the source of convertNullToEmptyStr(String inObj)

Description

convert Null To Empty Str

License

Open Source License

Declaration

public static String convertNullToEmptyStr(String inObj) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

public class Main {
    public static String convertNullToEmptyStr(String inObj) {
        if (inObj == null) {
            return "";
        }//  w  w  w.  j  ava  2s.co  m
        return inObj;
    }
}

Related

  1. convertNull(Object source)
  2. convertNull2ZeroString(String value)
  3. convertNullableString(Object object)
  4. convertNullString2Empty(Object str)
  5. convertNullToBlank(String s)
  6. convertNullToEmptyString(Object raw)
  7. convertNullToEmptyString(String s)
  8. convertNullToEmptyString(String value)
  9. convertNullToFalse(Boolean b)