Package com.aspose.zip
Class CancelEntryEventArgs
- java.lang.Object
-
- com.aspose.ms.System.EventArgs
-
- com.aspose.zip.EntryEventArgs
-
- com.aspose.zip.CancelEntryEventArgs
-
public class CancelEntryEventArgs extends EntryEventArgs
Event arguments for cancelable entry related events.
-
-
Constructor Summary
Constructors Constructor Description CancelEntryEventArgs(ArchiveEntry entry)Initializes a new instance of theCancelEntryEventArgsclass.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleangetCancel()Gets a value indicating whether the event should be canceled.voidsetCancel(boolean value)Sets a value indicating whether the event should be canceled.-
Methods inherited from class com.aspose.zip.EntryEventArgs
getEntry
-
-
-
-
Constructor Detail
-
CancelEntryEventArgs
public CancelEntryEventArgs(ArchiveEntry entry)
Initializes a new instance of the
CancelEntryEventArgsclass.- Parameters:
entry- Archive entry the event is raised for.
-
-
Method Detail
-
getCancel
public final boolean getCancel()
Gets a value indicating whether the event should be canceled.
- Returns:
- true if the event should be canceled; otherwise, false.
-
setCancel
public final void setCancel(boolean value)
Sets a value indicating whether the event should be canceled.
- Parameters:
value- true if the event should be canceled; otherwise, false.
-
-