FileChannel.
| Modifier and Type | Field and Description |
|---|---|
| private File | file
The |
| private int | hashCode
The cached hashCode. |
| pack-priv NestedJarHandler | nestedJarHandler
The nested jar handler. |
| private Path | path
The |
| private final String | pathStr
The path to the zipfile. |
| pack-priv Slice |
| Access | Constructor and Description |
|---|---|
| pack-priv | PhysicalZipFile(final File
the file file, final NestedJarHandler the nested jar handler nestedJarHandler, final LogNode the log log)Construct a |
| pack-priv | PhysicalZipFile(final Path
the path path, final NestedJarHandler the nested jar handler nestedJarHandler, final LogNode the log log)Construct a |
| pack-priv | PhysicalZipFile(final byte[]
the array containing the zipfile. arr, final File the outermost file outermostFile, final String the path pathStr, final NestedJarHandler the nested jar handler nestedJarHandler)Construct a |
| pack-priv | PhysicalZipFile(final InputStream
the input stream inputStream, final long The number of bytes to read in inputStream, or -1 if unknown. inputStreamLengthHint, final String the source URL the InputStream was opened from, or the zip entry path of this entry in the parent
zipfile pathStr, final NestedJarHandler the nested jar handler nestedJarHandler, final LogNode the log log)Construct a |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(final Object
the reference object with which to compare. o)Overrides java. Indicates whether some other object is "equal to" this one. |
| public File | |
| public Path | |
| public String | Returns: the path for this PhysicalZipFile, which is the file path, if it is file-backed, or a compound nested jar path, if it is memory-backed.Get the path for this PhysicalZipFile, which is the file path, if it is file-backed, or a compound nested jar path, if it is memory-backed. |
| public int | |
| public long | Returns: the length of the mapped fileGet the length of the mapped file, or the initial remaining bytes in the wrapped ByteBuffer if a buffer was wrapped. |
| public String |
| file | back to summary |
|---|---|
| private File file The | |
| hashCode | back to summary |
|---|---|
| private int hashCode The cached hashCode. | |
| nestedJarHandler | back to summary |
|---|---|
| pack-priv NestedJarHandler nestedJarHandler The nested jar handler. | |
| path | back to summary |
|---|---|
| private Path path The | |
| pathStr | back to summary |
|---|---|
| private final String pathStr The path to the zipfile. | |
| slice | back to summary |
|---|---|
| pack-priv Slice slice The | |
| PhysicalZipFile | back to summary |
|---|---|
| pack-priv PhysicalZipFile(final File file, final NestedJarHandler nestedJarHandler, final LogNode log) throws IOException Construct a
| |
| PhysicalZipFile | back to summary |
|---|---|
| pack-priv PhysicalZipFile(final Path path, final NestedJarHandler nestedJarHandler, final LogNode log) throws IOException Construct a
| |
| PhysicalZipFile | back to summary |
|---|---|
| pack-priv PhysicalZipFile(final byte[] arr, final File outermostFile, final String pathStr, final NestedJarHandler nestedJarHandler) throws IOException Construct a
| |
| PhysicalZipFile | back to summary |
|---|---|
| pack-priv PhysicalZipFile(final InputStream inputStream, final long inputStreamLengthHint, final String pathStr, final NestedJarHandler nestedJarHandler, final LogNode log) throws IOException Construct a
| |
| equals | back to summary |
|---|---|
| public boolean equals(final Object o) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| getFile | back to summary |
|---|---|
| public File getFile() Get the | |
| getPath | back to summary |
|---|---|
| public Path getPath() Get the | |
| getPathStr | back to summary |
|---|---|
| public String getPathStr() Get the path for this PhysicalZipFile, which is the file path, if it is file-backed, or a compound nested jar path, if it is memory-backed.
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| length | back to summary |
|---|---|
| public long length() Get the length of the mapped file, or the initial remaining bytes in the wrapped ByteBuffer if a buffer was wrapped.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |