DynamicPDF by ceTe Software

com.cete.dynamicpdf
Class EmbeddedFileList

java.lang.Object
  extended by com.cete.dynamicpdf.Resource
      extended by com.cete.dynamicpdf.EmbeddedFileList

public class EmbeddedFileList
extends Resource

Represents a list of EmbeddedFiles.

Licensing:
This class is a DynamicPDF Generator Professional Edition feature. One of the following licenses is required for non-evaluation usage:


Method Summary
 void add(EmbeddedFile embeddedFile)
          Adds an EmbeddedFile to the EmbeddedFileList.
 void draw(DocumentWriter writer)
          Draws the EmbeddedFiles to the given DocumentWriter object.
 EmbeddedFile getEmbeddedFiles(int index)
          Gets the EmbeddedFile at the given index.
 int size()
          Gets the number of EmbeddedFiles contained in the EmbeddedFileList.
 
Methods inherited from class com.cete.dynamicpdf.Resource
getRequiredPdfObjects, getResourceType, getUid, newUid
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

size

public int size()
Gets the number of EmbeddedFiles contained in the EmbeddedFileList.

Returns:
int value the number of embedded files contained in the embedded file list.
See Also:
EmbeddedFile, EmbeddedFileList

getEmbeddedFiles

public EmbeddedFile getEmbeddedFiles(int index)
Gets the EmbeddedFile at the given index.

Parameters:
index - the index of the embedded file.
Returns:
embedded file at the given index.
See Also:
EmbeddedFile

draw

public void draw(DocumentWriter writer)
Draws the EmbeddedFiles to the given DocumentWriter object.

Specified by:
draw in class Resource
Parameters:
writer - instance of document writer.
See Also:
DocumentWriter

add

public void add(EmbeddedFile embeddedFile)
Adds an EmbeddedFile to the EmbeddedFileList.

Parameters:
embeddedFile - EmbeddedFile to add.
See Also:
EmbeddedFile, EmbeddedFileList

DynamicPDF by ceTe Software

API Reference for DynamicPDF v10.04 for Java generated on September 25, 2019
© Copyright 2019, ceTe Software