pdfcollection-ag凯发旗舰厅
com.spire.pdf.collections
class pdfcollection
java.lang.object
com.spire.pdf.collections.pdfcollection
- all implemented interfaces:
- ipdfwrapper
public class pdfcollection
- extends java.lang.object
- implements ipdfwrapper
a collection specifies the viewing and organizational characteristics
of portable collections.the intent of portable collections is to present,
sort, and search collections of related document,such as email archives,
photo collections, and engineering bidsets.
getfolders
public pdffolder getfolders()
- returns:
- (required if the collection has folders; extensionlevel3)
an indirect reference to the folder dictionary that is the
single common ancestor of all other folders in a portable
collection.
addfile
public void addfile(java.lang.string filepath)
- add a local file.
- parameters:
filepath
- the local file path.
clear
public void clear()
- clear all files and folders.
- throws:
java.lang.exception