|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.mina.filter.codec.ProtocolDecoderAdapter
org.apache.mina.filter.codec.CumulativeProtocolDecoder
org.opennms.netmgt.provision.support.codec.MultiLineDecoder
public class MultiLineDecoder
MultiLineDecoder class.
| Field Summary | |
|---|---|
protected String |
CURRENT_RESPONSE
|
| Constructor Summary | |
|---|---|
MultiLineDecoder(Charset charset,
String multilineIndicator)
Constructor for MultiLineDecoder. |
|
| Method Summary | |
|---|---|
protected boolean |
checkIndicator(org.apache.mina.core.buffer.IoBuffer in)
checkIndicator |
protected boolean |
doDecode(org.apache.mina.core.session.IoSession session,
org.apache.mina.core.buffer.IoBuffer in,
org.apache.mina.filter.codec.ProtocolDecoderOutput out)
|
Charset |
getCharset()
getCharset |
String |
getMultilineIndicator()
getMultilineIndicator |
void |
setCharset(Charset charset)
setCharset |
| Methods inherited from class org.apache.mina.filter.codec.CumulativeProtocolDecoder |
|---|
decode, dispose |
| Methods inherited from class org.apache.mina.filter.codec.ProtocolDecoderAdapter |
|---|
finishDecode |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected String CURRENT_RESPONSE
| Constructor Detail |
|---|
public MultiLineDecoder(Charset charset,
String multilineIndicator)
Constructor for MultiLineDecoder.
charset - a Charset object.multilineIndicator - a String object.| Method Detail |
|---|
protected boolean doDecode(org.apache.mina.core.session.IoSession session,
org.apache.mina.core.buffer.IoBuffer in,
org.apache.mina.filter.codec.ProtocolDecoderOutput out)
throws Exception
doDecode in class org.apache.mina.filter.codec.CumulativeProtocolDecoderException
protected boolean checkIndicator(org.apache.mina.core.buffer.IoBuffer in)
throws CharacterCodingException
checkIndicator
in - a IoBuffer object.
CharacterCodingException - if any.public void setCharset(Charset charset)
setCharset
charset - a Charset object.public Charset getCharset()
getCharset
Charset object.public String getMultilineIndicator()
getMultilineIndicator
String object.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||