# 程序包org.springframework.core.codec的分层结构

程序包分层结构:

- 所有程序包

## 类分层结构

- java.lang.Object
  - org.springframework.core.codec.AbstractDecoder<T> (implements org.springframework.core.codec.Decoder<T>)
    - org.springframework.core.codec.AbstractDataBufferDecoder<T>
      - org.springframework.core.codec.ByteArrayDecoder
      - org.springframework.core.codec.ByteBufferDecoder
      - org.springframework.core.codec.DataBufferDecoder
      - org.springframework.core.codec.ResourceDecoder
      - org.springframework.core.codec.StringDecoder
  - org.springframework.core.codec.AbstractEncoder<T> (implements org.springframework.core.codec.Encoder<T>)
    - org.springframework.core.codec.AbstractSingleValueEncoder<T>
      - org.springframework.core.codec.ResourceEncoder
    - org.springframework.core.codec.ByteArrayEncoder
    - org.springframework.core.codec.ByteBufferEncoder
    - org.springframework.core.codec.CharSequenceEncoder
    - org.springframework.core.codec.DataBufferEncoder
    - org.springframework.core.codec.ResourceRegionEncoder
  - java.lang.Throwable (implements java.io.Serializable)
    - java.lang.Exception
      - java.lang.RuntimeException
        - org.springframework.core.NestedRuntimeException
          - org.springframework.core.codec.CodecException
            - org.springframework.core.codec.DecodingException
            - org.springframework.core.codec.EncodingException

## 接口分层结构

- org.springframework.core.codec.Decoder<T>
- org.springframework.core.codec.Encoder<T>