PDF Clown
0.0.8

it.stefanochizzolini.clown.documents.fileSpecs
Class EmbeddedFile

java.lang.Object
  extended by it.stefanochizzolini.clown.objects.PdfObjectWrapper<PdfStream>
      extended by it.stefanochizzolini.clown.documents.fileSpecs.EmbeddedFile

public class EmbeddedFile
extends PdfObjectWrapper<PdfStream>

Embedded file [PDF:1.6:3.10.3].

Since:
0.0.7
Version:
0.0.7
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 it.stefanochizzolini.clown.objects.PdfObjectWrapper
delete, getBaseDataObject, getBaseObject, getContainer, getDocument, getFile, setBaseObject, setContainer, update
 
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.0.8

Project home page

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