Class SwfUtil


  • public class SwfUtil
    extends ExternalExecution
    Some centralized tools to use SwfTools API
    Author:
    Yohann Chastagnier
    • Constructor Detail

      • SwfUtil

        public SwfUtil()
    • Method Detail

      • isPdfToSwfActivated

        public static boolean isPdfToSwfActivated()
        Indicates if pdf2swf tool is activated
        Returns:
      • fromPdfToSwf

        public static void fromPdfToSwf​(File fileIn,
                                        File fileOut,
                                        boolean oneFilePerPage)
        Converts a PDF file into a SWF file.
        Parameters:
        fileIn - the pdf file
        fileOut - the swf file
        oneFilePerPage - if true it activates one swf file per page