Java org.apache.shiro.codec CodecSupport fields, constructors, methods, implement or subclass

Example usage for Java org.apache.shiro.codec CodecSupport fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.shiro.codec CodecSupport.

The text is from its open source code.

Subclass

org.apache.shiro.codec.CodecSupport has subclasses.
Click this link to see all its subclasses.

Method

byte[]toBytes(char[] chars)
Converts the specified character array to a byte array using the Shiro's preferred encoding (UTF-8).
byte[]toBytes(String source)
Converts the specified source argument to a byte array with Shiro's CodecSupport#PREFERRED_ENCODING PREFERRED_ENCODING .
byte[]toBytes(Object o)
Converts the specified Object into a byte array.
byte[]toBytes(File file)
byte[]toBytes(InputStream in)
Converts the specified InputStream InputStream into a byte array.
byte[]toBytes(char[] chars, String encoding)
Converts the specified character array into a byte array using the specified character encoding.
byte[]toBytes(String source, String encoding)
Converts the specified source to a byte array via the specified encoding, throwing a CodecException CodecException if the encoding fails.
StringtoString(byte[] bytes)
Converts the specified byte array to a String using the CodecSupport#PREFERRED_ENCODING PREFERRED_ENCODING .
StringtoString(Object o)
Converts the specified Object into a String.
StringtoString(byte[] bytes, String encoding)
Converts the specified byte array to a String using the specified character encoding.