public interface DistributionContentSerializer
| Modifier and Type | Method and Description |
|---|---|
void |
exportToStream(org.apache.sling.api.resource.ResourceResolver resourceResolver,
DistributionExportOptions exportOptions,
OutputStream outputStream)
extracts the resources identified by the given request into the given outputStream
|
String |
getName()
retrieve the name of this content serializer
|
void |
importFromStream(org.apache.sling.api.resource.ResourceResolver resourceResolver,
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(org.apache.sling.api.resource.ResourceResolver resourceResolver,
DistributionExportOptions exportOptions,
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(org.apache.sling.api.resource.ResourceResolver resourceResolver,
InputStream inputStream)
throws DistributionException
resourceResolver - the resource resolver used to write resourcesinputStream - the stream to importDistributionException - if importing fails for some reasonString 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 © 2007–2018 The Apache Software Foundation. All rights reserved.