public class RawCodec extends java.lang.Object implements CodecFactory, Decoder, Encoder, StreamingEncoder
Codec that doesn't do any encoding or decoding. This is for marking some text as "safe" in the buffer. "safe" part of the buffer won't be encoded later if a codec is applied to the buffer
Modifiers | Name | Description |
---|---|---|
static CodecIdentifier |
RAW_CODEC_IDENTIFIER |
Type Params | Return Type | Name and description |
---|---|---|
|
public java.lang.Object |
decode(java.lang.Object o) |
|
public java.lang.Object |
encode(java.lang.Object o) |
|
public void |
encodeToStream(Encoder thisInstance, java.lang.CharSequence source, int offset, int len, EncodedAppender appender, EncodingState encodingState) |
|
public CodecIdentifier |
getCodecIdentifier() |
|
public Decoder |
getDecoder() |
|
public Encoder |
getEncoder() |
|
public boolean |
isApplyToSafelyEncoded() |
|
public boolean |
isEquivalent(CodecIdentifier other) |
|
public boolean |
isSafe() |
|
public void |
markEncoded(java.lang.CharSequence string) |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |