Package 

Class QuoteUtil


  • 
    public final class QuoteUtil
    
                        

    Util class for dealing with Json format

    • Method Summary

      Modifier and Type Method Description
      static String convert(String text) Reads the input text with possible single quotes as delimitersand returns a String correctly formatted.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • convert

         static String convert(String text)

        Reads the input text with possible single quotes as delimitersand returns a String correctly formatted.

        For convenience, single quotes as well as double quotesare allowed to delimit strings. If single quotes areused, any quotes, single or double, in the string must beescaped (prepend with a '\').

        Parameters:
        text - the input data