@ Override public ArtifactContainer createContainer ( File cacheDir , ArtifactContainer enclosingContainer , ArtifactEntry entryInEnclosingContainer , Object containerData ) { if ( ( containerData instanceof File ) && FileUtils . fileIsFile ( ( File ) containerData ) ) { File fileContainerData = ( File ) containerData ; if ( isZip ( fileContainerData ) ) { return new ZipFileContainer ( cacheDir , enclosingContainer , entryInEnclosingContainer , fileContainerData , this ) ; } else { return null ; } } else { if ( isZip ( entryInEnclosingContainer ) ) { return new ZipFileContainer ( cacheDir , enclosingContainer , entryInEnclosingContainer , null , this ) ; } else { return null ; } } }
Attempt to create an enclosed root zip file type container .