org.apache.fop.pdf
Class CCFFilter

java.lang.Object
  |
  +--org.apache.fop.pdf.PDFFilter
        |
        +--org.apache.fop.pdf.CCFFilter

public class CCFFilter
extends PDFFilter

CCF Filter class. Right now it is just used as a dummy filter flag so we can write TIFF images to the PDF. The encode method just returns the data passed to it. In the future an actual CCITT Group 4 compression should be added to the encode method so other images can be compressed.

Author:
Manuel Mall

Constructor Summary
CCFFilter()
           
 
Method Summary
 byte[] encode(byte[] data)
          encode the given data with the filter
 java.lang.String getDecodeParms()
          return a parameter dictionary for this filter, or null
 java.lang.String getName()
          return a PDF string representation of the filter, e.g.
 void setDecodeParms(java.lang.String decodeParms)
           
 
Methods inherited from class org.apache.fop.pdf.PDFFilter
isApplied, setApplied
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CCFFilter

public CCFFilter()
Method Detail

getName

public java.lang.String getName()
Description copied from class: PDFFilter
return a PDF string representation of the filter, e.g. /FlateDecode
Overrides:
getName in class PDFFilter

getDecodeParms

public java.lang.String getDecodeParms()
Description copied from class: PDFFilter
return a parameter dictionary for this filter, or null
Overrides:
getDecodeParms in class PDFFilter

setDecodeParms

public void setDecodeParms(java.lang.String decodeParms)

encode

public byte[] encode(byte[] data)
Description copied from class: PDFFilter
encode the given data with the filter
Overrides:
encode in class PDFFilter


Copyright ? 1999-2003 Apache Software Foundation. All Rights Reserved.