Class ImageEncoderCCITTFax

  • All Implemented Interfaces:
    org.apache.xmlgraphics.ps.ImageEncoder

    public class ImageEncoderCCITTFax
    extends java.lang.Object
    implements org.apache.xmlgraphics.ps.ImageEncoder
    ImageEncoder implementation for CCITT encoded images.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private org.apache.xmlgraphics.image.loader.impl.ImageRawCCITTFax ccitt  
    • Constructor Summary

      Constructors 
      Constructor Description
      ImageEncoderCCITTFax​(org.apache.xmlgraphics.image.loader.impl.ImageRawCCITTFax ccitt)
      Main constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getImplicitFilter()
      void writeTo​(java.io.OutputStream out)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • ccitt

        private final org.apache.xmlgraphics.image.loader.impl.ImageRawCCITTFax ccitt
    • Constructor Detail

      • ImageEncoderCCITTFax

        public ImageEncoderCCITTFax​(org.apache.xmlgraphics.image.loader.impl.ImageRawCCITTFax ccitt)
        Main constructor.
        Parameters:
        ccitt - the CCITT encoded image
    • Method Detail

      • writeTo

        public void writeTo​(java.io.OutputStream out)
                     throws java.io.IOException
        Specified by:
        writeTo in interface org.apache.xmlgraphics.ps.ImageEncoder
        Throws:
        java.io.IOException
      • getImplicitFilter

        public java.lang.String getImplicitFilter()
        Specified by:
        getImplicitFilter in interface org.apache.xmlgraphics.ps.ImageEncoder