dap4/d4lib/src/main/java/dap4/dap4lib/AbstractDSP.java
@Override
    public void setContext(DapContext context)
    {
        this.context = context;
        // Extract some things from the context
        Object o = this.context.get(Dap4Util.DAP4ENDIANTAG);
        if(o != null)
            setOrder((ByteOrder) o);
        o = this.context.get(Dap4Util.DAP4CSUMTAG);
        if(o != null)
            setChecksumMode(ChecksumMode.modeFor(o.toString()));
    }
@Override
    public void setContext(DapContext context)
    {
        this.context = context;
        // Extract some things from the context
        Object o = this.context.get(Dap4Util.DAP4ENDIANTAG);
        if(o != null)
            setOrder((ByteOrder) o);
        o = this.context.get(Dap4Util.DAP4CSUMTAG);
        if(o != null)
            setChecksumMode(ChecksumMode.modeFor(o.toString()));
    }
@ Override public void setContext ( DapContext context ) { this . context = context ; // Extract some things from the context Object o = this . context . get ( Dap4Util . DAP4ENDIANTAG ) ; if ( o != null ) setOrder ( ( ByteOrder ) o ) ; o = this . context . get ( Dap4Util . DAP4CSUMTAG ) ; if ( o != null ) setChecksumMode ( ChecksumMode . modeFor ( o . toString ( ) ) ) ; }
DSP Extensions
DSP Extensions