Package com.day.cq.dam.commons.handler
Class XPacketFilter
java.lang.Object
com.day.cq.dam.commons.handler.AbstractFilter
com.day.cq.dam.commons.handler.XPacketFilter
- All Implemented Interfaces:
Filter
Continuously process bytes received from an
InputStream and
write the ones contained in an xpacket to an OutputStream.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisValid()Return a flag indicating whether the contents processed by this filter represents a valid entity.Methods inherited from class com.day.cq.dam.commons.handler.AbstractFilter
filter, reset, setAutoReset, setFilterStateListener
-
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 returnstrue. Contents is only valid if the state equalsXPacketFilter.ParseState.END.- Specified by:
isValidin interfaceFilter- Overrides:
isValidin classAbstractFilter- Returns:
trueif the contents is valid;falseotherwise.
-