Class XPacketFilter

  • All Implemented Interfaces:
    Filter

    public class XPacketFilter
    extends AbstractFilter
    Continuously process bytes received from an InputStream and write the ones contained in an xpacket to an OutputStream.
    • Constructor Detail

      • XPacketFilter

        public XPacketFilter()
    • Method Detail

      • isValid

        public boolean isValid()
        Return a flag indicating whether the contents processed by this filter represents a valid entity. This implementation returns true. Contents is only valid if the state equals XPacketFilter.ParseState.END.
        Specified by:
        isValid in interface Filter
        Overrides:
        isValid in class AbstractFilter
        Returns:
        true if the contents is valid; false otherwise.