CancelEntryEventArgsXar

Inheritance: java.lang.Object, com.aspose.ms.System.EventArgs, com.aspose.zip.EntryEventArgsXar

public class CancelEntryEventArgsXar extends EntryEventArgsXar

Event arguments for cancelable entry related events.

Constructors

ConstructorDescription
CancelEntryEventArgsXar(XarEntry entry)Initializes a new instance of the CancelEntryEventArgs class.

Methods

MethodDescription
getCancel()Gets a value indicating whether the event should be canceled.
setCancel(boolean value)Sets a value indicating whether the event should be canceled.

CancelEntryEventArgsXar(XarEntry entry)

public CancelEntryEventArgsXar(XarEntry entry)

Initializes a new instance of the CancelEntryEventArgs class.

Parameters:

ParameterTypeDescription
entryXarEntryarchive 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:

ParameterTypeDescription
valuebooleantrue if the event should be canceled; otherwise, false