Class XPacketFilter

java.lang.Object
com.day.cq.dam.commons.handler.AbstractFilter
com.day.cq.dam.commons.handler.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 Details

    • XPacketFilter

      public XPacketFilter()
  • Method Details

    • 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.