com.buck.common.codec
Class URLEncoded
java.lang.Object
com.buck.common.codec.Codec
com.buck.common.codec.URLEncoded
- All Implemented Interfaces:
- Comparable<Codec>
public class URLEncoded
- extends Codec
Codec for the www-form-urlencoded encoding scheme. This encoding scheme
should not be used to encode URI; instead users should use the PercentEncoded class for encoding URI components.
This codec is meant to be a replacement for standard Java classes URLEncoder and URLDecoder on older Java platforms,
as these classes in Java versions below 1.4 rely on the platform's default
charset encoding.
- Author:
- Robert J. Buck
URLEncoded
public URLEncoded()
newDecoder
public CodecDecoder newDecoder()
- Description copied from class:
Codec
- Constructs a new decoder for this codec.
- Specified by:
newDecoder in class Codec
- Returns:
- A new decoder for this codec
newEncoder
public CodecEncoder newEncoder()
- Description copied from class:
Codec
- Constructs a new encoder for this codec.
- Specified by:
newEncoder in class Codec
- Returns:
- A new encoder for this codec
Copyright © 2013. All Rights Reserved.