@ConsumerType
public interface DistributionContentSerializer
| Modifier and Type | Method and Description |
|---|---|
void |
exportToStream(ResourceResolver resourceResolver,
DistributionExportOptions exportOptions,
java.io.OutputStream outputStream)
extracts the resources identified by the given request into the given outputStream
|
java.lang.String |
getName()
retrieve the name of this content serializer
|
void |
importFromStream(ResourceResolver resourceResolver,
java.io.InputStream inputStream)
imports the given stream
|
boolean |
isRequestFiltering()
whether or not this
DistributionContentSerializer can build package filters for including / excluding
certain resources / attributes directly from a DistributionRequest |
void exportToStream(ResourceResolver resourceResolver, DistributionExportOptions exportOptions, java.io.OutputStream outputStream) throws DistributionException
resourceResolver - the resource resolver used to access resources to exportexportOptions - export optionsoutputStream - the output streamDistributionException - if extraction fails for some reasonvoid importFromStream(ResourceResolver resourceResolver, java.io.InputStream inputStream) throws DistributionException
resourceResolver - the resource resolver used to write resourcesinputStream - the stream to importDistributionException - if importing fails for some reasonjava.lang.String getName()
boolean isRequestFiltering()
DistributionContentSerializer can build package filters for including / excluding
certain resources / attributes directly from a DistributionRequesttrue if it can build filters from a request, false otherwiseCopyright © 2010 - 2023 Adobe. All Rights Reserved