Interface PdfProclet

    • Method Detail

      • getExtensions

        BaseString[] getExtensions()
        Returns the extensions that the processor can process.
        Returns:
        the extensions (no dot)
      • setRegExpFilename

        void setRegExpFilename​(BaseRegExp value)
        Sets the regular expression that the filename must match.
        Parameters:
        value - the expression
      • getRegExpFilename

        BaseRegExp getRegExpFilename()
        Returns the regular expression that the filename must match.
        Returns:
        the expression
      • regExpFilenameTipText

        String regExpFilenameTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • canProcess

        boolean canProcess​(PDFGenerator generator,
                           File file)
        Whether the processor can handle this particular file.
        Parameters:
        generator - the context
        file - the file to check
        Returns:
        true if the file can be handled
      • process

        boolean process​(PDFGenerator generator,
                        File file)
        Processes the given file.
        Parameters:
        generator - the context
        file - the file to add
        Returns:
        true if successfully added
      • canProcess

        boolean canProcess​(PDFGenerator generator,
                           Object obj)
        Whether the processor can handle this particular object.
        Parameters:
        generator - the context
        obj - the object to check
        Returns:
        true if the object can be handled
      • process

        boolean process​(PDFGenerator generator,
                        Object obj)
        Processes the given object.
        Parameters:
        generator - the context
        obj - the object to process
        Returns:
        true if successfully added