Java String Quote quote(Object value)

Here you can find the source of quote(Object value)

Description

quote

License

Open Source License

Declaration

public static String quote(Object value) 

Method Source Code

//package com.java2s;

public class Main {
    public static String quote(Object value) {
        return "\"" + value + "\"";
    }//from  ww w . j  a v a2 s  . c  o  m

    static String quote(String value) {
        return "\"" + value + "\"";
    }
}

Related

  1. quote(final String value)
  2. quote(final String value)
  3. quote(Object aObject)
  4. quote(Object s)
  5. quote(Object s)
  6. quote(String content)
  7. quote(String content, String quoteMark)
  8. quote(String content, String quoteMark)
  9. quote(String entityName)