CancelEntryEventArgs
Contents
[
Hide
]Inheritance: java.lang.Object, com.aspose.ms.System.EventArgs, com.aspose.zip.EntryEventArgs
public class CancelEntryEventArgs extends EntryEventArgs
Event arguments for cancelable entry related events.
Constructors
| Constructor | Description |
|---|---|
| CancelEntryEventArgs(ArchiveEntry entry) | Initializes a new instance of the CancelEntryEventArgs class. |
Methods
| Method | Description |
|---|---|
| getCancel() | Gets a value indicating whether the event should be canceled. |
| setCancel(boolean value) | Sets a value indicating whether the event should be canceled. |
CancelEntryEventArgs(ArchiveEntry entry)
public CancelEntryEventArgs(ArchiveEntry entry)
Initializes a new instance of the CancelEntryEventArgs class.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| entry | ArchiveEntry | Archive entry the event is raised for. |
getCancel()
public final boolean getCancel()
Gets a value indicating whether the event should be canceled.
Returns: boolean - true if the event should be canceled; otherwise, false.
setCancel(boolean value)
public final void setCancel(boolean value)
Sets a value indicating whether the event should be canceled.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | boolean | true if the event should be canceled; otherwise, false. |