META-INF.modules.java.base.classes.java.util.zip.ZipOutputStream.class Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java.base Show documentation
Show all versions of java.base Show documentation
Bytecoder java.base Module
???? :? java/util/zip/ZipEntry java/util/zip/ZipConstants64 java/util/zip/ZipUtils
method I java/util/zip/ZipException unsupported compression method
(Ljava/lang/String;)V java/util/zip/ZipOutputStream closed Z java/io/IOException
Stream closed
! " # sun/nio/cs/UTF_8 INSTANCE Lsun/nio/cs/UTF_8;
% & 3(Ljava/io/OutputStream;Ljava/nio/charset/Charset;)V ( java/util/zip/Deflater
' * + (IZ)V
- . / 0 "java/util/zip/DeflaterOutputStream 1(Ljava/io/OutputStream;Ljava/util/zip/Deflater;)V 2 java/util/Vector
1 4 5 ()V 7 8 9 xentries Ljava/util/Vector; ; java/util/HashSet
: 4 > ? @ names Ljava/util/HashSet; B java/util/zip/CRC32
A 4 E F G crc Ljava/util/zip/CRC32; I J K written J M N K locoff Q java/lang/NullPointerException S charset is null
P
V W X Y Z java/util/zip/ZipCoder get 4(Ljava/nio/charset/Charset;)Ljava/util/zip/ZipCoder; \ ] ^ zc Ljava/util/zip/ZipCoder; ` a usesDefaultDeflater
V c d e getBytes (Ljava/lang/String;)[B g h i comment [B ?? l "java/lang/IllegalArgumentException n ZIP file comment too long.
k q invalid compression method s t u def Ljava/util/zip/Deflater;
' w x y setLevel (I)V
{ | 5
ensureOpen ~ ? current &Ljava/util/zip/ZipOutputStream$XEntry;
? ? 5
closeEntry ? ? K xdostime????????
? ? ? ? ? java/lang/System currentTimeMillis ()J
? ? ? setTime (J)V ? ?
flag ? ? K size ? ? K csize ? F K ? 2STORED entry where compressed != uncompressed size ? 5STORED entry missing size, compressed size, or crc-32 ? ? ? name Ljava/lang/String;
: ? ? ? add (Ljava/lang/Object;)Z ? java/lang/StringBuilder
? 4 ? duplicate entry:
? ? ? ? append -(Ljava/lang/String;)Ljava/lang/StringBuilder;
? ? ? ? toString ()Ljava/lang/String;
V ? ? ? isUTF8 ()Z ? $java/util/zip/ZipOutputStream$XEntry
? ? ? (Ljava/util/zip/ZipEntry;J)V
1 ?
? ? ? writeLOC )(Ljava/util/zip/ZipOutputStream$XEntry;)V ? ? ? ? entry Ljava/util/zip/ZipEntry;
' ? ? 5 finish
' ? ? ? finished
? ? 5 deflate
' ? ? ? getBytesRead ? invalid entry size (expected
? ? ? ? (J)Ljava/lang/StringBuilder; ? but got ? bytes)
' ? ? ? getBytesWritten ? (invalid entry compressed size (expected
A ? ? ? getValue ? !invalid entry CRC-32 (expected 0x
? ? ? ? ? java/lang/Long toHexString (J)Ljava/lang/String; ? but got 0x ? )
? ? ? writeEXT (Ljava/util/zip/ZipEntry;)V
' ? ? 5 reset ? !invalid entry crc-32 (expected 0x
A ? ? #java/lang/IndexOutOfBoundsException
? 4 no current ZIP entry
- write ([BII)V )attempt to write past end of STORED entry
out Ljava/io/OutputStream;
java/io/OutputStream
A update ?
1 iterator ()Ljava/util/Iterator; ? java/util/Iterator hasNext next ()Ljava/lang/Object;
!" ? writeCEN
$%& writeEND (JJ)V
-() 5 close +, i extra
./0 getExtraLen ([B)I2 java/util/zip/ZipConstants KP
67 ? writeInt
9:; version (Ljava/util/zip/ZipEntry;)I
=> y
writeShort ???? BCD mtime "Ljava/nio/file/attribute/FileTime;
FGH fileTimeToUnixTime %(Ljava/nio/file/attribute/FileTime;)J JKD atime MND ctime ???
RS
writeBytes
UV ? writeLong?
Z[H fileTimeToWinTime
]^ y writeByte
`ab
writeExtra ([B)V KP ?fg K offset KP k h ?
mnopq java/lang/Math min (II)I
1s ?t ()I vw inhibitZip64 KP , KP KP
??? get16 ([BI)I
? y ? -? jdk.util.zip.inhibitZip64
????? %sun/security/action/GetPropertyAction privilegedGetProperty &(Ljava/lang/String;)Ljava/lang/String;
????? java/lang/Boolean parseBoolean (Ljava/lang/String;)Z Signature :Ljava/util/Vector; 'Ljava/util/HashSet; STORED
ConstantValue DEFLATED Code LineNumberTable LocalVariableTable e
StackMapTable
Exceptions this Ljava/util/zip/ZipOutputStream; (Ljava/io/OutputStream;)V charset Ljava/nio/charset/Charset;? java/nio/charset/Charset
setComment setMethod level putNextEntry b off len xentry hasZip64 elen nameBytes elenEXTT flagEXTT umtime uatime uctime i commentBytes elenZIP64 off64 xlen xoff count tag sz skipped v
SourceFile ZipOutputStream.java NestMembers InnerClasses XEntry ! - 1 w ? 8 9 ? ? ? @ ? ? F G J K N K h i
? ] ^ ?
? ? ?
? ?
:; ? q 0*? ? " ?
?? Y
? ? ? T U # V &