![JAR search and dependency download from the Maven repository](/logo.png)
com.google.common.io.TempFileCreator$JavaNioCreator.class Maven / Gradle / Ivy
???? 4n
P ?
P ?
Q ? ? ?
? ? ?
? ? ? P ? T ?
? ? ? ? ? ? ?
? P ?
? ?
? ?
? ?
P ?
? ?
? ? ? ?
? ?
? ? ?
? ?
? ? ? ? ?
? ?
? ?
? ? ?
$ ? ? ? ? ?
? ? ?
/ ? ? ? ? ?
/ ? ? m ? ?
? ? ? ?
7 ?
? ? ? ? ?
? ?
> ? ?
> ?
> ?
> ?
? ?
? ?
? ? ?
? ? ? ? ? ? ? o ? JavaNioCreator InnerClasses PermissionSupplier filePermissions HLcom/google/common/io/TempFileCreator$JavaNioCreator$PermissionSupplier; directoryPermissions ()V Code LineNumberTable LocalVariableTable this 5Lcom/google/common/io/TempFileCreator$JavaNioCreator;
createTempDir ()Ljava/io/File; e Ljava/io/IOException;
StackMapTable createTempFile "(Ljava/lang/String;)Ljava/io/File; prefix Ljava/lang/String;
Exceptions MethodParameters userPermissions J()Lcom/google/common/io/TempFileCreator$JavaNioCreator$PermissionSupplier; user 'Ljava/nio/file/attribute/UserPrincipal; acl )Lcom/google/common/collect/ImmutableList; attribute 'Ljava/nio/file/attribute/FileAttribute; LocalVariableTypeTable MLcom/google/common/collect/ImmutableList; vLjava/nio/file/attribute/FileAttribute;>; getUsername ()Ljava/lang/String; processHandleClass Ljava/lang/Class; processHandleInfoClass
optionalClass
currentMethod Ljava/lang/reflect/Method;
infoMethod
userMethod orElseMethod current Ljava/lang/Object; info runningUnderAndroidOrJava8 "Ljava/lang/ClassNotFoundException; -Ljava/lang/reflect/InvocationTargetException; shouldBeImpossible !Ljava/lang/NoSuchMethodException; "Ljava/lang/IllegalAccessException; fromSystemProperty Ljava/lang/Class<*>; lambda$userPermissions$4 >(Ljava/io/IOException;)Ljava/nio/file/attribute/FileAttribute; lambda$userPermissions$3 P(Ljava/nio/file/attribute/FileAttribute;)Ljava/nio/file/attribute/FileAttribute; lambda$static$2 )()Ljava/nio/file/attribute/FileAttribute; lambda$static$1 lambda$static$0 +(Lcom/google/common/io/TempFileCreator$1;)V x0 (Lcom/google/common/io/TempFileCreator$1;
access$300 views Ljava/util/Set; #Ljava/util/Set;
SourceFile TempFileCreator.java RuntimeInvisibleAnnotations +Lcom/google/common/io/IgnoreJRERequirement; k l Y Z Y ? w java/lang/String
%java/nio/file/attribute/FileAttribute X W ?
a java/io/IOException java/lang/IllegalStateException Failed to create directory Y V W e v w !"#$%&'( *java/nio/file/attribute/AclEntryPermission)*+,- $java/nio/file/attribute/AclEntryFlag./0/1234567 5com/google/common/io/TempFileCreator$JavaNioCreator$1 Y8 BootstrapMethods9 ?:;<=>?@A java.lang.ProcessHandleBC java.lang.ProcessHandle$Info java.util.Optional java/lang/ClassDE orElse java/lang/ObjectFGH java/lang/ClassNotFoundException +java/lang/reflect/InvocationTargetExceptionIJKLM java/lang/NoSuchMethodException java/lang/IllegalAccessException Could not find user java/lang/StringBuilder unrecognized FileSystem type NONPQ w YR rwx------STUVW rw-------XY posixZ[\ l]^ 3com/google/common/io/TempFileCreator$JavaNioCreator $com/google/common/io/TempFileCreator Fcom/google/common/io/TempFileCreator$JavaNioCreator$PermissionSupplier &com/google/common/io/TempFileCreator$1
java/util/Set -com/google/common/base/StandardSystemProperty JAVA_IO_TMPDIR /Lcom/google/common/base/StandardSystemProperty; value java/nio/file/Paths get ;(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path; java/nio/file/Files createTempDirectory d(Ljava/nio/file/Path;Ljava/lang/String;[Ljava/nio/file/attribute/FileAttribute;)Ljava/nio/file/Path; java/nio/file/Path toFile *(Ljava/lang/String;Ljava/lang/Throwable;)V v(Ljava/nio/file/Path;Ljava/lang/String;Ljava/lang/String;[Ljava/nio/file/attribute/FileAttribute;)Ljava/nio/file/Path; java/nio/file/FileSystems
getDefault ()Ljava/nio/file/FileSystem; java/nio/file/FileSystem getUserPrincipalLookupService 6()Ljava/nio/file/attribute/UserPrincipalLookupService; 2java/nio/file/attribute/UserPrincipalLookupService lookupPrincipalByName ;(Ljava/lang/String;)Ljava/nio/file/attribute/UserPrincipal; java/nio/file/attribute/AclEntry
newBuilder Builder ,()Ljava/nio/file/attribute/AclEntry$Builder; $java/nio/file/attribute/AclEntryType ALLOW &Ljava/nio/file/attribute/AclEntryType; (java/nio/file/attribute/AclEntry$Builder setType R(Ljava/nio/file/attribute/AclEntryType;)Ljava/nio/file/attribute/AclEntry$Builder; setPrincipal S(Ljava/nio/file/attribute/UserPrincipal;)Ljava/nio/file/attribute/AclEntry$Builder; java/util/EnumSet allOf &(Ljava/lang/Class;)Ljava/util/EnumSet; setPermissions ;(Ljava/util/Set;)Ljava/nio/file/attribute/AclEntry$Builder; DIRECTORY_INHERIT &Ljava/nio/file/attribute/AclEntryFlag; FILE_INHERIT setFlags S([Ljava/nio/file/attribute/AclEntryFlag;)Ljava/nio/file/attribute/AclEntry$Builder; build $()Ljava/nio/file/attribute/AclEntry; 'com/google/common/collect/ImmutableList of =(Ljava/lang/Object;)Lcom/google/common/collect/ImmutableList; ,(Lcom/google/common/collect/ImmutableList;)V
_`
Pa q(Ljava/nio/file/attribute/FileAttribute;)Lcom/google/common/io/TempFileCreator$JavaNioCreator$PermissionSupplier;
Pb _(Ljava/io/IOException;)Lcom/google/common/io/TempFileCreator$JavaNioCreator$PermissionSupplier; USER_NAME java/util/Objects requireNonNull &(Ljava/lang/Object;)Ljava/lang/Object; forName %(Ljava/lang/String;)Ljava/lang/Class; getMethod @(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method; java/lang/reflect/Method invoke 9(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; getCause ()Ljava/lang/Throwable; !com/google/common/base/Throwables throwIfUnchecked (Ljava/lang/Throwable;)V append -(Ljava/lang/String;)Ljava/lang/StringBuilder; -(Ljava/lang/Object;)Ljava/lang/StringBuilder; toString (Ljava/lang/String;)V ,java/nio/file/attribute/PosixFilePermissions
fromString #(Ljava/lang/String;)Ljava/util/Set; asFileAttribute 8(Ljava/util/Set;)Ljava/nio/file/attribute/FileAttribute; supportedFileAttributeViews ()Ljava/util/Set; contains (Ljava/lang/Object;)Z
Pc
Pd
Pefgj ? ? ? ? ? ? ? ? ? ? "java/lang/invoke/LambdaMetafactory metafactoryl Lookup ?(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;m %java/lang/invoke/MethodHandles$Lookup java/lang/invoke/MethodHandles 0 P Q V W X W
Y Z [ 0 *? ? \ y ] ^ _ ` a [ ? 2? ? ? ? ? Y? ?
S? ? ?L? Y+? ? % &