Class DataURLUtil

java.lang.Object
org.apache.fop.util.DataURLUtil

public final class DataURLUtil extends Object
Deprecated.
use org.apache.xmlgraphics.util.uri.DataURLUtil directly
See Also:
  • DataURLUtil
  • Method Details

    • createDataURL

      public static String createDataURL(InputStream in, String mediatype) throws IOException
      Deprecated.
      Parameters:
      in - an input stream
      mediatype - a MIME media type
      Returns:
      a data url as a string
      Throws:
      IOException - if not caught
      See Also:
      • DataURLUtil.createDataURL(InputStream, String)
    • writeDataURL

      public static void writeDataURL(InputStream in, String mediatype, Writer writer) throws IOException
      Deprecated.
      Parameters:
      in - an input stream
      mediatype - a MIME media type
      writer - a writer
      Throws:
      IOException - if not caught
      See Also:
      • DataURLUtil.writeDataURL(InputStream, String, Writer)