| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class | Archive.Cp437
Only loaded if CP-437 zip entries exist, which is unlikely but allowed. |
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| private static final int | |
| private static final int | |
| private static final int | BUF_SIZE_MAX
Maximum size of a single buffer. |
| private final ByteBuffer[] | |
| private final long | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| private static final ByteBuffer | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| private final Index | |
| private final long | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| private final long | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int |
| Access | Constructor and Description |
|---|---|
| private | Archive(final ByteBuffer[] bufs, final long offset, final long length, final long cd, final Index index)
|
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static ByteBuffer | |
| pack-priv static int | |
| pack-priv static int | |
| pack-priv static long | |
| public void | close()
Implements java. |
| private static long | |
| public boolean | |
| pack-priv static byte | |
| pack-priv static byte[] | |
| public long | |
| private int | |
| private long | |
| public ByteBuffer | |
| public long | |
| public String | |
| public InputStream | |
| private long | |
| public long | |
| private static int | |
| pack-priv static int | |
| private long | |
| pack-priv static long | |
| pack-priv static int | |
| public long | |
| private static String | |
| public Archive | |
| public long | |
| pack-priv static short | |
| public long | |
| pack-priv static int | |
| pack-priv static int | |
| pack-priv static long | |
| pack-priv static long | |
| pack-priv static int | |
| public boolean | |
| public boolean | |
| public static Archive | |
| public static Archive | |
| pack-priv static Archive | |
| pack-priv static Archive | |
| pack-priv static void | |
| pack-priv static ByteBuffer |
| BUF_SHIFT | back to summary |
|---|---|
| private static final int BUF_SHIFT | |
| BUF_SIZE_MASK | back to summary |
|---|---|
| private static final int BUF_SIZE_MASK | |
| BUF_SIZE_MAX | back to summary |
|---|---|
| private static final int BUF_SIZE_MAX Maximum size of a single buffer. | |
| bufs | back to summary |
|---|---|
| private final ByteBuffer[] bufs | |
| cd | back to summary |
|---|---|
| private final long cd | |
| CDE_COMMENT_LENGTH | back to summary |
|---|---|
| public static final int CDE_COMMENT_LENGTH | |
| CDE_COMP_METHOD | back to summary |
|---|---|
| public static final int CDE_COMP_METHOD | |
| CDE_COMPRESSED_SIZE | back to summary |
|---|---|
| public static final int CDE_COMPRESSED_SIZE | |
| CDE_CRC_32 | back to summary |
|---|---|
| public static final int CDE_CRC_32 | |
| CDE_END | back to summary |
|---|---|
| public static final int CDE_END | |
| CDE_EXTERNAL_ATTRIBUTES | back to summary |
|---|---|
| public static final int CDE_EXTERNAL_ATTRIBUTES | |
| CDE_EXTRA_LENGTH | back to summary |
|---|---|
| public static final int CDE_EXTRA_LENGTH | |
| CDE_FILE_NAME_LENGTH | back to summary |
|---|---|
| public static final int CDE_FILE_NAME_LENGTH | |
| CDE_FIRST_DISK_NUMBER | back to summary |
|---|---|
| public static final int CDE_FIRST_DISK_NUMBER | |
| CDE_GP_BITS | back to summary |
|---|---|
| public static final int CDE_GP_BITS | |
| CDE_INTERNAL_ATTRIBUTES | back to summary |
|---|---|
| public static final int CDE_INTERNAL_ATTRIBUTES | |
| CDE_LOCAL_HEADER_OFFSET | back to summary |
|---|---|
| public static final int CDE_LOCAL_HEADER_OFFSET | |
| CDE_MOD_DATE | back to summary |
|---|---|
| public static final int CDE_MOD_DATE | |
| CDE_MOD_TIME | back to summary |
|---|---|
| public static final int CDE_MOD_TIME | |
| CDE_SIGNATURE | back to summary |
|---|---|
| public static final int CDE_SIGNATURE | |
| CDE_UNCOMPRESSED_SIZE | back to summary |
|---|---|
| public static final int CDE_UNCOMPRESSED_SIZE | |
| CDE_VERSION_MADE_BY | back to summary |
|---|---|
| public static final int CDE_VERSION_MADE_BY | |
| CDE_VERSION_NEEDED | back to summary |
|---|---|
| public static final int CDE_VERSION_NEEDED | |
| DD_COMPRESSED_SIZE | back to summary |
|---|---|
| public static final int DD_COMPRESSED_SIZE | |
| DD_CRC_32 | back to summary |
|---|---|
| public static final int DD_CRC_32 | |
| DD_END | back to summary |
|---|---|
| public static final int DD_END | |
| DD_SIGNATURE | back to summary |
|---|---|
| public static final int DD_SIGNATURE | |
| DD_UNCOMPRESSED_SIZE | back to summary |
|---|---|
| public static final int DD_UNCOMPRESSED_SIZE | |
| DD_ZIP64_COMPRESSED_SIZE | back to summary |
|---|---|
| public static final int DD_ZIP64_COMPRESSED_SIZE | |
| DD_ZIP64_END | back to summary |
|---|---|
| public static final int DD_ZIP64_END | |
| DD_ZIP64_UNCOMPRESSED_SIZE | back to summary |
|---|---|
| public static final int DD_ZIP64_UNCOMPRESSED_SIZE | |
| EMPTY_BUF | back to summary |
|---|---|
| private static final ByteBuffer EMPTY_BUF | |
| EOCD_CD_FIRST_DISK_NUMBER | back to summary |
|---|---|
| public static final int EOCD_CD_FIRST_DISK_NUMBER | |
| EOCD_CD_SIZE | back to summary |
|---|---|
| public static final int EOCD_CD_SIZE | |
| EOCD_CD_START_OFFSET | back to summary |
|---|---|
| public static final int EOCD_CD_START_OFFSET | |
| EOCD_CDE_COUNT_ALL | back to summary |
|---|---|
| public static final int EOCD_CDE_COUNT_ALL | |
| EOCD_CDE_COUNT_THIS_DISK | back to summary |
|---|---|
| public static final int EOCD_CDE_COUNT_THIS_DISK | |
| EOCD_COMMENT_LENGTH | back to summary |
|---|---|
| public static final int EOCD_COMMENT_LENGTH | |
| EOCD_DISK_NUMBER | back to summary |
|---|---|
| public static final int EOCD_DISK_NUMBER | |
| EOCD_END | back to summary |
|---|---|
| public static final int EOCD_END | |
| EOCD_SIGNATURE | back to summary |
|---|---|
| public static final int EOCD_SIGNATURE | |
| EOCD_ZIP64_CD_FIRST_DISK_NUMBER | back to summary |
|---|---|
| public static final int EOCD_ZIP64_CD_FIRST_DISK_NUMBER | |
| EOCD_ZIP64_CD_SIZE | back to summary |
|---|---|
| public static final int EOCD_ZIP64_CD_SIZE | |
| EOCD_ZIP64_CD_START_OFFSET | back to summary |
|---|---|
| public static final int EOCD_ZIP64_CD_START_OFFSET | |
| EOCD_ZIP64_CDE_COUNT_ALL | back to summary |
|---|---|
| public static final int EOCD_ZIP64_CDE_COUNT_ALL | |
| EOCD_ZIP64_CDE_COUNT_THIS_DISK | back to summary |
|---|---|
| public static final int EOCD_ZIP64_CDE_COUNT_THIS_DISK | |
| EOCD_ZIP64_DISK_NUMBER | back to summary |
|---|---|
| public static final int EOCD_ZIP64_DISK_NUMBER | |
| EOCD_ZIP64_END | back to summary |
|---|---|
| public static final int EOCD_ZIP64_END | |
| EOCD_ZIP64_SIGNATURE | back to summary |
|---|---|
| public static final int EOCD_ZIP64_SIGNATURE | |
| EOCD_ZIP64_SIZE | back to summary |
|---|---|
| public static final int EOCD_ZIP64_SIZE | |
| EOCD_ZIP64_VERSION_MADE_BY | back to summary |
|---|---|
| public static final int EOCD_ZIP64_VERSION_MADE_BY | |
| EOCD_ZIP64_VERSION_NEEDED | back to summary |
|---|---|
| public static final int EOCD_ZIP64_VERSION_NEEDED | |
| EOCDL_ZIP64_DISK_COUNT | back to summary |
|---|---|
| public static final int EOCDL_ZIP64_DISK_COUNT | |
| EOCDL_ZIP64_END | back to summary |
|---|---|
| public static final int EOCDL_ZIP64_END | |
| EOCDL_ZIP64_EOCD_DISK_NUMBER | back to summary |
|---|---|
| public static final int EOCDL_ZIP64_EOCD_DISK_NUMBER | |
| EOCDL_ZIP64_EOCD_OFFSET | back to summary |
|---|---|
| public static final int EOCDL_ZIP64_EOCD_OFFSET | |
| EOCDL_ZIP64_SIGNATURE | back to summary |
|---|---|
| public static final int EOCDL_ZIP64_SIGNATURE | |
| EXT_ID_UNIX | back to summary |
|---|---|
| public static final int EXT_ID_UNIX | |
| EXT_ID_ZIP64 | back to summary |
|---|---|
| public static final int EXT_ID_ZIP64 | |
| GP_CD_MASKED | back to summary |
|---|---|
| public static final int GP_CD_MASKED | |
| GP_COMPRESSED_PATCHED | back to summary |
|---|---|
| public static final int GP_COMPRESSED_PATCHED | |
| GP_DEFLATE_COMP_OPT_FAST | back to summary |
|---|---|
| public static final int GP_DEFLATE_COMP_OPT_FAST | |
| GP_DEFLATE_COMP_OPT_MASK | back to summary |
|---|---|
| public static final int GP_DEFLATE_COMP_OPT_MASK | |
| GP_DEFLATE_COMP_OPT_MAXIMUM | back to summary |
|---|---|
| public static final int GP_DEFLATE_COMP_OPT_MAXIMUM | |
| GP_DEFLATE_COMP_OPT_NORMAL | back to summary |
|---|---|
| public static final int GP_DEFLATE_COMP_OPT_NORMAL | |
| GP_DEFLATE_COMP_OPT_SUPER_FAST | back to summary |
|---|---|
| public static final int GP_DEFLATE_COMP_OPT_SUPER_FAST | |
| GP_ENCRYPTED | back to summary |
|---|---|
| public static final int GP_ENCRYPTED | |
| GP_IMPLODE_3_TREES | back to summary |
|---|---|
| public static final int GP_IMPLODE_3_TREES | |
| GP_IMPLODE_8K_DICTIONARY | back to summary |
|---|---|
| public static final int GP_IMPLODE_8K_DICTIONARY | |
| GP_LATE_SIZES | back to summary |
|---|---|
| public static final int GP_LATE_SIZES | |
| GP_LZMA_EOS_USED | back to summary |
|---|---|
| public static final int GP_LZMA_EOS_USED | |
| GP_STRONG_ENCRYPTION | back to summary |
|---|---|
| public static final int GP_STRONG_ENCRYPTION | |
| GP_UTF_8 | back to summary |
|---|---|
| public static final int GP_UTF_8 | |
| index | back to summary |
|---|---|
| private final Index index | |
| length | back to summary |
|---|---|
| private final long length | |
| LH_COMP_METHOD | back to summary |
|---|---|
| public static final int LH_COMP_METHOD | |
| LH_COMPRESSED_SIZE | back to summary |
|---|---|
| public static final int LH_COMPRESSED_SIZE | |
| LH_CRC_32 | back to summary |
|---|---|
| public static final int LH_CRC_32 | |
| LH_END | back to summary |
|---|---|
| public static final int LH_END | |
| LH_EXTRA_LENGTH | back to summary |
|---|---|
| public static final int LH_EXTRA_LENGTH | |
| LH_FILE_NAME_LENGTH | back to summary |
|---|---|
| public static final int LH_FILE_NAME_LENGTH | |
| LH_GP_BITS | back to summary |
|---|---|
| public static final int LH_GP_BITS | |
| LH_MIN_VERSION | back to summary |
|---|---|
| public static final int LH_MIN_VERSION | |
| LH_MOD_DATE | back to summary |
|---|---|
| public static final int LH_MOD_DATE | |
| LH_MOD_TIME | back to summary |
|---|---|
| public static final int LH_MOD_TIME | |
| LH_SIGNATURE | back to summary |
|---|---|
| public static final int LH_SIGNATURE | |
| LH_UNCOMPRESSED_SIZE | back to summary |
|---|---|
| public static final int LH_UNCOMPRESSED_SIZE | |
| MADE_BY_MS_DOS | back to summary |
|---|---|
| public static final int MADE_BY_MS_DOS | |
| MADE_BY_NTFS | back to summary |
|---|---|
| public static final int MADE_BY_NTFS | |
| MADE_BY_OS_X | back to summary |
|---|---|
| public static final int MADE_BY_OS_X | |
| MADE_BY_UNIX | back to summary |
|---|---|
| public static final int MADE_BY_UNIX | |
| METHOD_BZIP2 | back to summary |
|---|---|
| public static final int METHOD_BZIP2 | |
| METHOD_DEFLATE | back to summary |
|---|---|
| public static final int METHOD_DEFLATE | |
| METHOD_DEFLATE64 | back to summary |
|---|---|
| public static final int METHOD_DEFLATE64 | |
| METHOD_IMPLODE | back to summary |
|---|---|
| public static final int METHOD_IMPLODE | |
| METHOD_LZMA | back to summary |
|---|---|
| public static final int METHOD_LZMA | |
| METHOD_REDUCE_1 | back to summary |
|---|---|
| public static final int METHOD_REDUCE_1 | |
| METHOD_REDUCE_2 | back to summary |
|---|---|
| public static final int METHOD_REDUCE_2 | |
| METHOD_REDUCE_3 | back to summary |
|---|---|
| public static final int METHOD_REDUCE_3 | |
| METHOD_REDUCE_4 | back to summary |
|---|---|
| public static final int METHOD_REDUCE_4 | |
| METHOD_SHRINK | back to summary |
|---|---|
| public static final int METHOD_SHRINK | |
| METHOD_STORED | back to summary |
|---|---|
| public static final int METHOD_STORED | |
| offset | back to summary |
|---|---|
| private final long offset | |
| SIG_CDE | back to summary |
|---|---|
| public static final int SIG_CDE | |
| SIG_DD | back to summary |
|---|---|
| public static final int SIG_DD | |
| SIG_EOCD | back to summary |
|---|---|
| public static final int SIG_EOCD | |
| SIG_EOCD_ZIP64 | back to summary |
|---|---|
| public static final int SIG_EOCD_ZIP64 | |
| SIG_EOCDL_ZIP64 | back to summary |
|---|---|
| public static final int SIG_EOCDL_ZIP64 | |
| SIG_LH | back to summary |
|---|---|
| public static final int SIG_LH | |
| UNIX_ACCESS_TIME | back to summary |
|---|---|
| public static final int UNIX_ACCESS_TIME | |
| UNIX_DEV_END | back to summary |
|---|---|
| public static final int UNIX_DEV_END | |
| UNIX_DEV_MAJOR | back to summary |
|---|---|
| public static final int UNIX_DEV_MAJOR | |
| UNIX_DEV_MINOR | back to summary |
|---|---|
| public static final int UNIX_DEV_MINOR | |
| UNIX_END | back to summary |
|---|---|
| public static final int UNIX_END | |
| UNIX_GID | back to summary |
|---|---|
| public static final int UNIX_GID | |
| UNIX_MODIFIED_TIME | back to summary |
|---|---|
| public static final int UNIX_MODIFIED_TIME | |
| UNIX_UID | back to summary |
|---|---|
| public static final int UNIX_UID | |
| ZIP64_COMPRESSED_SIZE | back to summary |
|---|---|
| public static final int ZIP64_COMPRESSED_SIZE | |
| ZIP64_END | back to summary |
|---|---|
| public static final int ZIP64_END | |
| ZIP64_FIRST_DISK_NUMBER | back to summary |
|---|---|
| public static final int ZIP64_FIRST_DISK_NUMBER | |
| ZIP64_LOCAL_HEADER_OFFSET | back to summary |
|---|---|
| public static final int ZIP64_LOCAL_HEADER_OFFSET | |
| ZIP64_UNCOMPRESSED_SIZE | back to summary |
|---|---|
| public static final int ZIP64_UNCOMPRESSED_SIZE | |
| Archive | back to summary |
|---|---|
| private Archive(final ByteBuffer[] bufs, final long offset, final long length, final long cd, final Index index) | |
| bufferOf | back to summary |
|---|---|
| pack-priv static ByteBuffer bufferOf(ByteBuffer[] bufs, long idx, int len) | |
| bufIdx | back to summary |
|---|---|
| pack-priv static int bufIdx(long idx) | |
| bufOffs | back to summary |
|---|---|
| pack-priv static int bufOffs(long idx) | |
| capacity | back to summary |
|---|---|
| pack-priv static long capacity(ByteBuffer[] bufs) | |
| close | back to summary |
|---|---|
| public void close() Implements java. Doc from java. Closes this stream and releases any system resources associated with it. If the stream is already closed then invoking this method has no effect. As noted in | |
| dosTimeStamp | back to summary |
|---|---|
| private static long dosTimeStamp(int modTime, int modDate) | |
| entryNameEquals | back to summary |
|---|---|
| public boolean entryNameEquals(final long entryHandle, final String fileName) | |
| getByte | back to summary |
|---|---|
| pack-priv static byte getByte(ByteBuffer[] bufs, long idx) | |
| getBytes | back to summary |
|---|---|
| pack-priv static byte[] getBytes(ByteBuffer[] bufs, long idx, int len) | |
| getCompressedSize | back to summary |
|---|---|
| public long getCompressedSize(long entryHandle) | |
| getCompressionMethod | back to summary |
|---|---|
| private int getCompressionMethod(final long entryHandle) | |
| getDataOffset | back to summary |
|---|---|
| private long getDataOffset(final long localHeader) | |
| getEntryContents | back to summary |
|---|---|
| public ByteBuffer getEntryContents(long entryHandle) throws IOException | |
| getEntryHandle | back to summary |
|---|---|
| public long getEntryHandle(String fileName) | |
| getEntryName | back to summary |
|---|---|
| public String getEntryName(long entryHandle) | |
| getEntryStream | back to summary |
|---|---|
| public InputStream getEntryStream(final long entryHandle) throws IOException | |
| getExtraRecord | back to summary |
|---|---|
| private long getExtraRecord(final long entryHandle, final int headerId) | |
| getFirstEntryHandle | back to summary |
|---|---|
| public long getFirstEntryHandle() | |
| getHashCodeOfEntry | back to summary |
|---|---|
| private static int getHashCodeOfEntry(ByteBuffer[] bufs, long cde) | |
| getInt | back to summary |
|---|---|
| pack-priv static int getInt(ByteBuffer[] bufs, long idx) | |
| getLocalHeader | back to summary |
|---|---|
| private long getLocalHeader(long entryHandle) | |
| getLong | back to summary |
|---|---|
| pack-priv static long getLong(ByteBuffer[] bufs, long idx) | |
| getMedium | back to summary |
|---|---|
| pack-priv static int getMedium(ByteBuffer[] bufs, long idx) | |
| getModifiedTime | back to summary |
|---|---|
| public long getModifiedTime(long entryHandle) | |
| getNameOfEntry | back to summary |
|---|---|
| private static String getNameOfEntry(ByteBuffer[] bufs, long cde) | |
| getNestedArchive | back to summary |
|---|---|
| public Archive getNestedArchive(long entryHandle) throws IOException | |
| getNextEntryHandle | back to summary |
|---|---|
| public long getNextEntryHandle(long entryHandle) | |
| getShort | back to summary |
|---|---|
| pack-priv static short getShort(ByteBuffer[] bufs, long idx) | |
| getUncompressedSize | back to summary |
|---|---|
| public long getUncompressedSize(long entryHandle) | |
| getUnsignedByte | back to summary |
|---|---|
| pack-priv static int getUnsignedByte(ByteBuffer[] bufs, long idx) | |
| getUnsignedByte | back to summary |
|---|---|
| pack-priv static int getUnsignedByte(ByteBuffer buf, int idx) | |
| getUnsignedInt | back to summary |
|---|---|
| pack-priv static long getUnsignedInt(ByteBuffer[] bufs, long idx) | |
| getUnsignedMedium | back to summary |
|---|---|
| pack-priv static long getUnsignedMedium(ByteBuffer[] bufs, long idx) | |
| getUnsignedShort | back to summary |
|---|---|
| pack-priv static int getUnsignedShort(ByteBuffer[] bufs, long idx) | |
| isCompressed | back to summary |
|---|---|
| public boolean isCompressed(long entryHandle) | |
| isDirectory | back to summary |
|---|---|
| public boolean isDirectory(final long entryHandle) | |
| open | back to summary |
|---|---|
| public static Archive open(Path path) throws IOException | |
| open | back to summary |
|---|---|
| public static Archive open(ByteBuffer buf) throws IOException | |
| open | back to summary |
|---|---|
| pack-priv static Archive open(ByteBuffer[] bufs) throws IOException | |
| open | back to summary |
|---|---|
| pack-priv static Archive open(ByteBuffer[] bufs, long offset, long length) throws IOException | |
| readBytes | back to summary |
|---|---|
| pack-priv static void readBytes(ByteBuffer[] bufs, long idx, byte[] dest, int off, int len) | |
| sliceOf | back to summary |
|---|---|
| pack-priv static ByteBuffer sliceOf(ByteBuffer[] bufs, long idx, int len) | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final char[] |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static char |
| codePoints | back to summary |
|---|---|
| pack-priv static final char[] codePoints | |
| Cp437 | back to summary |
|---|---|
| private Cp437() | |
| charFor | back to summary |
|---|---|
| pack-priv static char charFor(int c) | |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static int | |
| pack-priv static int |
| Utf8 | back to summary |
|---|---|
| private Utf8() | |
| codePointAt | back to summary |
|---|---|
| pack-priv static int codePointAt(final ByteBuffer[] bufs, final long i) | |
| getByteCount | back to summary |
|---|---|
| pack-priv static int getByteCount(final int a) | |