pdfattachment-ag凯发旗舰厅
com.spire.pdf.attachments
class pdfattachment
java.lang.object
com.spire.pdf.general.pdffilespecificationbase
com.spire.pdf.general.pdfembeddedfilespecification
com.spire.pdf.attachments.pdfattachment
- all implemented interfaces:
- ipdfwrapper
public class pdfattachment
- extends pdfembeddedfilespecification
represents attachments of the pdf document.
constructor summary |
pdfattachment(java.lang.string filename)
initializes a new instance of the class. |
pdfattachment(java.lang.string filename,
byte[] data)
initializes a new instance of the class. |
pdfattachment(java.lang.string filename,
java.io.inputstream stream)
initializes a new instance of the class. |
pdfattachment(java.lang.string filename,
com.spire.ms.system.io.stream stream)
initializes a new instance of the class. |
methods inherited from class com.spire.pdf.general.pdfembeddedfilespecification |
getcreationdate, getdata, getdescription, getfilename, getmimetype, getmodificationdate, setcreationdate, setdata, setdescription, setmimetype, setmodificationdate |
pdfattachment
public pdfattachment(java.lang.string filename)
- initializes a new instance of the class.
- parameters:
filename
- name of the file.
pdfattachment
public pdfattachment(java.lang.string filename,
byte[] data)
- initializes a new instance of the class.
- parameters:
filename
- name of the file.data
- the data to be attached as a file.
pdfattachment
public pdfattachment(java.lang.string filename,
com.spire.ms.system.io.stream stream)
- initializes a new instance of the class.
- parameters:
filename
- name of the file.stream
- the stream.
pdfattachment
public pdfattachment(java.lang.string filename,
java.io.inputstream stream)
- initializes a new instance of the class.
- parameters:
filename
- name of the file.stream
- the stream.