PDF Clown
0.1.1

org.pdfclown.documents.fileSpecs
Class EmbeddedFile

java.lang.Object
  extended by org.pdfclown.objects.PdfObjectWrapper<PdfStream>
      extended by org.pdfclown.documents.fileSpecs.EmbeddedFile
All Implemented Interfaces:
IPdfObjectWrapper

@PDF(value=PDF13)
public final class EmbeddedFile
extends PdfObjectWrapper<PdfStream>

Embedded file [PDF:1.6:3.10.3].

Since:
0.0.7
Version:
0.1.1, 06/08/11
Author:
Stefano Chizzolini (http://www.stefanochizzolini.it)

Constructor Summary
EmbeddedFile(Document context, IInputStream stream)
          Creates a new embedded file inside the document.
EmbeddedFile(PdfDirectObject baseObject)
          Instantiates an existing embedded file.
 
Method Summary
 EmbeddedFile clone(Document context)
          Gets a clone of the object, registered inside the given document context.
static EmbeddedFile get(Document context, File file)
           
static EmbeddedFile get(Document context, String path)
           
 
Methods inherited from class org.pdfclown.objects.PdfObjectWrapper
checkCompatibility, delete, getBaseDataObject, getBaseObject, getContainer, getDocument, getFile, getMetadata, setBaseObject, setMetadata
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EmbeddedFile

public EmbeddedFile(Document context,
                    IInputStream stream)
Creates a new embedded file inside the document.


EmbeddedFile

public EmbeddedFile(PdfDirectObject baseObject)
Instantiates an existing embedded file.

Method Detail

get

public static EmbeddedFile get(Document context,
                               String path)

get

public static EmbeddedFile get(Document context,
                               File file)

clone

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

Specified by:
clone in class PdfObjectWrapper<PdfStream>
Parameters:
context - Which document the clone has to be registered in.

PDF Clown
0.1.1

Project home page

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