Class URLCodec

java.lang.Object
com.helger.commons.codec.URLCodec
All Implemented Interfaces:
IByteArrayCodec, IByteArrayDecoder, IByteArrayEncoder, IByteArrayStreamDecoder, IByteArrayStreamEncoder, ICodec<byte[]>, IDecoder<byte[],byte[]>, IEncoder<byte[],byte[]>

@ThreadSafe public class URLCodec extends Object implements IByteArrayCodec
Encoder and decoder for URL stuff based on RFC 3986.
Author:
Philip Helger
  • Constructor Details

    • URLCodec

      public URLCodec()
      Default constructor with the RFC 3986 printable characters.
    • URLCodec

      public URLCodec(@Nonnull BitSet aPrintableChars)
      Constructor with an arbitrary set of printable characters.
      Parameters:
      aPrintableChars - The printable character BitSet to use. May not be null.
  • Method Details