com.google.javascript.jscomp.JSCompZipFileCache$CachedZipFile.class Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of closure-compiler-unshaded Show documentation
Show all versions of closure-compiler-unshaded Show documentation
Closure Compiler is a JavaScript optimizing compiler. It parses your
JavaScript, analyzes it, removes dead code and rewrites and minimizes
what's left. It also checks syntax, variable references, and types, and
warns about common JavaScript pitfalls. It is used in many of Google's
JavaScript apps, including Gmail, Google Web Search, Google Maps, and
Google Docs.
The newest version!
???? 7 k
java/lang/Object ()V java/lang/String
java/nio/file/Path of ;(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path; =com/google/javascript/jscomp/JSCompZipFileCache$CachedZipFile path Ljava/nio/file/Path;
refreshIfNeeded zipFile Ljava/util/zip/ZipFile;
! java/util/zip/ZipFile getEntry ,(Ljava/lang/String;)Ljava/util/zip/ZipEntry; # %s!/%s
% & ' ( ) $com/google/common/base/Preconditions checkNotNull \(Ljava/lang/Object;Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; + java/util/zip/ZipEntry
- . / getInputStream /(Ljava/util/zip/ZipEntry;)Ljava/io/InputStream; 1 java/nio/file/LinkOption
3 4 5 6 7 java/nio/file/Files getLastModifiedTime S(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Ljava/nio/file/attribute/FileTime; 9 : ; lastModified "Ljava/nio/file/attribute/FileTime;
= > ? @ A java/nio/file/attribute/FileTime equals (Ljava/lang/Object;)Z
C D
maybeClose
F G H toFile ()Ljava/io/File;
J K (Ljava/io/File;)V
M N close (Ljava/lang/String;)V Code LineNumberTable LocalVariableTable this ?Lcom/google/javascript/jscomp/JSCompZipFileCache$CachedZipFile; zipName Ljava/lang/String; MethodParameters getEntryStream )(Ljava/lang/String;)Ljava/io/InputStream; entryName entry Ljava/util/zip/ZipEntry;
Exceptions _ java/io/IOException newLastModified
StackMapTable c java/lang/Throwable
SourceFile JSCompZipFileCache.java NestHost h /com/google/javascript/jscomp/JSCompZipFileCache InnerClasses
CachedZipFile 0 B : ; O P M *? *+? ? ? ? Q Q R S R S T U V W U X Y P i #*? *? +? "*? +? $? *M*? ,? ,? Q V W X R # S T # Z V [ \ ] ^ W Z P ? R*? ? 0? 2L+*? 8?