public interface DocumentConverter
| Modifier and Type | Method and Description |
|---|---|
@NonNull ConversionJobWithOptionalSourceFormatUnspecified |
convert(@NonNull File source)
Converts a source file that is stored on the local file system.
|
@NonNull ConversionJobWithOptionalSourceFormatUnspecified |
convert(@NonNull InputStream source)
Converts a source stream input stream.
|
@NonNull ConversionJobWithOptionalSourceFormatUnspecified |
convert(@NonNull InputStream source,
boolean closeStream)
Converts a source stream input stream.
|
@NonNull DocumentFormatRegistry |
getFormatRegistry()
Gets all the
DocumentFormat supported by the converter. |
@NonNull ConversionJobWithOptionalSourceFormatUnspecified convert(@NonNull File source)
source - The conversion input as a file.@NonNull ConversionJobWithOptionalSourceFormatUnspecified convert(@NonNull InputStream source)
source - The conversion input as an input stream.@NonNull ConversionJobWithOptionalSourceFormatUnspecified convert(@NonNull InputStream source, boolean closeStream)
source - The conversion input as an input stream.closeStream - Whether the InputStream is closed after the conversion terminates.@NonNull DocumentFormatRegistry getFormatRegistry()
DocumentFormat supported by the converter.DocumentFormatRegistry containing the supported formats.Copyright © 2016 - present; JODConverter.org. All rights reserved.