Uses of Interface
org.apache.shiro.util.ByteSource
-
Packages that use ByteSource Package Description org.apache.shiro.util -
-
Uses of ByteSource in org.apache.shiro.util
Classes in org.apache.shiro.util that implement ByteSource Modifier and Type Class Description class
SimpleByteSource
Very simpleByteSource
implementation that maintains an internalbyte[]
array and uses theHex
andBase64
codec classes to support thetoHex()
andtoBase64()
implementations.Methods in org.apache.shiro.util that return ByteSource Modifier and Type Method Description static ByteSource
ByteSource.Util. bytes(byte[] bytes)
Returns a newByteSource
instance representing the specified byte array.static ByteSource
ByteSource.Util. bytes(char[] chars)
Returns a newByteSource
instance representing the specified character array's bytes.static ByteSource
ByteSource.Util. bytes(File file)
Returns a newByteSource
instance representing the specified File's bytes.static ByteSource
ByteSource.Util. bytes(InputStream stream)
Returns a newByteSource
instance representing the specified InputStream's bytes.static ByteSource
ByteSource.Util. bytes(Object source)
Returns aByteSource
instance representing the specified byte source argument.static ByteSource
ByteSource.Util. bytes(String string)
Returns a newByteSource
instance representing the specified string's bytes.static ByteSource
ByteSource.Util. bytes(ByteSource source)
Returns a newByteSource
instance representing the specified ByteSource.Methods in org.apache.shiro.util with parameters of type ByteSource Modifier and Type Method Description static ByteSource
ByteSource.Util. bytes(ByteSource source)
Returns a newByteSource
instance representing the specified ByteSource.Constructors in org.apache.shiro.util with parameters of type ByteSource Constructor Description SimpleByteSource(ByteSource source)
Creates an instance using the sources bytes directly - it does not create a copy of the argument's byte array.
-