| Modifier and Type | Class and Description |
|---|---|
| private class | |
| pack-priv static class | |
| pack-priv static class | |
| private class | |
| private class | |
| private class | |
| private class | |
| private class | |
| private class | |
| pack-priv static class | |
| pack-priv static class | |
| pack-priv class | |
| private static enum |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final byte[] | |
| private final SeekableByteChannel | |
| private static final String | |
| private static final String | |
| private final int | |
| private final GroupPrincipal | |
| private final UserPrincipal | |
| private final Set | |
| private final List | |
| private ZipFileSystem. | |
| private Function | |
| private final boolean | |
| private static final String | |
| private boolean | |
| private final List | |
| private LinkedHashMap | |
| private volatile boolean | |
| private static final boolean | |
| private long | |
| private final ZipFileSystem. | |
| private static final int | |
| private final int | |
| private final boolean | |
| private static final String | |
| private static final String | |
| private static final String | |
| private static final String | |
| private static final String | |
| private static final String | |
| private static final String | |
| private static final String | |
| private final ZipFileSystemProvider | |
| private boolean | |
| private static final String | |
| private final ZipPath | |
| private static final byte[] | |
| private final ReadWriteLock | |
| private Set | |
| private final Set | |
| pack-priv final boolean | |
| private final int | |
| private final Set | |
| private final boolean | |
| pack-priv final ZipCoder | |
| private final Path | |
| private final long |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| private void | |
| private void | |
| pack-priv void | |
| private final void | |
| private void | checkExtraFields(byte[]
CEN array cen, int starting offset in the CEN for the Extra field cenPos, long CEN size value size, long CEN csize value csize, long CEN LOC offset value locoff, int CEN Disk number value diskNo, int Extra Field starting offset within the CEN startingOffset, int Length of this Extra field extraFieldLen)Validate the Zip64 Extra block fields |
| private void | |
| private void | |
| private final void | |
| private void | |
| private void | checkZip64ExtraFieldValues(byte[]
CEN array cen, int the starting offset for the Zip64 field value off, int the size of the Zip64 Extended Extra Field blockSize, long CEN header compressed size value csize, long CEN header uncompressed size value size, long CEN header LOC offset locoff, int CEN header Disk Number diskNo)Validate the Zip64 Extended Information Extra Field (0x0001) block size; that the uncompressed size, compressed size field and LOC offset fields are not negative. |
| public void | close()
Implements abstract java. Implements java. Closes this file system. |
| pack-priv void | |
| private long | copyLOCEntry(ZipFileSystem.
|
| pack-priv void | |
| private Path | |
| private Function | createVersionedLinks(int version)
Create a map of aliases for versioned entries, for example: version/PackagePrivate.class -> META-INF/versions/9/version/PackagePrivate.class version/PackagePrivate.java -> META-INF/versions/9/version/PackagePrivate.java version/Version.class -> META-INF/versions/10/version/Version.class version/Version.java -> META-INF/versions/10/version/Version.java Then wrap the map in a function that getEntry can use to override root entry lookup for entries that have corresponding versioned entries. |
| public void | |
| private Optional | determineReleaseVersion(Map<String, ?> env)
If a version property has been specified and the file represents a multi-release JAR, determine the requested runtime version and initialize the ZipFileSystem instance accordingly. |
| private void | |
| private void | |
| private void | |
| pack-priv boolean | |
| protected void | finalize()
Overrides java. Called by the garbage collector on an object when garbage collection determines that there are no more references to the object. |
| private ZipFileSystem. | |
| pack-priv final byte[] | |
| private int | Returns: The Compression method to useZip FS map of properties env)Return the compression method to use (STORED or DEFLATED). |
| private Deflater | |
| private ZipFileSystem. | |
| pack-priv ZipFileAttributes | |
| pack-priv FileStore | |
| public Iterable | getFileStores()
Implements abstract java. Returns an object to iterate over the underlying file stores. |
| private Inflater | |
| private ZipFileSystem. | |
| private InputStream | |
| private ZipFileSystem. | |
| private OutputStream | |
| private static byte[] | |
| private static int | |
| public ZipPath | getPath(String first, String... more)
Implements abstract java. Converts a path string, or a sequence of strings that when joined form
a path string, to a |
| public PathMatcher | getPathMatcher(String syntaxAndInput)
Implements abstract java. Returns a |
| private PosixFileAttributes | Returns: The POSIX file attributes for the specified file or null if the POSIX attribute view is not availableThe path to the file path)Returns a file's POSIX file attributes. |
| pack-priv ZipPath | |
| public Iterable | getRootDirectories()
Implements abstract java. Returns an object to iterate over the paths of the root directories. |
| private byte[] | getRootName(ZipFileSystem.
Extract the root name from a versioned entry name. |
| public String | getSeparator()
Implements abstract java. Returns the name separator, represented as a string. |
| pack-priv final String | |
| private Path | |
| public UserPrincipalLookupService | getUserPrincipalLookupService()
Implements abstract java. Returns the |
| private Integer | getVersion(ZipFileSystem.
Extract the integer version number -- META-INF/versions/9 returns 9. |
| private TreeMap | getVersionMap(int version, ZipFileSystem.
Create a sorted version map of version -> inode, for inodes <= max version. |
| pack-priv Path | |
| private byte[] | |
| private GroupPrincipal | |
| private UserPrincipal | |
| private Set | |
| pack-priv boolean | |
| private boolean | isMultiReleaseJar()
Returns true if the Manifest main attribute "Multi-Release" is set to true; false otherwise. |
| public boolean | isOpen()
Implements abstract java. Tells whether or not this file system is open. |
| public boolean | isReadOnly()
Implements abstract java. Tells whether or not this file system allows only read-only access to its file stores. |
| private static boolean | |
| private static boolean | Returns: true if the extra block size is valid; false otherwisethe Zip64 Extended Information Extra Field size blockSize, long CEN header compressed size value csize, long CEN header uncompressed size value size, long CEN header LOC offset locoff, int CEN header Disk Number diskNo)Validate the size and contents of a Zip64 extended information field The order of the Zip64 fields is fixed, but the fields MUST only appear if the corresponding LOC or CEN field is set to 0xFFFF: or 0xFFFFFFFF: Uncompressed Size - 8 bytes Compressed Size - 8 bytes LOC Header offset - 8 bytes Disk Start Number - 4 bytes See PKWare APP.Note Section 4.5.3 for more details |
| pack-priv Iterator | |
| pack-priv byte[] | |
| private void | |
| pack-priv SeekableByteChannel | |
| pack-priv FileChannel | |
| pack-priv InputStream | |
| pack-priv OutputStream | |
| public WatchService | newWatchService()
Implements abstract java. Constructs a new |
| public FileSystemProvider | provider()
Implements abstract java. Returns the provider that created this file system. |
| private int | |
| pack-priv final long | readNBytesAt(byte[] buf, int off, long len, long pos)
Reads len bytes of data at the given file position into the given byte array starting at the given array offset. |
| private void | |
| private void | |
| private void | |
| private void | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| public Set | supportedFileAttributeViews()
Implements abstract java. Returns the set of the |
| private void | |
| public String | |
| private void | |
| private void | |
| private void | walk(ZipFileSystem.
Walk the IndexNode tree processing all leaf nodes. |
| private long | |
| private void | |
| private static void |