AfterExtractFile Event
Marks the completion of extraction of an archived file.
Syntax
public open class DefaultArchivereaderEventListener : ArchivereaderEventListener { ... public override fun afterExtractFile(e: ArchivereaderAfterExtractFileEvent) {} ... } public class ArchivereaderAfterExtractFileEvent { val path: String? val fileSize: Long val dataSource: Int }
Remarks
Subscribe to this event to get notified about the completion of extraction of an archived file.
The Path parameter specifies the internal path to the entry inside the archive. The FileSize indicates the size of the decompressed file, and the DataSource specifies the type of the destination media.
fdsFile (0) | The data was saved to a file. |
fdsStream (1) | The data was saved into a stream assigned to FileStream property. |
fdsBuffer (2) | The file data is available in FileData buffer. |