net.fortuna.ical4j.model.property.Xml.class Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ical4j Show documentation
Show all versions of ical4j Show documentation
A Java library for reading and writing iCalendar (*.ics) files
???? 7 ? !net/fortuna/ical4j/model/Property XML
(Ljava/lang/String;)V
%net/fortuna/ical4j/model/property/Xml setValue
=(Ljava/lang/String;Lnet/fortuna/ical4j/model/ParameterList;)V &net/fortuna/ical4j/model/ParameterList "net/fortuna/ical4j/model/Parameter (net/fortuna/ical4j/model/parameter/Value BINARY *Lnet/fortuna/ical4j/model/parameter/Value; +net/fortuna/ical4j/model/parameter/Encoding BASE64 -Lnet/fortuna/ical4j/model/parameter/Encoding;
" # $ % & java/util/Arrays asList %([Ljava/lang/Object;)Ljava/util/List;
( ) (Ljava/util/List;)V
+ , - binary [B / ENCODING
1 2 3 getParameter ((Ljava/lang/String;)Ljava/util/Optional;
5 6 7 8 9 java/util/Optional isPresent ()Z
; < = > ? &net/fortuna/ical4j/util/DecoderFactory getInstance *()Lnet/fortuna/ical4j/util/DecoderFactory;
A B C getRequiredParameter 8(Ljava/lang/String;)Lnet/fortuna/ical4j/model/Parameter;
; E F G createBinaryDecoder W(Lnet/fortuna/ical4j/model/parameter/Encoding;)Lorg/apache/commons/codec/BinaryDecoder;
I J K L M java/lang/String getBytes ()[B O P Q R S &org/apache/commons/codec/BinaryDecoder decode ([B)[B U $java/io/UnsupportedEncodingException W (net/fortuna/ical4j/model/property/Attach
Y Z [ \ ] org/slf4j/LoggerFactory getLogger %(Ljava/lang/Class;)Lorg/slf4j/Logger; _ Error encoding binary data a b c d e org/slf4j/Logger error *(Ljava/lang/String;Ljava/lang/Throwable;)V g )org/apache/commons/codec/DecoderException i Error decoding binary data
k l m value Ljava/lang/String;
5 o p q of ((Ljava/lang/Object;)Ljava/util/Optional; s VALUE
5 u v w equals (Ljava/lang/Object;)Z y z { | } -net/fortuna/ical4j/validate/PropertyValidator XML_BIN 'Lnet/fortuna/ical4j/validate/Validator; ? ? ? ? %net/fortuna/ical4j/validate/Validator validate B(Ljava/lang/Object;)Lnet/fortuna/ical4j/validate/ValidationResult; y ? } ? -net/fortuna/ical4j/model/property/Xml$Factory
? ? ? ()V ? "net/fortuna/ical4j/model/Encodable Code LineNumberTable LocalVariableTable this 'Lnet/fortuna/ical4j/model/property/Xml; aValue
Exceptions ? java/net/URISyntaxException =(Lnet/fortuna/ical4j/model/ParameterList;Ljava/lang/String;)V aList (Lnet/fortuna/ical4j/model/ParameterList; ([B)V decoder (Lorg/apache/commons/codec/BinaryDecoder; log Lorg/slf4j/Logger; uee &Ljava/io/UnsupportedEncodingException; de +Lorg/apache/commons/codec/DecoderException;
StackMapTable getValue ()Ljava/lang/String; 0()Lnet/fortuna/ical4j/validate/ValidationResult; ? /net/fortuna/ical4j/validate/ValidationException
newFactory ,()Lnet/fortuna/ical4j/model/PropertyFactory; Signature /()Lnet/fortuna/ical4j/model/PropertyFactory<*>;
SourceFile Xml.java NestMembers InnerClasses Factory !
? l m , - ? ? 5 *? ? ?
@ A ? ? ? ? H *? *+? ? ? G H I ? ? ? ? m ? ? ? ? S
*+? *,? ? ? P Q R ?
? ?
? ?
? m ? ? b &*? Y? Y? SY? S? !? '? *+? *? ? U V % W ? &