ZIP Methods |
[This is preliminary documentation and is subject to change.]
The ZIP type exposes the following members.
Name | Description | |
---|---|---|
CheckForError | (Inherited from ContextState.) | |
Close |
Closes the current open ZIP file
(API Extension)
| |
Contains |
Check if the given path name is present in the current ZIP file.
(API Extension)
| |
Equals | (Inherited from Object.) | |
Extract |
Extracts the contents of the file "FileName" from the current (open) ZIP file.
Returns a byte-string.
(API Extension)
| |
Finalize | (Inherited from Object.) | |
GetContextHandle |
Returns the low-level handle of the current OpenDSS/DSS-CAPI instance.
(Inherited from ContextState.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
List |
List of strings consisting of all names match the regular expression provided in regexp.
If no expression is provided, all names in the current open ZIP are returned.
See https://regex.sorokin.engineer/en/latest/regular_expressions.html for information on
the expression syntax and options.
(API Extension)
| |
MemberwiseClone | (Inherited from Object.) | |
Open |
Opens and prepares a ZIP file to be used by the DSS text parser.
Currently, the ZIP format support is limited by what is provided in the Free Pascal distribution.
Besides that, the full filenames inside the ZIP must be shorter than 256 characters.
The limitations should be removed in a future revision.
(API Extension)
| |
Redirect |
Runs a "Redirect" command inside the current (open) ZIP file.
In the current implementation, all files required by the script must
be present inside the ZIP, using relative paths. The only exceptions are
memory-mapped files.
(API Extension)
| |
ToString | (Inherited from Object.) |