Class InternalCOSCloner


  • class InternalCOSCloner
    extends org.apache.pdfbox.multipdf.PDFCloneUtility
    Internal class to allow access to the clone functionality.
    • Constructor Summary

      Constructors 
      Constructor Description
      InternalCOSCloner​(org.apache.pdfbox.pdmodel.PDDocument dest)
      Creates a new instance for the given target document.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      <TCOSBase extends org.apache.pdfbox.cos.COSBase>
      TCOSBase
      cloneForNewDocument​(TCOSBase base)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • InternalCOSCloner

        public InternalCOSCloner​(org.apache.pdfbox.pdmodel.PDDocument dest)
        Creates a new instance for the given target document.
        Parameters:
        dest - the destination PDF document that will receive the clones
    • Method Detail

      • cloneForNewDocument

        public <TCOSBase extends org.apache.pdfbox.cos.COSBase> TCOSBase cloneForNewDocument​(TCOSBase base)
                                                                                      throws java.io.IOException
        Overrides:
        cloneForNewDocument in class org.apache.pdfbox.multipdf.PDFCloneUtility
        Throws:
        java.io.IOException