IP*Works! ZIP V8

ipworkszip
Class JarBeginFileEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--ipworkszip.JarBeginFileEvent
All Implemented Interfaces:
java.io.Serializable

public class JarBeginFileEvent
extends java.util.EventObject

Fired before each file is processed.

BeginFile is fired before each file is processed by the compressor or decompressor, as appropriate. Index contains the array index of the file about to be processed, and the CompressedName , DecompressedName , CompressedSize (decompression only), and DecompressedSize fields of the Files collection for this index contain more detailed information about the file about to be processed.

When extracting, an alternate location may be specified by trapping the event, and modifying DecompressedName and/or ExtractToPath . If the appropriate value of DecompressedName is set to an empty string, the file will not be written to disk. If WriteToProgressEvent is true, the file will still be decompressed, and the data may be extracted through the Progress event.

This event may also be trapped while compressing. CompressedName and DecompressedName may be changed.

You may set the Skip parameter to true in order to skip the file completely while compressing or extracting.

See Also:
Jar, Jar.BeginFileEvent, Serialized Form

Field Summary
 int index
           
 boolean skip
           
 
Fields inherited from class java.util.EventObject
source
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

index

public int index

skip

public boolean skip

IP*Works! ZIP V8

Copyright (c) 2009 /n software inc. - All rights reserved.