Uses of Class
org.apache.shiro.lang.codec.CodecException

Packages that use CodecException
Package
Description
Components for encoding and decoding of data across multiple formats, especially useful in Shiro's cryptography and web functionality.
  • Uses of CodecException in org.apache.shiro.lang.codec

    Modifier and Type
    Method
    Description
    static byte[]
    CodecSupport.toBytes(char[] chars, String encoding)
    Converts the specified character array into a byte array using the specified character encoding.
    static byte[]
    CodecSupport.toBytes(String source, String encoding)
    Converts the specified source to a byte array via the specified encoding, throwing a CodecException if the encoding fails.
    static char[]
    CodecSupport.toChars(byte[] bytes, String encoding)
    Converts the specified byte array to a character array using the specified character encoding.
    static String
    CodecSupport.toString(byte[] bytes, String encoding)
    Converts the specified byte array to a String using the specified character encoding.