Package com.composum.sling.core.util
Class LinkCodec
- java.lang.Object
-
- org.apache.commons.codec.net.URLCodec
-
- com.composum.sling.core.util.LinkCodec
-
- All Implemented Interfaces:
org.apache.commons.codec.BinaryDecoder
,org.apache.commons.codec.BinaryEncoder
,org.apache.commons.codec.Decoder
,org.apache.commons.codec.Encoder
,org.apache.commons.codec.StringDecoder
,org.apache.commons.codec.StringEncoder
@Deprecated public class LinkCodec extends org.apache.commons.codec.net.URLCodec
Replaced byUrlCodec
with its various codecs for URL parts.
-
-
Field Summary
Fields Modifier and Type Field Description protected static BitSet
SLING_PATH_SET
Deprecated.protected static BitSet
SLING_URL_SET
Deprecated.
-
Constructor Summary
Constructors Constructor Description LinkCodec()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description String
decode(String value)
Deprecated.byte[]
encode(byte[] bytes)
Deprecated.String
encode(String value)
Deprecated.String
encodeUrl(String url)
Deprecated.
-
-
-
Method Detail
-
encode
public byte[] encode(byte[] bytes)
Deprecated.- Specified by:
encode
in interfaceorg.apache.commons.codec.BinaryEncoder
- Overrides:
encode
in classorg.apache.commons.codec.net.URLCodec
-
encode
public String encode(String value)
Deprecated.- Specified by:
encode
in interfaceorg.apache.commons.codec.StringEncoder
- Overrides:
encode
in classorg.apache.commons.codec.net.URLCodec
-
decode
public String decode(String value)
Deprecated.- Specified by:
decode
in interfaceorg.apache.commons.codec.StringDecoder
- Overrides:
decode
in classorg.apache.commons.codec.net.URLCodec
-
-