Java String Quote quoteStr(Object o)

Here you can find the source of quoteStr(Object o)

Description

quote Str

License

Open Source License

Declaration

public static String quoteStr(Object o) 

Method Source Code

//package com.java2s;

public class Main {
    public static String quoteStr(Object o) {
        return "'" + o + "'";
    }/*from   www  . jav a 2s . com*/
}

Related

  1. quoteSpecialCharacters(final String oldString)
  2. quoteSQL(String string)
  3. quoteSqlIdentifier(String identifier)
  4. quoteSqlIdentifier(String name)
  5. quoteSQLString(String s)
  6. quoteStrictOccurrences(final String textToMarkup, final String filter)
  7. quoteString(final String input)
  8. quoteString(final String str)
  9. quoteString(final String string)