public class SVG2PDF
extends java.lang.Object
Constructor and Description |
---|
SVG2PDF() |
Modifier and Type | Method and Description |
---|---|
static void |
convert2Pdf(java.io.InputStream in,
java.io.OutputStream out) |
static void |
convert2PNG(java.io.InputStream in,
java.io.OutputStream out) |
static void |
convertStr2Pdf(java.lang.String svg,
java.io.File pdf) |
static void |
convertSvgFile2Pdf(java.io.File svg,
java.io.File pdf) |
static void |
convertSvgFile2Png(java.io.File svg,
java.io.File pdf) |
void |
convertSvgString2PdfFile(java.lang.String svgString,
java.io.File pdf) |
public static void convertSvgFile2Pdf(java.io.File svg, java.io.File pdf) throws java.io.IOException, org.apache.batik.transcoder.TranscoderException
java.io.IOException
org.apache.batik.transcoder.TranscoderException
public void convertSvgString2PdfFile(java.lang.String svgString, java.io.File pdf) throws java.io.IOException, org.apache.batik.transcoder.TranscoderException
java.io.IOException
org.apache.batik.transcoder.TranscoderException
public static void convert2Pdf(java.io.InputStream in, java.io.OutputStream out) throws java.io.IOException, org.apache.batik.transcoder.TranscoderException
java.io.IOException
org.apache.batik.transcoder.TranscoderException
public static void convertSvgFile2Png(java.io.File svg, java.io.File pdf) throws java.io.IOException, org.apache.batik.transcoder.TranscoderException
java.io.IOException
org.apache.batik.transcoder.TranscoderException
public static void convert2PNG(java.io.InputStream in, java.io.OutputStream out) throws java.io.IOException, org.apache.batik.transcoder.TranscoderException
java.io.IOException
org.apache.batik.transcoder.TranscoderException
public static void convertStr2Pdf(java.lang.String svg, java.io.File pdf) throws java.io.IOException, org.apache.batik.transcoder.TranscoderException
java.io.IOException
org.apache.batik.transcoder.TranscoderException