public interface TargetDocumentSpecs
| Modifier and Type | Method and Description |
|---|---|
File |
getFile()
Gets the file where is located the document.
|
DocumentFormat |
getFormat()
Gets the
DocumentFormat specification for the document. |
void |
onComplete(File file)
Called if the conversion was completed successfully.
|
void |
onFailure(File file,
Exception exception)
Called if the conversion finished with an exception.
|
void onComplete(File file)
file - The file to which the conversion result was written.void onFailure(File file, Exception exception)
file - The file to which the conversion result was supposed to be written.exception - An exception representing the reason for the failed conversion.File getFile()
DocumentFormat getFormat()
DocumentFormat specification for the document.