Class FSWriter

The filesystem writer class.

class FSWriter ;

Methods

NameDescription
addEntry (Entry) Adds a new entry to the filesystem.
archive (Path, OutputPath, STF) Archives a directory or a file.
archiveWithCallback (Path, OutputPath, STF, Callback) Archives a directory or file, using a callback for every element added to the filesystem.
blockSize () Returns the storage's block size.
end () Ends writing data to the current entry.
isLocked () Checks if there's an operation going on on this filesystem.
isWritable () Checks if this filesystem writer can use the write methods.
write (Data) Write a single byte to this filesystem.
write (Chunk) Write an entire chunk of data to this filesystem.