com.day.cq.dam.core.process.UnarchiverProcess.class Maven / Gradle / Ivy
???? 2?
?opq
Or ?s
Ot Ouvwx ?yz{
O|}~
?
?
???????
?????
O??w?
O?
O????w?
O?
????w??????????
??
q
?
??
?
??w?
O?
?
??
??
O?
?
O?
??
H????
?????
V?
V??
H?
V??
??
K?
K??? ??
?? ???
???
Vo
?
?
??
[o?
[?
[??
[?
?
??
??
??????
O??????
??
?
?????
?
?s
?? ?s
???
?? ???
?????
??
???
?s?
?
?
?
?
?
O
O
O
?
?
? O ? ?z?s
!"#$w%&
'(
?)
?*+
,-?./01
2345
6 ?7?89?:;<=
?>? ?@ABCD
?E
FGHI InnerClassesJ EntryInfo UnarchiverContext log Lorg/slf4j/Logger; BUFFER I
ConstantValue
MIME_TYPE_ZIP Ljava/lang/String; FILE_EXT_ZIP ()V Code LineNumberTable LocalVariableTable this /Lcom/day/cq/dam/core/process/UnarchiverProcess; execute u(Lcom/day/cq/workflow/exec/WorkItem;Lcom/day/cq/workflow/WorkflowSession;Lcom/day/cq/workflow/metadata/MetaDataMap;)V e Ljava/io/IOException; Ljavax/jcr/RepositoryException; assetManager !Lcom/day/cq/dam/api/AssetManager; context ALcom/day/cq/dam/core/process/UnarchiverProcess$UnarchiverContext; isExtractionSuccessful Z stream Ljava/io/InputStream; assetPath original Lcom/day/cq/dam/api/Rendition; item #Lcom/day/cq/workflow/exec/WorkItem; wfSession %Lcom/day/cq/workflow/WorkflowSession; args *Lcom/day/cq/workflow/metadata/MetaDataMap; session Ljavax/jcr/Session; asset Lcom/day/cq/dam/api/Asset;
StackMapTableK
LMNO??PQRS??T
Exceptions extract D(Lcom/day/cq/dam/core/process/UnarchiverProcess$UnarchiverContext;)Z numFiles J name entry Ljava/util/zip/ZipEntry; Ljava/lang/Exception; zis Ljava/util/zip/ZipInputStream;UV? getFolderCount ((Ljava/util/HashMap;Ljava/lang/String;)J count folderMap Ljava/util/HashMap; zipFolder LocalVariableTypeTable 7Ljava/util/HashMap; Signature L(Ljava/util/HashMap;Ljava/lang/String;)J getSHA1 1(Ljava/security/MessageDigest;)Ljava/lang/String; sha1 Ljava/security/MessageDigest; isZipFile (Lcom/day/cq/dam/api/Asset;)Z scan D(Lcom/day/cq/dam/core/process/UnarchiverProcess$UnarchiverContext;)V
entryBytes size buffer [B dirFileCount info 9Lcom/day/cq/dam/core/process/UnarchiverProcess$EntryInfo; numBytes maxBytes maxNumFiles maxNumFilesPerDir?J0 extractEntry z(Lcom/day/cq/dam/core/process/UnarchiverProcess$UnarchiverContext;Ljava/util/zip/ZipInputStream;Ljava/util/zip/ZipEntry;)V node Ljavax/jcr/Node; assetSha1 newAsset zipSha1 resource (Lorg/apache/sling/api/resource/Resource; target mimeType tempFile Ljava/io/File; fos Ljava/io/FileOutputStream; fis Ljava/io/FileInputStream; root zipPath fileName fullPathAWXY isMatchSkipFileNamePatterns V(Lcom/day/cq/dam/core/process/UnarchiverProcess$UnarchiverContext;Ljava/lang/String;)Z pattern patterns [Ljava/lang/String;Z afterExtract E(Lcom/day/cq/dam/core/process/UnarchiverProcess$UnarchiverContext;Z)V isExtractEntry \(Lcom/day/cq/dam/core/process/UnarchiverProcess$UnarchiverContext;Ljava/util/zip/ZipEntry;)Z
beforeExtract getOrCreateRoot S(Lcom/day/cq/dam/core/process/UnarchiverProcess$UnarchiverContext;)Ljavax/jcr/Node; rootHint
SourceFile UnarchiverProcess.java RuntimeInvisibleAnnotations ,Lorg/apache/felix/scr/annotations/Component; *Lorg/apache/felix/scr/annotations/Service; value *Lcom/day/cq/workflow/exec/WorkflowProcess; +Lorg/apache/felix/scr/annotations/Property;
process.label DAM Unarchiver Process ? ?QZ[\]^_)* ? ? 8execute: ignoring asset [{}] as it is not a ZIP archive.S2`abMcdef %com/day/cq/workflow/WorkflowException asset manager unavailable ?g ?com/day/cq/dam/core/process/UnarchiverProcess$UnarchiverContext ?hij Aexecute: skipping extraction of [{}], disabled via configuration.Pklmno noretrypqrRst ;scan: scanning archive [{}] and verifying configured limits+, 'execute: calling beforeExtract for [{}]u``, 6execute: calling afterExtract for [{}] (extraction {})
successful faileduv\]wxy java/io/IOException 1execute: IO error while extracting archive [{}]: zv javax/jcr/RepositoryException 9execute: repository error while extracting archive [{}]: Xexecute: cannot extract archive, asset [{}] in workflow [{}] doesn't have binary stream.{_ Xexecute: cannot extract archive, asset [{}] in workflow [{}] doesn't have original file. Lexecute: cannot extract archive, asset [{}] in workflow [{}] does not exist.|}~_????