use of com.opentext.ia.sdk.sip.ContentAssemblerDefault in project infoarchive-sip-sdk by Enterprise-Content-Management.
the class ActiveArchiver method newSipAssembler.
private static <D> SipAssembler<D> newSipAssembler(PackagingInformation prototype, String dssPrefix, PdiAssembler<D> pdiAssembler, DigitalObjectsExtraction<D> contentsExtraction) {
PackagingInformationFactory factory = new OneSipPerDssPackagingInformationFactory(new DefaultPackagingInformationFactory(prototype), new SequentialDssIdSupplier(dssPrefix, 1));
ContentAssembler<D> contentsAssembler = new ContentAssemblerDefault<>(contentsExtraction, new NoHashAssembler());
return SipAssembler.forPdiAndContent(factory, pdiAssembler, contentsAssembler);
}
Aggregations