FileZipArchive
''Note: This library is considered experimental and should not be used unless you know what you are doing.''
Type members
Inherited classlikes
''Note: This library is considered experimental and should not be used unless you know what you are doing.''
''Note: This library is considered experimental and should not be used unless you know what you are doing.''
- Inherited from:
- ZipArchive
''Note: This library is considered experimental and should not be used unless you know what you are doing.''
''Note: This library is considered experimental and should not be used unless you know what you are doing.''
- Inherited from:
- ZipArchive
Value members
Concrete methods
Compares the receiver object (this
) with the argument object (that
) for equivalence.
Compares the receiver object (this
) with the argument object (that
) for equivalence.
Any implementation of this method should be an equivalence relation:
- It is reflexive: for any instance
x
of typeAny
,x.equals(x)
should returntrue
. - It is symmetric: for any instances
x
andy
of typeAny
,x.equals(y)
should returntrue
if and only ify.equals(x)
returnstrue
. - It is transitive: for any instances
x
,y
, andz
of typeAny
ifx.equals(y)
returnstrue
andy.equals(z)
returnstrue
, thenx.equals(z)
should returntrue
.
If you override this method, you should verify that your implementation remains an equivalence relation.
Additionally, when overriding this method it is usually necessary to override hashCode
to ensure that
objects which are "equal" (o1.equals(o2)
returns true
) hash to the same scala.Int.
(o1.hashCode.equals(o2.hashCode)
).
- Value parameters:
- that
the object to compare against this object for equality.
- Returns:
true
if the receiver object is equivalent to the argument;false
otherwise.- Definition Classes
- Equals -> Any
Calculate a hash code value for the object.
Calculate a hash code value for the object.
The default hashing algorithm is platform dependent.
Note that it is allowed for two objects to have identical hash codes (o1.hashCode.equals(o2.hashCode)
) yet
not be equal (o1.equals(o2)
returns false
). A degenerate implementation could always return 0
.
However, it is required that if two objects are equal (o1.equals(o2)
returns true
) that they have
identical hash codes (o1.hashCode.equals(o2.hashCode)
). Therefore, when overriding this method, be sure
to verify that the behavior is consistent with the equals
method.
- Returns:
the hash code value for this object.
- Definition Classes
- Any
Returns all abstract subfiles of this abstract directory.
Returns all abstract subfiles of this abstract directory.
Returns the time that this abstract file was last modified.
Returns the time that this abstract file was last modified.
Inherited methods
The absolute file, if this is a relative file.
The absolute file, if this is a relative file.
- Inherited from:
- ZipArchive
Returns the absolute path of this abstract file.
Returns the absolute path of this abstract file.
- Inherited from:
- AbstractFile
Returns a buffered output stream for writing the file - defaults to out
Returns a buffered output stream for writing the file - defaults to out
- Inherited from:
- AbstractFile
Returns the path of this abstract file in a canonical form.
Returns the path of this abstract file in a canonical form.
- Inherited from:
- AbstractFile
Returns the containing directory of this abstract file
Returns the containing directory of this abstract file
- Inherited from:
- ZipArchive
- Inherited from:
- IterableOnceOps
- Inherited from:
- IterableOnceOps
Create a file on disk, if one does not exist already.
Create a file on disk, if one does not exist already.
- Inherited from:
- ZipArchive
Delete the underlying file or directory (recursively).
Delete the underlying file or directory (recursively).
- Inherited from:
- ZipArchive
Does this abstract file denote an existing file?
Does this abstract file denote an existing file?
- Inherited from:
- AbstractFile
Returns the underlying File if any and null otherwise.
Returns the underlying File if any and null otherwise.
- Inherited from:
- AbstractFile
Get the file in this directory with the given name, creating an empty file if it does not already existing.
Get the file in this directory with the given name, creating an empty file if it does not already existing.
- Inherited from:
- AbstractFile
- Inherited from:
- IterableOps
Checks extension case insensitively.
Checks extension case insensitively.
- Inherited from:
- AbstractFile
Does this abstract file represent something which can contain classfiles?
Does this abstract file represent something which can contain classfiles?
- Inherited from:
- AbstractFile
Does this abstract file correspond to something on-disk?
Does this abstract file correspond to something on-disk?
- Inherited from:
- AbstractFile
Returns the abstract file in this abstract directory with the specified
name. If there is no such file, returns null
. The argument
directory
tells whether to look for a directory or
a regular file.
Returns the abstract file in this abstract directory with the specified
name. If there is no such file, returns null
. The argument
directory
tells whether to look for a directory or
a regular file.
- Inherited from:
- ZipArchive
Returns an abstract file with the given name. It does not check that it exists.
Returns an abstract file with the given name. It does not check that it exists.
- Inherited from:
- ZipArchive
Drill down through subdirs looking for the target, as in lookupName. Ths target name is the last of parts.
Drill down through subdirs looking for the target, as in lookupName. Ths target name is the last of parts.
- Inherited from:
- AbstractFile
Return an abstract file that does not check that path
denotes
an existing file.
Return an abstract file that does not check that path
denotes
an existing file.
- Inherited from:
- AbstractFile
- Inherited from:
- IterableOnceOps
Returns an output stream for writing the file
Returns an output stream for writing the file
- Inherited from:
- ZipArchive
Get the subdirectory with a given name, creating it if it does not already exist.
Get the subdirectory with a given name, creating it if it does not already exist.
- Inherited from:
- AbstractFile
Returns contents of file (if applicable) in a byte array.
Returns contents of file (if applicable) in a byte array.
- Inherited from:
- AbstractFile
Returns contents of file (if applicable) in a Char array.
warning: use Global.getSourceFile()
to use the proper
encoding when converting to the char array.
Returns contents of file (if applicable) in a Char array.
warning: use Global.getSourceFile()
to use the proper
encoding when converting to the char array.
- Inherited from:
- AbstractFile
Returns the path of this abstract file.
Returns the path of this abstract file.
- Definition Classes
- Inherited from:
- AbstractFile
An underlying source, if known. Mostly, a zip/jar file.
An underlying source, if known. Mostly, a zip/jar file.
- Definition Classes
- Inherited from:
- ZipArchive
Deprecated and Inherited methods
- Deprecated
[Since version 2.13.0]
Use ++ instead of ++: for collections of type Iterable- Inherited from:
- IterableOps
- Deprecated
[Since version 2.13.0]
Use foldLeft instead of /:- Inherited from:
- IterableOnceOps
- Deprecated
[Since version 2.13.0]
Use foldRight instead of :\\- Inherited from:
- IterableOnceOps
- Deprecated
[Since version 2.13.0]
`aggregate` is not relevant for sequential collections. Use `foldLeft(z)(seqop)` instead.- Inherited from:
- IterableOnceOps
- Deprecated
[Since version 2.13.0]
Use iterableFactory instead- Inherited from:
- IterableOps
- Deprecated
[Since version 2.13.0]
Use `dest ++= coll` instead- Inherited from:
- IterableOnceOps
- Deprecated
[Since version 2.13.0]
Check .knownSize instead of .hasDefiniteSize for more actionable information (see scaladoc for details)- Inherited from:
- IterableOnceOps
- Deprecated
[Since version 2.13.0]
Use coll instead of repr in a collection implementation, use the collection value itself from the outside- Inherited from:
- IterableOps
- Deprecated
[Since version 2.13.0]
Iterable.seq always returns the iterable itself- Inherited from:
- Iterable
- Deprecated
[Since version 2.13.7]
toIterable is internal and will be made protected; its name is similar to `toList` or `toSeq`, but it doesn\'t copy non-immutable collections- Inherited from:
- Iterable
- Deprecated
[Since version 2.13.0]
Use .iterator instead of .toIterator- Inherited from:
- IterableOnceOps
- Deprecated
[Since version 2.13.0]
Use .to(LazyList) instead of .toStream- Inherited from:
- IterableOnceOps
- Deprecated
[Since version 2.13.0]
toTraversable is internal and will be made protected; its name is similar to `toList` or `toSeq`, but it doesn\'t copy non-immutable collections- Inherited from:
- IterableOps
- Deprecated
[Since version 2.13.0]
Use .view.slice(from, until) instead of .view(from, until)- Inherited from:
- IterableOps