All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.mengxianun.result.pdf.PDFResultConverterFactory Maven / Gradle / Ivy

There is a newer version: 1.0.3
Show newest version
package com.github.mengxianun.result.pdf;

import com.github.mengxianun.core.ResultConverter;
import com.github.mengxianun.core.ResultConverterFactory;
import com.github.mengxianun.core.utils.Type;
import com.google.gson.JsonElement;

import java.util.Map;

public  class PDFResultConverterFactory implements ResultConverterFactory {

	@Override
	public String getType() {
		return Type.ConverterType.PDF.type();
	}

	@Override
	public ResultConverter create(Map properties, Map header, JsonElement data) {
		return PDFResultConverter.getInstance(properties, header, data);
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy