public interface TargetDocumentSpecs
Modifier and Type | Method and Description |
---|---|
java.io.File |
getFile()
Gets the file where is located the document.
|
DocumentFormat |
getFormat()
Gets the
DocumentFormat specification for the document. |
void |
onComplete(java.io.File file)
Called if the conversion was completed successfully.
|
void |
onFailure(java.io.File file,
java.lang.Exception exception)
Called if the conversion finished with an exception.
|
void onComplete(java.io.File file)
file
- The file to which the conversion result was written.void onFailure(java.io.File file, java.lang.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.java.io.File getFile()
DocumentFormat getFormat()
DocumentFormat
specification for the document.