public class TargetDocumentSpecsFromOutputStream extends AbstractTargetDocumentSpecs implements TargetDocumentSpecs
| Constructor and Description |
|---|
TargetDocumentSpecsFromOutputStream(@NonNull OutputStream outputStream,
@NonNull TemporaryFileMaker fileMaker,
boolean closeStream)
Creates specs for the specified output stream.
|
| Modifier and Type | Method and Description |
|---|---|
@NonNull File |
getFile()
Gets the file where is located the document.
|
void |
onComplete(@NonNull File tempFile)
Called if the conversion was completed successfully.
|
getFormat, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitonFailuregetFormatpublic TargetDocumentSpecsFromOutputStream(@NonNull OutputStream outputStream, @NonNull TemporaryFileMaker fileMaker, boolean closeStream)
outputStream - The target output stream.fileMaker - Temporary file maker.closeStream - If we close the stream on completion.public @NonNull File getFile()
DocumentSpecsgetFile in interface DocumentSpecsgetFile in class AbstractDocumentSpecspublic void onComplete(@NonNull File tempFile)
TargetDocumentSpecsonComplete in interface TargetDocumentSpecstempFile - The file to which the conversion result was written.Copyright © 2016 - present; JODConverter.org. All rights reserved.