EventsBag

Inheritance: java.lang.Object

public final class EventsBag

Events container used on Archive saving.

Constructors

ConstructorDescription
EventsBag()

Methods

MethodDescription
getEntryAccessed()Gets an event that is raised before an archive entry is being compressed.
getEntryCompressed()Gets an event that is raised after an archive entry has been compressed.
setEntryAccessed(Event<EntryEventArgs> value)Sets an event that is raised before an archive entry is being compressed.
setEntryCompressed(Event<CancelEntryEventArgs> value)Sets an event that is raised after an archive entry has been compressed.

EventsBag()

public EventsBag()

getEntryAccessed()

public Event<EntryEventArgs> getEntryAccessed()

Gets an event that is raised before an archive entry is being compressed.

Returns: Event - an event that is raised before an archive entry is being compressed

getEntryCompressed()

public Event<CancelEntryEventArgs> getEntryCompressed()

Gets an event that is raised after an archive entry has been compressed.

Returns: Event - an event that is raised after an archive entry has been compressed

setEntryAccessed(Event<EntryEventArgs> value)

public void setEntryAccessed(Event<EntryEventArgs> value)

Sets an event that is raised before an archive entry is being compressed.

Parameters:

ParameterTypeDescription
valuecom.aspose.zip.Event<com.aspose.zip.EntryEventArgs>an event that is raised before an archive entry is being compressed.

setEntryCompressed(Event<CancelEntryEventArgs> value)

public void setEntryCompressed(Event<CancelEntryEventArgs> value)

Sets an event that is raised after an archive entry has been compressed.

Parameters:

ParameterTypeDescription
valuecom.aspose.zip.Event<com.aspose.zip.CancelEntryEventArgs>an event that is raised after an archive entry has been compressed