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
public class XPacketFilter extends AbstractFilter
Continuously process bytes received from anInputStreamand write the ones contained in an xpacket to anOutputStream.
-
-
Constructor Summary
Constructors Constructor Description XPacketFilter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisValid()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
-
-
-
-
Method Detail
-
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.
-
-