Java Object NVL nvl(String s)

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

Description

nvl

License

Open Source License

Declaration

public static String nvl(String s) 

Method Source Code

//package com.java2s;
/*******************************************************************************
 * Copyright (c) 2008-2010 Sonatype, Inc.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:/*  w  ww  . j  a  va  2s.  c  o  m*/
 *      Sonatype, Inc. - initial API and implementation
 *******************************************************************************/

public class Main {
    public static String nvl(String s) {
        return s == null ? "" : s; //$NON-NLS-1$
    }
}

Related

  1. nvl(S obj, U nullObject)
  2. nvl(String instr, String defaultValue)
  3. nvl(String instr, String defaultValue)
  4. nvl(String pArg1, String pArg2)
  5. nvl(String pValue)
  6. nvl(String s, String def)
  7. NVL(String s, String valorPorDefecto)
  8. NVL(String source, String def)
  9. nvl(String source, String defaultString)