Package net.fortuna.ical4j.model
Class PropertyCodec
- java.lang.Object
-
- net.fortuna.ical4j.model.PropertyCodec
-
- All Implemented Interfaces:
org.apache.commons.codec.Decoder
,org.apache.commons.codec.Encoder
,org.apache.commons.codec.StringDecoder
,org.apache.commons.codec.StringEncoder
public class PropertyCodec extends Object implements org.apache.commons.codec.StringEncoder, org.apache.commons.codec.StringDecoder
Support for encoding/decoding property values that include quotes, newlines, and escape characters.
-
-
Field Summary
Fields Modifier and Type Field Description static PropertyCodec
INSTANCE
-
Constructor Summary
Constructors Constructor Description PropertyCodec()
-
-
-
Field Detail
-
INSTANCE
public static final PropertyCodec INSTANCE
-
-
Method Detail
-
decode
public String decode(String source) throws org.apache.commons.codec.DecoderException
- Specified by:
decode
in interfaceorg.apache.commons.codec.StringDecoder
- Throws:
org.apache.commons.codec.DecoderException
-
decode
public Object decode(Object source) throws org.apache.commons.codec.DecoderException
- Specified by:
decode
in interfaceorg.apache.commons.codec.Decoder
- Throws:
org.apache.commons.codec.DecoderException
-
encode
public String encode(String source) throws org.apache.commons.codec.EncoderException
- Specified by:
encode
in interfaceorg.apache.commons.codec.StringEncoder
- Throws:
org.apache.commons.codec.EncoderException
-
-