PDF Clown
0.0.8

it.stefanochizzolini.clown.objects
Class PdfStream

java.lang.Object
  extended by it.stefanochizzolini.clown.objects.PdfObject
      extended by it.stefanochizzolini.clown.objects.PdfDataObject
          extended by it.stefanochizzolini.clown.objects.PdfStream
All Implemented Interfaces:
Cloneable

public class PdfStream
extends PdfDataObject

PDF stream object [PDF:1.6:3.2.7].

Version:
0.0.6
Author:
Stefano Chizzolini (http://www.stefanochizzolini.it)

Constructor Summary
PdfStream()
           
PdfStream(IBuffer body)
           
PdfStream(PdfDictionary header)
           
PdfStream(PdfDictionary header, IBuffer body)
           
 
Method Summary
 Object clone(File context)
          Gets the clone of the object, registered inside the given file context.
 IBuffer getBody()
          Gets the decoded stream body.
 IBuffer getBody(boolean decode)
          Gets the stream body.
 PdfDictionary getHeader()
           
 void writeTo(IOutputStream stream)
          Serializes the object to the given stream.
 
Methods inherited from class it.stefanochizzolini.clown.objects.PdfDataObject
clone
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PdfStream

public PdfStream()

PdfStream

public PdfStream(PdfDictionary header)

PdfStream

public PdfStream(IBuffer body)

PdfStream

public PdfStream(PdfDictionary header,
                 IBuffer body)
Method Detail

clone

public Object clone(File context)
Description copied from class: PdfObject
Gets the clone of the object, registered inside the given file context.

Specified by:
clone in class PdfObject

getBody

public IBuffer getBody()
Gets the decoded stream body.


getBody

public IBuffer getBody(boolean decode)
Gets the stream body.

Parameters:
decode - Defines whether the body has to be decoded.

getHeader

public PdfDictionary getHeader()

writeTo

public void writeTo(IOutputStream stream)
Description copied from class: PdfObject
Serializes the object to the given stream.

Specified by:
writeTo in class PdfObject

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.