Interface PDFPrinter<T>

  • Type Parameters:
    T - the input data type
    All Known Implementing Classes:
    AbstractBrowserPDFPrinter

    @Role
    @Unstable
    public interface PDFPrinter<T>
    Generic interface to print some data as PDF.
    Since:
    14.4.2, 14.5
    Version:
    $Id: 74029408089895fc802fa42e44b7f061b0af911c $
    • Method Detail

      • print

        InputStream print​(T input)
                   throws IOException
        Prints the specified data as PDF.
        Parameters:
        input - the data to be printed as PDF
        Returns:
        the PDF input stream
        Throws:
        IOException
      • isAvailable

        default boolean isAvailable()
        Returns:
        true if this PDF printer is ready to be used, false otherwise
        Since:
        14.8