Class IO.ZipFile

implements IO.Path

Properties

name the file or folder name portion of the path as a string
path the path as a string

Methods

bytes() contents of this file as a buffer
exists() returns true if the file or folder exists in the filesystem
folder() returns true if the path is a folder
size() the uncompressed size of the file
text() full contents of this file as a string

Property Documentation


string name

The file or folder name portion of the path as a string.


string path

The path as a string.

Method Documentation


buffer bytes()

Contents of this file as a buffer

Returns


bool exists()

Returns true if the file or folder exists in the filesystem.

Returns


bool folder()

Returns true if the path is a folder.

Returns


integer size()

The uncompressed size of the file

Returns


string text()

Full contents of this file as a string

Returns



Creative Commons Logo This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.