org.mapfish.print.processor.jasper.TableColumnConverter Maven / Gradle / Ivy
package org.mapfish.print.processor.jasper;
import org.mapfish.print.config.ConfigurationObject;
import org.mapfish.print.http.MfClientHttpRequestFactory;
import java.io.IOException;
import java.net.URISyntaxException;
/**
* Converter to convert the value of a table cell (a string) into
* a different type (e.g. an image).
*
* @author Jesse on 6/30/2014.
*
* @param The resulting type
*/
public interface TableColumnConverter extends ConfigurationObject {
/**
* Convert the value.
*
* @param requestFactory for fetching file and http resources.
* @param text the cell value.
*/
R resolve(MfClientHttpRequestFactory requestFactory,
String text) throws URISyntaxException, IOException;
/**
* Returns true if the converter can convert the given input.
* @param text the input to convert.
*/
boolean canConvert(String text);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy