|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.ArrayList
aspose.pdf.DocumentAttachments
public class DocumentAttachments
Represents a set of document level attachment Paragraph
in a
Pdf document. Attachment can be file attachment, stream attachment or note annotation.
Typical usages are the following:
Field Summary |
---|
Fields inherited from class java.util.AbstractList |
---|
modCount |
Constructor Summary | |
---|---|
DocumentAttachments()
Constructor - initializes a new instance of the DocumentAttachments class. |
Method Summary | |
---|---|
void |
add(DocumentAttachment docattachment)
Adds a new DocumentAttachment object into the collection. |
DocumentAttachment |
getDocumentAttachment(int index)
Gets a DocumentAttachment object from the collection
according to DocumentAttachment index. |
void |
insert(DocumentAttachment attachmentToInsertAfter,
DocumentAttachment newAttachment)
Inserts a new DocumentAttachment object into the collection after
specified DocumentAttachment object. |
void |
Insert(int index,
DocumentAttachment attachment)
Inserts a new DocumentAttachment object into the collection after
specified DocumentAttachment object. |
void |
remove(DocumentAttachment attachmentToRemove)
Removes a DocumentAttachment object from the collection. |
void |
setDocumentAttachment(int index,
DocumentAttachment value)
Sets a DocumentAttachment object from the collection according to
DocumentAttachment index. |
Methods inherited from class java.util.ArrayList |
---|
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, removeRange, set, size, toArray, toArray, trimToSize |
Methods inherited from class java.util.AbstractList |
---|
equals, hashCode, iterator, listIterator, listIterator, subList |
Methods inherited from class java.util.AbstractCollection |
---|
containsAll, removeAll, retainAll, toString |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.List |
---|
containsAll, equals, hashCode, iterator, listIterator, listIterator, removeAll, retainAll, subList |
Constructor Detail |
---|
public DocumentAttachments()
DocumentAttachments
class.
Method Detail |
---|
public void add(DocumentAttachment docattachment)
DocumentAttachment
object into the collection.
docattachment
- DocumentAttachment object.public void insert(DocumentAttachment attachmentToInsertAfter, DocumentAttachment newAttachment)
DocumentAttachment
object into the collection after
specified DocumentAttachment object.
attachmentToInsertAfter
- The DocumentAttachment
object to insert after. If this
object is null, the new object will be inserted as the first member.newAttachment
- The DocumentAttachment
object to be inserted.public void Insert(int index, DocumentAttachment attachment)
DocumentAttachment
object into the collection after
specified DocumentAttachment object.
index
- The zero-based index at which DocumentAttachment
object
should be inserted.attachment
- The DocumentAttachment
object to be inserted.public void remove(DocumentAttachment attachmentToRemove)
attachmentToRemove
- The DocumentAttachment
object to be removed.public DocumentAttachment getDocumentAttachment(int index)
DocumentAttachment
object from the collection
according to DocumentAttachment
index.
public void setDocumentAttachment(int index, DocumentAttachment value)
DocumentAttachment
object from the collection according to
DocumentAttachment
index.
index
- Position where the DocumentAttachment
object should be set in.value
- DocumentAttachment
object should be set.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |