Java Null Value Convert convertNull2ZeroString(String value)

Here you can find the source of convertNull2ZeroString(String value)

Description

convert Null Zero String

License

Apache License

Declaration

protected static String convertNull2ZeroString(String value) 

Method Source Code

//package com.java2s;
//License from project: Apache License 

public class Main {
    protected static String convertNull2ZeroString(String value) {
        if (value == null) {
            return "";
        } else {/*from www  . j ava 2 s .  co m*/
            return value;
        }
    }
}

Related

  1. convertNull(Object o)
  2. convertNull(Object source)
  3. convertNullableString(Object object)
  4. convertNullString2Empty(Object str)
  5. convertNullToBlank(String s)
  6. convertNullToEmptyStr(String inObj)