Here you can find the source of convertNullToEmptyStr(String inObj)
public static String convertNullToEmptyStr(String inObj)
//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; } }