Java Code Examples for org.apache.commons.lang3.StringUtils.stripToNull()

The following are Jave code examples for showing how to use stripToNull() of the org.apache.commons.lang3.StringUtils class. You can vote up the examples you like. Your votes will be used in our system to get more good examples.
Example 1
Project: spring2ts   File:   Source Code and License Vote up 5 votes
public ServiceParamProps(Multimap<String, String> map) { = StringUtils.stripToNull(get(map, "name"));
    if(StringUtils.isBlank( = StringUtils.stripToNull(get(map, "value"));
    this.required = getBooleanValue(get(map, "required"));
    this.pathVar = StringUtils.stripToNull(get(map, "pathVar"));
    this.defaultValue = StringUtils.stripToNull(get(map, "defaultValue"));