Class URLEncoder


  • public class URLEncoder
    extends java.lang.Object
    Wrapper of URLEncoder Intends to replace java.net.URLEncoder.encode(String s, "UTF-8") avoiding UnsupportedEncodingException handling. StandardCharsets are guaranteed to be available on every implementation of the Java platform.
    Since:
    1.7
    • Constructor Summary

      Constructors 
      Constructor Description
      URLEncoder()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String encode​(java.lang.String s)  
      • Methods inherited from class java.lang.Object

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

      • URLEncoder

        public URLEncoder()
    • Method Detail

      • encode

        public static java.lang.String encode​(java.lang.String s)