Java String Quote quote(Object aObject)

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

Description

quote

License

Open Source License

Declaration

static String quote(Object aObject) 

Method Source Code

//package com.java2s;

public class Main {
    private static final String SINGLE_QUOTE = "'";

    static String quote(Object aObject) {
        return SINGLE_QUOTE + String.valueOf(aObject) + SINGLE_QUOTE;
    }/*w w w  .jav  a  2s . c  om*/
}

Related

  1. quote(final String str)
  2. quote(final String sValue)
  3. quote(final String value)
  4. quote(final String value)
  5. quote(final String value)
  6. quote(Object s)
  7. quote(Object s)
  8. quote(Object value)
  9. quote(String content)