java.lang.Object | |
↳ | com.pspdfkit.document.providers.OutputStreamAdapter.Builder |
Creates instances of the OutputStreamAdapter
.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
OutputStreamAdapter |
build()
Builds the
OutputStreamAdapter with the configured parameters. | ||||||||||
static OutputStreamAdapter.Builder |
fromDataProvider(WritableDataProvider dataProvider)
Creates a new
OutputStreamAdapter.Builder from the passed WritableDataProvider . | ||||||||||
OutputStreamAdapter.Builder |
withWritingStrategy(WritingStrategy writingStrategy)
Sets the
WritingStrategy that will be used by the OutputStreamAdapter . |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Builds the OutputStreamAdapter
with the configured parameters.
OutputStreamAdapter
that was configured.
Creates a new OutputStreamAdapter.Builder
from the passed WritableDataProvider
.
dataProvider | The data provider to adapt to an OutputStream . |
---|
Sets the WritingStrategy
that will be used by the OutputStreamAdapter
.
Defaults to a DirectWritingStrategy
if nothing is set.
writingStrategy | The writing strategy to use. |
---|