Class ASCIIHexDecodeFilter

  • All Implemented Interfaces:
    Filter

    public class ASCIIHexDecodeFilter
    extends java.lang.Object
    implements Filter
    /ASCIIHexDecode: pairs of hex digits, terminated by >.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      byte[] decode​(byte[] encoded, COSDictionary parameters, COSDictionary streamDict)
      Decodes encoded using this filter's algorithm.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ASCIIHexDecodeFilter

        public ASCIIHexDecodeFilter()
    • Method Detail

      • decode

        public byte[] decode​(byte[] encoded,
                             COSDictionary parameters,
                             COSDictionary streamDict)
        Description copied from interface: Filter
        Decodes encoded using this filter's algorithm.
        Specified by:
        decode in interface Filter
        Parameters:
        encoded - the filtered bytes, as stored in the file
        parameters - this filter's DecodeParms dictionary (never null; empty if the stream had none)
        streamDict - the owning stream's full dictionary, in case a filter needs sibling entries (unused by the filters implemented here, but kept for extensibility/parity with PDFBox's Filter API)