Here you can find the source of quote(final String sValue)
Parameter | Description |
---|---|
sValue | String |
static public final String quote(final String sValue)
//package com.java2s; /*/*from w w w.j av a 2 s.c o m*/ * Copyright 2005-2020 GreenTube Team All rights reserved. * Support: Huxg * License: CND team license */ public class Main { /** * * * @param sValue * String * * @return String */ static public final String quote(final String sValue) { if (sValue == null) return sValue; else return "'" + sValue + "'"; } }