org.apache.mina.filter.codec.statemachine
Class LinearWhitespaceSkippingState
java.lang.Object
org.apache.mina.filter.codec.statemachine.SkippingState
org.apache.mina.filter.codec.statemachine.LinearWhitespaceSkippingState
- All Implemented Interfaces:
- DecodingState
public abstract class LinearWhitespaceSkippingState
- extends SkippingState
DecodingState
which skips space (0x20) and tab (0x09) characters.
- Author:
- Apache MINA Project
Method Summary |
protected boolean |
canSkip(byte b)
Called to determine whether the specified byte can be skipped. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LinearWhitespaceSkippingState
public LinearWhitespaceSkippingState()
canSkip
protected boolean canSkip(byte b)
- Called to determine whether the specified byte can be skipped.
- Specified by:
canSkip
in class SkippingState
- Parameters:
b
- the byte to check.
- Returns:
true
if the byte can be skipped.
Copyright © 2004-2011 Apache MINA Project. All Rights Reserved.