![JAR search and dependency download from the Maven repository](/logo.png)
com.adobe.platform.operation.internal.cpf.builder.CombinePDFParamsDtoBuilder Maven / Gradle / Ivy
/*
* Copyright 2019 Adobe
* All Rights Reserved.
*
* NOTICE: Adobe permits you to use, modify, and distribute this file in
* accordance with the terms of the Adobe license agreement accompanying
* it. If you have received this file from a source other than Adobe,
* then your use, modification, or distribution of it requires the prior
* written permission of Adobe.
*/
package com.adobe.platform.operation.internal.cpf.builder;
import com.adobe.platform.operation.internal.cpf.context.CombinePDFRequestParamsContext;
import com.adobe.platform.operation.internal.cpf.dto.request.CombinePDFParamsDto;
public class CombinePDFParamsDtoBuilder {
private CombinePDFRequestParamsContext combinePDFRequestParamsContext;
public CombinePDFParamsDtoBuilder(CombinePDFRequestParamsContext combinePDFRequestParamsContext) {
this.combinePDFRequestParamsContext = combinePDFRequestParamsContext;
}
public CombinePDFParamsDto build() {
CombinePDFParamsDto combinePDFParamsDto = new CombinePDFParamsDto();
if(combinePDFRequestParamsContext != null) {
combinePDFParamsDto.setPageRange(combinePDFRequestParamsContext.getPageRanges());
}
return combinePDFParamsDto;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy