PDF Clown
0.1.2

org.pdfclown.documents.files
Class RelatedFiles

java.lang.Object
  extended by org.pdfclown.objects.PdfObjectWrapper<PdfArray>
      extended by org.pdfclown.documents.files.RelatedFiles
All Implemented Interfaces:
Cloneable, Map<String,EmbeddedFile>, IPdfObjectWrapper

@PDF(value=PDF13)
public final class RelatedFiles
extends PdfObjectWrapper<PdfArray>
implements Map<String,EmbeddedFile>

Embedded files referenced by another one (dependencies) [PDF:1.6:3.10.3].

Since:
0.0.7
Version:
0.1.2, 12/21/12
Author:
Stefano Chizzolini (http://www.stefanochizzolini.it)

Nested Class Summary
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
Constructor Summary
RelatedFiles(Document context)
           
 
Method Summary
 void clear()
           
 RelatedFiles clone(Document context)
          Gets a clone of the object, registered inside the given document context.
 boolean containsKey(Object key)
           
 boolean containsValue(Object value)
           
 Set<Map.Entry<String,EmbeddedFile>> entrySet()
           
 boolean equals(Object object)
           
 EmbeddedFile get(Object key)
           
 int hashCode()
           
 boolean isEmpty()
           
 Set<String> keySet()
           
 EmbeddedFile put(String key, EmbeddedFile value)
           
 void putAll(Map<? extends String,? extends EmbeddedFile> entries)
           
 EmbeddedFile remove(Object key)
           
 int size()
           
 Collection<EmbeddedFile> values()
           
static RelatedFiles wrap(PdfDirectObject baseObject)
           
 
Methods inherited from class org.pdfclown.objects.PdfObjectWrapper
checkCompatibility, delete, exists, getBaseDataObject, getBaseObject, getBaseObject, getContainer, getDataContainer, getDocument, getFile, getMetadata, retrieveName, retrieveNamedBaseObject, setBaseObject, setMetadata
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RelatedFiles

public RelatedFiles(Document context)
Method Detail

wrap

public static RelatedFiles wrap(PdfDirectObject baseObject)

clone

public RelatedFiles clone(Document context)
Description copied from class: PdfObjectWrapper
Gets a clone of the object, registered inside the given document context.

Overrides:
clone in class PdfObjectWrapper<PdfArray>
Parameters:
context - Which document the clone has to be registered in.

clear

public void clear()
Specified by:
clear in interface Map<String,EmbeddedFile>

containsKey

public boolean containsKey(Object key)
Specified by:
containsKey in interface Map<String,EmbeddedFile>

containsValue

public boolean containsValue(Object value)
Specified by:
containsValue in interface Map<String,EmbeddedFile>

entrySet

public Set<Map.Entry<String,EmbeddedFile>> entrySet()
Specified by:
entrySet in interface Map<String,EmbeddedFile>

equals

public boolean equals(Object object)
Specified by:
equals in interface Map<String,EmbeddedFile>
Overrides:
equals in class PdfObjectWrapper<PdfArray>

get

public EmbeddedFile get(Object key)
Specified by:
get in interface Map<String,EmbeddedFile>

hashCode

public int hashCode()
Specified by:
hashCode in interface Map<String,EmbeddedFile>
Overrides:
hashCode in class Object

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in interface Map<String,EmbeddedFile>

keySet

public Set<String> keySet()
Specified by:
keySet in interface Map<String,EmbeddedFile>

put

public EmbeddedFile put(String key,
                        EmbeddedFile value)
Specified by:
put in interface Map<String,EmbeddedFile>

putAll

public void putAll(Map<? extends String,? extends EmbeddedFile> entries)
Specified by:
putAll in interface Map<String,EmbeddedFile>

remove

public EmbeddedFile remove(Object key)
Specified by:
remove in interface Map<String,EmbeddedFile>

size

public int size()
Specified by:
size in interface Map<String,EmbeddedFile>

values

public Collection<EmbeddedFile> values()
Specified by:
values in interface Map<String,EmbeddedFile>

PDF Clown
0.1.2

Project home page

Copyright © 2006-2013 Stefano Chizzolini. Some Rights Reserved.
This documentation is available under the terms of the GNU Free Documentation License.