public static final class LocalConverter.Builder extends org.jodconverter.job.AbstractConverter.AbstractConverterBuilder<LocalConverter.Builder>
LocalConverter
.LocalConverter
限定符和类型 | 方法和说明 |
---|---|
LocalConverter |
build()
Creates the converter that is specified by this builder.
|
LocalConverter.Builder |
filterChain(Filter... filters)
Specifies the filters to apply when converting a document.
|
LocalConverter.Builder |
filterChain(FilterChain filterChain)
Specifies the whole filter chain to apply when converting a document.
|
LocalConverter.Builder |
loadProperties(java.util.Map<java.lang.String,java.lang.Object> properties)
Specifies the load properties, for this converter, that will be applied when a document is
loaded during a conversion task, regardless of the input format of the document.
|
LocalConverter.Builder |
storeProperties(java.util.Map<java.lang.String,java.lang.Object> properties)
Specifies the properties that will be applied when a document is stored during the conversion
task.
|
public LocalConverter build()
build
在类中 org.jodconverter.job.AbstractConverter.AbstractConverterBuilder<LocalConverter.Builder>
public LocalConverter.Builder loadProperties(java.util.Map<java.lang.String,java.lang.Object> properties)
Using this function will replace the default load properties map.
properties
- A map containing the properties to apply when loading a document.public LocalConverter.Builder filterChain(Filter... filters)
filters
- The filters to be applied after the document is loaded and before it is stored
(converted) in the new document format.public LocalConverter.Builder filterChain(FilterChain filterChain)
filterChain
- The FilterChain to be applied after the document is loaded and before it
is stored (converted) in the new document format.public LocalConverter.Builder storeProperties(java.util.Map<java.lang.String,java.lang.Object> properties)
Custom properties are applied after the store properties of the target DocumentFormat
.
properties
- A map containing the custom properties to apply when storing a document.