BeginFile Event

Fired before a file is processed.

Syntax

public class DefaultBzip2EventListener implements Bzip2EventListener {
  ...
  public void beginFile(Bzip2BeginFileEvent e) {}
  ...
}

public class Bzip2BeginFileEvent {
  public int index;
  public boolean skip;
}

Remarks

BeginFile is fired before compression or decompression begins. Index will contain 0.

You may use the Skip parameter to tell the class to skip the file when appending or decompressing.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks ZIP 2020 Java Edition - Version 20.0 [Build 8300]