Object SQLUtils

  • All Implemented Interfaces:

    
    public class SQLUtils
    
                        
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final String sanitizeUrl(String url) Sanitize an url before it can be used in an X-SQL, e.g.
      final String unsanitizeUrl(String sanitizedUrl)
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • sanitizeUrl

         final String sanitizeUrl(String url)

        Sanitize an url before it can be used in an X-SQL, e.g. https://www.amazon.com/s?k=Baby+Girls'+One-Piece+Footies&rh=node:2475809011&page=1 is sanitized to be https://www.amazon.com/s?k=Baby+Girls^27+One-Piece+Footies&rh=node:2475809011&page=1