Class URLParameterDecoder

java.lang.Object
com.helger.commons.url.URLParameterDecoder
All Implemented Interfaces:
IDecoder<String,String>

public class URLParameterDecoder extends Object implements IDecoder<String,String>
Decoder for URL parameters
Author:
Philip Helger
  • Constructor Details

    • URLParameterDecoder

      public URLParameterDecoder(@Nonnull Charset aCharset)
  • Method Details

    • getCharset

      @Nonnull public final Charset getCharset()
      Returns:
      The charset passed in the constructor. Never null.
      Since:
      9.4.1
    • getDecoded

      @Nullable public String getDecoded(@Nullable String sInput)
      Description copied from interface: IDecoder
      Decode the passed source object
      Specified by:
      getDecoded in interface IDecoder<String,String>
      Parameters:
      sInput - The source object to be decoded
      Returns:
      The decoded value.