Class FSReader

The filesystem reader class.

class FSReader ;

Methods

NameDescription
extract (Path, OutputPath, STF) Extracts this filesystem.
extractWithCallback (Path, OutputPath, STF, Callback) Extracts this filesystem, executing a callback function when an element is extracted.
fastModeEnabled () Checks if this filesystem reader is operating on fast mode.
getNextEntry () Returns the next entry on the filesystem. If there's no entry, null is returned instead.
isEOF () Check if end of file has been reached.
isLocked () Checks if there's an operation going on in this filesystem.
read () Reads a single byte from the current entry.
read (Amount) Reads a chunk of data from the current entry.
totalEntries () Returns the total number of entries of this filesystem if fastmode is enabled, if its not enabled, zero will be returned instead.