public interface IFileConsumer
| Modifier and Type | Method and Description |
|---|---|
void |
onCancel(File file)
Invoked if the conversion was cancelled.
|
void |
onComplete(File file)
Invoked if the conversion was completed successfully.
|
void |
onException(File file,
Exception e)
Invoked if the conversion finished with an exception.
|
void onComplete(File file)
Future.get() method.file - The file to which the conversion result was written.void onCancel(File file)
file - The file to which the conversion result was supposed to be written.void onException(File file, Exception e)
file - The file to which the conversion result was supposed to be written.e - An exception representing the reason for the failed conversion.Copyright © 2013–2016. All rights reserved.