Interface ProgressEvent
public interface ProgressEvent
This interface defines a continuous progress event during PDF creation.
-
Method Summary
Modifier and TypeMethodDescriptionThe description of the current progress step.intReturns the endValue the progress value will finally reach upon completion.intReturns the current progress value.voidterminateConversion(String message) Terminates the current conversion.
-
Method Details
-
getProgressValue
int getProgressValue()Returns the current progress value.
- Returns:
- the progress value
-
getProgressEndValue
int getProgressEndValue()Returns the endValue the progress value will finally reach upon completion.
- Returns:
- the progress end value.
-
getDescription
String getDescription()The description of the current progress step.
- Returns:
- the description.
-
terminateConversion
Terminates the current conversion. A
TerminationExceptionwill be thrown by PDFreactor.- Parameters:
message- The message of the exception to be thrown.
-