-
- All Implemented Interfaces:
-
net.pwall.pipeline.BaseCoAcceptor,net.pwall.pipeline.BaseCoPipeline,net.pwall.pipeline.IntCoAcceptor,net.pwall.pipeline.IntCoPipeline
public final class Base64CoDecoder<R extends Object> extends CoErrorStrategyBase<R>
Base64 decoder - decode text encoded in Base 64. Accepts either conventional encoding or URL-safe encoding, and allows whitespace between groups of 4 characters.
-
-
Field Summary
Fields Modifier and Type Field Description private final BooleanstageCompleteprivate final IntCoAcceptor<R>downstreamprivate final Booleanclosedprivate final Booleancompleteprivate final Rresult
-
Constructor Summary
Constructors Constructor Description Base64CoDecoder(IntCoAcceptor<R> downstream, ErrorStrategy errorStrategy)
-
Method Summary
Modifier and Type Method Description BooleangetStageComplete()UnitacceptInt(Integer value)Accept an int, afterclosedcheck and test for end of data.-
Methods inherited from class net.pwall.pipeline.AbstractIntCoPipeline
close, emit, flush, getDownstream -
Methods inherited from class net.pwall.pipeline.BaseAbstractCoAcceptor
getClosed -
Methods inherited from class net.pwall.pipeline.BaseCoAcceptor
getComplete, getResult -
Methods inherited from class net.pwall.pipeline.codec.CoErrorStrategyBase
handleError -
Methods inherited from class net.pwall.pipeline.AbstractIntCoAcceptor
accept -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
Base64CoDecoder
Base64CoDecoder(IntCoAcceptor<R> downstream, ErrorStrategy errorStrategy)
-
-
Method Detail
-
getStageComplete
Boolean getStageComplete()
-
-
-
-