public interface ConversionJobWithSourceSpecified
Modifier and Type | Method and Description |
---|---|
ConversionJobWithOptionalTargetFormatUnspecified |
to(java.io.File target)
Configures the current conversion to write the result to the specified target.
|
ConversionJobWithRequiredTargetFormatUnspecified |
to(java.io.OutputStream target)
Configures the current conversion to write the result to the specified
OutputStream . |
ConversionJobWithRequiredTargetFormatUnspecified |
to(java.io.OutputStream target,
boolean closeStream)
Configures the current conversion to write the result to the specified
OutputStream . |
ConversionJobWithOptionalTargetFormatUnspecified to(java.io.File target)
target
- The file to which the result of the conversion will be written. Existing files
will be overwritten. If the file is locked by the JVM or any other application or is not
writable, an exception will be thrown.ConversionJobWithRequiredTargetFormatUnspecified to(java.io.OutputStream target)
OutputStream
.
The stream will be closed after the conversion is written.target
- The output stream to which the conversion result is written to.ConversionJobWithRequiredTargetFormatUnspecified to(java.io.OutputStream target, boolean closeStream)
OutputStream
.
The stream will be closed after the conversion is written.target
- The output stream to which the conversion result is written to.closeStream
- Determines whether the output stream is closed after writing the result.