Class FilterFactory


  • public final class FilterFactory
    extends java.lang.Object
    Resolves a /Filter name to its Filter implementation. Filters not implemented here (e.g. DCTDecode/JPXDecode, which decode to an image rather than a byte stream, or the legacy LZWDecode) are reported via isSupported(com.pd4ml.pdf.cos.COSName) so callers can fall back to returning the raw stream bytes instead of failing outright.
    • Method Detail

      • isSupported

        public static boolean isSupported​(COSName filterName)