| Modifier and Type | Field and Description |
|---|---|
| private static final long | |
| private static final long | |
| pack-priv static final ByteBuffer | |
| pack-priv static final long | |
| pack-priv static final int | |
| pack-priv static final JavaNioAccess | |
| pack-priv static final int | |
| private static final Unsafe | |
| public static final long | UPPER_UNIXTIME_BOUND
The upper bound of the 32-bit unix time, the "year 2038 problem". |
| pack-priv static final int | |
| private static final long | |
| public static final long |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static final int | |
| pack-priv static final long | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final long | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final long | |
| pack-priv static final int | |
| pack-priv static final long | |
| pack-priv static final long | |
| pack-priv static final long | |
| pack-priv static final long | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| public static long | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final long | |
| pack-priv static final long | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final long | |
| public static long | Returns: milliseconds since epochthe extended DOS time value xdostime)Converts extended DOS time to Java time, where up to 1999 milliseconds might be encoded into the upper half of the returned long. |
| pack-priv static final long | |
| pack-priv static final long | |
| public static final long | |
| public static final long | |
| public static final int | |
| public static final long | |
| public static final int | |
| public static final long | |
| pack-priv static byte[] | |
| pack-priv static int | |
| pack-priv static LocalDateTime | |
| private static long | |
| pack-priv static long | Returns: DOS time with 2s remainder encoded into upper halfmilliseconds since epoch time)Converts Java time to DOS time, encoding any milliseconds lost in the conversion into the upper half of the returned long. |
| pack-priv static void | |
| pack-priv static final long | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final long | |
| pack-priv static final int | |
| pack-priv static final long | |
| pack-priv static final long | |
| pack-priv static final long | |
| pack-priv static final int | |
| private static long | |
| public static final FileTime | |
| public static final FileTime | |
| pack-priv static final long | |
| pack-priv static final long | |
| pack-priv static final long | |
| pack-priv static final long | |
| pack-priv static final long |
| byteBufferArrayOffset | back to summary |
|---|---|
| private static final long byteBufferArrayOffset | |
| byteBufferOffsetOffset | back to summary |
|---|---|
| private static final long byteBufferOffsetOffset | |
| defaultBuf | back to summary |
|---|---|
| pack-priv static final ByteBuffer defaultBuf | |
| END_MAXLEN | back to summary |
|---|---|
| pack-priv static final long END_MAXLEN | |
| FILE_ATTRIBUTES_UNIX | back to summary |
|---|---|
| pack-priv static final int FILE_ATTRIBUTES_UNIX | |
| NIO_ACCESS | back to summary |
|---|---|
| pack-priv static final JavaNioAccess NIO_ACCESS | |
| READBLOCKSZ | back to summary |
|---|---|
| pack-priv static final int READBLOCKSZ | |
| UNSAFE | back to summary |
|---|---|
| private static final Unsafe UNSAFE | |
| UPPER_UNIXTIME_BOUND | back to summary |
|---|---|
| public static final long UPPER_UNIXTIME_BOUND The upper bound of the 32-bit unix time, the "year 2038 problem". | |
| VERSION_MADE_BY_BASE_UNIX | back to summary |
|---|---|
| pack-priv static final int VERSION_MADE_BY_BASE_UNIX | |
| WINDOWS_EPOCH_IN_MICROSECONDS | back to summary |
|---|---|
| private static final long WINDOWS_EPOCH_IN_MICROSECONDS | |
| WINDOWS_TIME_NOT_AVAILABLE | back to summary |
|---|---|
| public static final long WINDOWS_TIME_NOT_AVAILABLE | |
| ZipUtils | back to summary |
|---|---|
| pack-priv ZipUtils() | |
| CENATT | back to summary |
|---|---|
| pack-priv static final int CENATT(byte[] b, int pos) | |
| CENATX | back to summary |
|---|---|
| pack-priv static final long CENATX(byte[] b, int pos) | |
| CENATX_PERMS | back to summary |
|---|---|
| pack-priv static final int CENATX_PERMS(byte[] b, int pos) | |
| CENCOM | back to summary |
|---|---|
| pack-priv static final int CENCOM(byte[] b, int pos) | |
| CENCRC | back to summary |
|---|---|
| pack-priv static final long CENCRC(byte[] b, int pos) | |
| CENDSK | back to summary |
|---|---|
| pack-priv static final int CENDSK(byte[] b, int pos) | |
| CENEXT | back to summary |
|---|---|
| pack-priv static final int CENEXT(byte[] b, int pos) | |
| CENFLG | back to summary |
|---|---|
| pack-priv static final int CENFLG(byte[] b, int pos) | |
| CENHOW | back to summary |
|---|---|
| pack-priv static final int CENHOW(byte[] b, int pos) | |
| CENLEN | back to summary |
|---|---|
| pack-priv static final long CENLEN(byte[] b, int pos) | |
| CENNAM | back to summary |
|---|---|
| pack-priv static final int CENNAM(byte[] b, int pos) | |
| CENOFF | back to summary |
|---|---|
| pack-priv static final long CENOFF(byte[] b, int pos) | |
| CENSIG | back to summary |
|---|---|
| pack-priv static final long CENSIG(byte[] b, int pos) | |
| CENSIZ | back to summary |
|---|---|
| pack-priv static final long CENSIZ(byte[] b, int pos) | |
| CENTIM | back to summary |
|---|---|
| pack-priv static final long CENTIM(byte[] b, int pos) | |
| CENVEM | back to summary |
|---|---|
| pack-priv static final int CENVEM(byte[] b, int pos) | |
| CENVEM_FA | back to summary |
|---|---|
| pack-priv static final int CENVEM_FA(byte[] b, int pos) | |
| CENVER | back to summary |
|---|---|
| pack-priv static final int CENVER(byte[] b, int pos) | |
| dosToJavaTime | back to summary |
|---|---|
| public static long dosToJavaTime(long dtime) Converts DOS time to Java time (number of milliseconds since epoch). | |
| ENDCOM | back to summary |
|---|---|
| pack-priv static final int ENDCOM(byte[] b) | |
| ENDCOM | back to summary |
|---|---|
| pack-priv static final int ENDCOM(byte[] b, int off) | |
| ENDOFF | back to summary |
|---|---|
| pack-priv static final long ENDOFF(byte[] b) | |
| ENDSIZ | back to summary |
|---|---|
| pack-priv static final long ENDSIZ(byte[] b) | |
| ENDSUB | back to summary |
|---|---|
| pack-priv static final int ENDSUB(byte[] b) | |
| ENDTOT | back to summary |
|---|---|
| pack-priv static final int ENDTOT(byte[] b) | |
| EXTCRC | back to summary |
|---|---|
| pack-priv static final long EXTCRC(byte[] b) | |
| extendedDosToJavaTime | back to summary |
|---|---|
| public static long extendedDosToJavaTime(long xdostime) Converts extended DOS time to Java time, where up to 1999 milliseconds might be encoded into the upper half of the returned long.
| |
| EXTLEN | back to summary |
|---|---|
| pack-priv static final long EXTLEN(byte[] b) | |
| EXTSIZ | back to summary |
|---|---|
| pack-priv static final long EXTSIZ(byte[] b) | |
| fileTimeToUnixTime | back to summary |
|---|---|
| public static final long fileTimeToUnixTime(FileTime ftime) Converts FileTime to "standard Unix time". | |
| fileTimeToWinTime | back to summary |
|---|---|
| public static final long fileTimeToWinTime(FileTime ftime) Converts FileTime to Windows time. | |
| get16 | back to summary |
|---|---|
| public static final int get16(byte[] b, int off) Fetches unsigned 16-bit value from byte array at specified offset. The bytes are assumed to be in Intel (little-endian) byte order. | |
| get32 | back to summary |
|---|---|
| public static final long get32(byte[] b, int off) Fetches unsigned 32-bit value from byte array at specified offset. The bytes are assumed to be in Intel (little-endian) byte order. | |
| get32S | back to summary |
|---|---|
| public static final int get32S(byte[] b, int off) Fetches signed 32-bit value from byte array at specified offset. The bytes are assumed to be in Intel (little-endian) byte order. | |
| get64S | back to summary |
|---|---|
| public static final long get64S(byte[] b, int off) Fetches signed 64-bit value from byte array at specified offset. The bytes are assumed to be in Intel (little-endian) byte order. | |
| getBufferArray | back to summary |
|---|---|
| pack-priv static byte[] getBufferArray(ByteBuffer byteBuffer) | |
| getBufferOffset | back to summary |
|---|---|
| pack-priv static int getBufferOffset(ByteBuffer byteBuffer) | |
| javaEpochToLocalDateTime | back to summary |
|---|---|
| pack-priv static LocalDateTime javaEpochToLocalDateTime(long time) | |
| javaToDosTime | back to summary |
|---|---|
| private static long javaToDosTime(LocalDateTime ldt) Converts Java time to DOS time. | |
| javaToExtendedDosTime | back to summary |
|---|---|
| pack-priv static long javaToExtendedDosTime(long time) Converts Java time to DOS time, encoding any milliseconds lost in the conversion into the upper half of the returned long.
| |
| loadLibrary | back to summary |
|---|---|
| pack-priv static void loadLibrary() Loads ZIP native library, if not already loaded | |
| LOCCRC | back to summary |
|---|---|
| pack-priv static final long LOCCRC(byte[] b) | |
| LOCEXT | back to summary |
|---|---|
| pack-priv static final int LOCEXT(byte[] b) | |
| LOCFLG | back to summary |
|---|---|
| pack-priv static final int LOCFLG(byte[] b) | |
| LOCHOW | back to summary |
|---|---|
| pack-priv static final int LOCHOW(byte[] b) | |
| LOCLEN | back to summary |
|---|---|
| pack-priv static final long LOCLEN(byte[] b) | |
| LOCNAM | back to summary |
|---|---|
| pack-priv static final int LOCNAM(byte[] b) | |
| LOCSIG | back to summary |
|---|---|
| pack-priv static final long LOCSIG(byte[] b) | |
| LOCSIZ | back to summary |
|---|---|
| pack-priv static final long LOCSIZ(byte[] b) | |
| LOCTIM | back to summary |
|---|---|
| pack-priv static final long LOCTIM(byte[] b) | |
| LOCVER | back to summary |
|---|---|
| pack-priv static final int LOCVER(byte[] b) | |
| overflowDosToJavaTime | back to summary |
|---|---|
private static long overflowDosToJavaTime(int year, int month, int day, int hour, int minute, int second)
| |
| unixTimeToFileTime | back to summary |
|---|---|
| public static final FileTime unixTimeToFileTime(long utime) Converts "standard Unix time"(in seconds, UTC/GMT) to FileTime | |
| winTimeToFileTime | back to summary |
|---|---|
| public static final FileTime winTimeToFileTime(long wtime) Converts Windows time (in microseconds, UTC/GMT) time to FileTime. | |
| ZIP64_ENDOFF | back to summary |
|---|---|
| pack-priv static final long ZIP64_ENDOFF(byte[] b) | |
| ZIP64_ENDSIZ | back to summary |
|---|---|
| pack-priv static final long ZIP64_ENDSIZ(byte[] b) | |
| ZIP64_ENDTOD | back to summary |
|---|---|
| pack-priv static final long ZIP64_ENDTOD(byte[] b) | |
| ZIP64_ENDTOT | back to summary |
|---|---|
| pack-priv static final long ZIP64_ENDTOT(byte[] b) | |
| ZIP64_LOCOFF | back to summary |
|---|---|
| pack-priv static final long ZIP64_LOCOFF(byte[] b) | |