Class SvgDataSniffer

java.lang.Object
net.sf.jasperreports.renderers.util.SvgDataSniffer

public class SvgDataSniffer extends Object
Utility class that uses Batik to check if the provided byte data is a valid SVG image. It does this by attempting to parse the data into an SVG document.
Author:
Teodor Danciu (teodord@users.sourceforge.net)