A B C D E F G H I J K L N O P R S T U V X
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- Assert - Class in org.apache.shiro.util
-
Assertion utility class that assists in validating arguments.
- Assert() - Constructor for class org.apache.shiro.util.Assert
B
- Base64 - Class in org.apache.shiro.codec
- Base64() - Constructor for class org.apache.shiro.codec.Base64
- bytes(byte[]) - Static method in class org.apache.shiro.util.ByteSource.Util
-
Returns a new
ByteSource
instance representing the specified byte array. - bytes(char[]) - Static method in class org.apache.shiro.util.ByteSource.Util
-
Returns a new
ByteSource
instance representing the specified character array's bytes. - bytes(File) - Static method in class org.apache.shiro.util.ByteSource.Util
-
Returns a new
ByteSource
instance representing the specified File's bytes. - bytes(InputStream) - Static method in class org.apache.shiro.util.ByteSource.Util
-
Returns a new
ByteSource
instance representing the specified InputStream's bytes. - bytes(Object) - Static method in class org.apache.shiro.util.ByteSource.Util
-
Returns a
ByteSource
instance representing the specified byte source argument. - bytes(String) - Static method in class org.apache.shiro.util.ByteSource.Util
-
Returns a new
ByteSource
instance representing the specified string's bytes. - bytes(ByteSource) - Static method in class org.apache.shiro.util.ByteSource.Util
-
Returns a new
ByteSource
instance representing the specified ByteSource. - ByteSource - Interface in org.apache.shiro.util
-
A
ByteSource
wraps a byte array and provides additional encoding operations. - ByteSource.Util - Class in org.apache.shiro.util
-
Utility class that can construct ByteSource instances.
C
- CLASSPATH_PREFIX - Static variable in class org.apache.shiro.io.ResourceUtils
-
Resource path prefix that specifies to load from a classpath location, value is
classpath:
- ClassResolvingObjectInputStream - Class in org.apache.shiro.io
-
Enables correct ClassLoader lookup in various environments (e.g.
- ClassResolvingObjectInputStream(InputStream) - Constructor for class org.apache.shiro.io.ClassResolvingObjectInputStream
- ClassUtils - Class in org.apache.shiro.util
-
Utility method library used to conveniently interact with
Class
es, such as acquiring them from the applicationClassLoader
s and instantiating Objects from them. - ClassUtils() - Constructor for class org.apache.shiro.util.ClassUtils
- clean(String) - Static method in class org.apache.shiro.util.StringUtils
-
Returns a 'cleaned' representation of the specified argument.
- clear() - Method in class org.apache.shiro.util.SoftHashMap
- close(InputStream) - Static method in class org.apache.shiro.io.ResourceUtils
-
Convenience method that closes the specified
InputStream
, logging anyIOException
that might occur. - CodecException - Exception in org.apache.shiro.codec
-
Root exception related to issues during encoding or decoding.
- CodecException() - Constructor for exception org.apache.shiro.codec.CodecException
-
Creates a new
CodecException
. - CodecException(String) - Constructor for exception org.apache.shiro.codec.CodecException
-
Creates a new
CodecException
. - CodecException(String, Throwable) - Constructor for exception org.apache.shiro.codec.CodecException
-
Creates a new
CodecException
. - CodecException(Throwable) - Constructor for exception org.apache.shiro.codec.CodecException
-
Creates a new
CodecException
. - CodecSupport - Class in org.apache.shiro.codec
-
Base abstract class that provides useful encoding and decoding operations, especially for character data.
- CodecSupport() - Constructor for class org.apache.shiro.codec.CodecSupport
- containsKey(Object) - Method in class org.apache.shiro.util.SoftHashMap
- containsValue(Object) - Method in class org.apache.shiro.util.SoftHashMap
D
- decode(byte[]) - Static method in class org.apache.shiro.codec.Base64
-
Decodes Base64 data into octets
- decode(byte[]) - Static method in class org.apache.shiro.codec.Hex
-
Converts an array of character bytes representing hexadecimal values into an array of bytes of those same values.
- decode(char[]) - Static method in class org.apache.shiro.codec.Hex
-
Converts an array of characters representing hexadecimal values into an array of bytes of those same values.
- decode(String) - Static method in class org.apache.shiro.codec.Base64
-
Converts the specified UTF-8 Base64 encoded String and decodes it to a raw Base64 decoded byte array.
- decode(String) - Static method in class org.apache.shiro.codec.Hex
-
Converts the specified Hex-encoded String into a raw byte array.
- decodeToString(byte[]) - Static method in class org.apache.shiro.codec.Base64
-
Decodes the specified Base64 encoded byte array and returns the decoded result as a UTF-8 encoded.
- decodeToString(String) - Static method in class org.apache.shiro.codec.Base64
-
Converts the specified UTF-8 Base64 encoded String and decodes it to a resultant UTF-8 encoded string.
- DEFAULT_DELIMITER_CHAR - Static variable in class org.apache.shiro.util.StringUtils
-
Constant representing the default delimiter character (comma), equal to
','
- DEFAULT_QUOTE_CHAR - Static variable in class org.apache.shiro.util.StringUtils
-
Constant representing the default quote character (double quote), equal to '"'
- DefaultSerializer<T> - Class in org.apache.shiro.io
-
Serializer implementation that uses the default JVM serialization mechanism (Object Input/Output Streams).
- DefaultSerializer() - Constructor for class org.apache.shiro.io.DefaultSerializer
- deserialize(byte[]) - Method in class org.apache.shiro.io.DefaultSerializer
-
This implementation deserializes the byte array using a
ObjectInputStream
using a sourceByteArrayInputStream
constructed with the argument byte array. - deserialize(byte[]) - Method in interface org.apache.shiro.io.Serializer
-
Converts the specified raw byte[] array back into an original Object form.
- deserialize(byte[]) - Method in class org.apache.shiro.io.XmlSerializer
-
Deprecated.Deserializes the specified
serialized
source back into an Object by using aByteArrayInputStream
to wrap the argument and then decode this stream via anXMLDecoder
, where thereadObject
call results in the original Object to return. - destroy() - Method in interface org.apache.shiro.util.Destroyable
-
Called when this object is being destroyed, allowing any necessary cleanup of internal resources.
- destroy(Object) - Static method in class org.apache.shiro.util.LifecycleUtils
- destroy(Collection) - Static method in class org.apache.shiro.util.LifecycleUtils
-
Calls
destroy
for each object in the collection. - destroy(Destroyable) - Static method in class org.apache.shiro.util.LifecycleUtils
- Destroyable - Interface in org.apache.shiro.util
-
Shiro container-agnostic interface that indicates that this object requires a callback during destruction.
- doesNotContain(String, String) - Static method in class org.apache.shiro.util.Assert
-
Assert that the given text does not contain the given substring.
- doesNotContain(String, String, String) - Static method in class org.apache.shiro.util.Assert
-
Assert that the given text does not contain the given substring.
E
- EMPTY_STRING - Static variable in class org.apache.shiro.util.StringUtils
-
Constant representing the empty string, equal to ""
- encode(byte[]) - Static method in class org.apache.shiro.codec.Base64
-
Encodes a byte[] containing binary data, into a byte[] containing characters in the Base64 alphabet.
- encode(byte[]) - Static method in class org.apache.shiro.codec.Hex
-
Converts an array of bytes into an array of characters representing the hexadecimal values of each byte in order.
- encode(byte[], boolean) - Static method in class org.apache.shiro.codec.Base64
-
Encodes binary data using the base64 algorithm, optionally chunking the output into 76 character blocks.
- encodeChunked(byte[]) - Static method in class org.apache.shiro.codec.Base64
-
Encodes binary data using the base64 algorithm and chunks the encoded output into 76 character blocks
- encodeToString(byte[]) - Static method in class org.apache.shiro.codec.Base64
-
Base64 encodes the specified byte array and then encodes it as a String using Shiro's preferred character encoding (UTF-8).
- encodeToString(byte[]) - Static method in class org.apache.shiro.codec.H64
-
Encodes the specified bytes to an
H64
-encoded String. - encodeToString(byte[]) - Static method in class org.apache.shiro.codec.Hex
-
Encodes the specified byte array to a character array and then returns that character array as a String.
- entrySet() - Method in class org.apache.shiro.util.SoftHashMap
- equals(Object) - Method in class org.apache.shiro.util.SimpleByteSource
F
- Factory<T> - Interface in org.apache.shiro.util
-
Generics-aware interface supporting the Factory Method design pattern.
- FILE_PREFIX - Static variable in class org.apache.shiro.io.ResourceUtils
-
Resource path prefix that specifies to load from a file location, value is
file:
- forName(String) - Static method in class org.apache.shiro.util.ClassUtils
-
Attempts to load the specified class name from the current thread's
context class loader
, then the current ClassLoader (ClassUtils.class.getClassLoader()
), then the system/application ClassLoader (ClassLoader.getSystemClassLoader()
, in that order.
G
- get(Object) - Method in class org.apache.shiro.util.SoftHashMap
- getAnnotatedMethods(Class<?>, Class<? extends Annotation>) - Static method in class org.apache.shiro.util.ClassUtils
- getBytes() - Method in interface org.apache.shiro.util.ByteSource
-
Returns the wrapped byte array.
- getBytes() - Method in class org.apache.shiro.util.SimpleByteSource
- getConstructor(Class, Class...) - Static method in class org.apache.shiro.util.ClassUtils
- getInputStreamForPath(String) - Static method in class org.apache.shiro.io.ResourceUtils
-
Returns the InputStream for the resource represented by the specified path, supporting scheme prefixes that direct how to acquire the input stream (
CLASSPATH_PREFIX
,URL_PREFIX
, orFILE_PREFIX
). - getInstance() - Method in interface org.apache.shiro.util.Factory
-
Returns an instance of the required type.
- getResourceAsStream(String) - Static method in class org.apache.shiro.util.ClassUtils
-
Returns the specified resource by checking the current thread's
context class loader
, then the current ClassLoader (ClassUtils.class.getClassLoader()
), then the system/application ClassLoader (ClassLoader.getSystemClassLoader()
, in that order, usinggetResourceAsStream(name)
.
H
- H64 - Class in org.apache.shiro.codec
-
Codec for Unix Crypt-style encoding.
- H64() - Constructor for class org.apache.shiro.codec.H64
- hashCode() - Method in class org.apache.shiro.util.SimpleByteSource
- hasLength(String) - Static method in class org.apache.shiro.util.Assert
-
Assert that the given String is not empty; that is, it must not be
null
and not the empty String. - hasLength(String) - Static method in class org.apache.shiro.util.StringUtils
-
Check that the given String is neither
null
nor of length 0. - hasLength(String, String) - Static method in class org.apache.shiro.util.Assert
-
Assert that the given String is not empty; that is, it must not be
null
and not the empty String. - hasResourcePrefix(String) - Static method in class org.apache.shiro.io.ResourceUtils
-
Returns
true
if the resource path is not null and starts with one of the recognized resource prefixes (CLASSPATH_PREFIX
,URL_PREFIX
, orFILE_PREFIX
),false
otherwise. - hasText(String) - Static method in class org.apache.shiro.util.Assert
-
Assert that the given String has valid text content; that is, it must not be
null
and must contain at least one non-whitespace character. - hasText(String) - Static method in class org.apache.shiro.util.StringUtils
-
Check whether the given String has actual text.
- hasText(String, String) - Static method in class org.apache.shiro.util.Assert
-
Assert that the given String has valid text content; that is, it must not be
null
and must contain at least one non-whitespace character. - Hex - Class in org.apache.shiro.codec
-
Hexadecimal encoder and decoder.
- Hex() - Constructor for class org.apache.shiro.codec.Hex
I
- init() - Method in interface org.apache.shiro.util.Initializable
-
Initializes this object.
- init(Object) - Static method in class org.apache.shiro.util.LifecycleUtils
- init(Collection) - Static method in class org.apache.shiro.util.LifecycleUtils
-
Calls
init
for each object in the collection. - init(Initializable) - Static method in class org.apache.shiro.util.LifecycleUtils
- Initializable - Interface in org.apache.shiro.util
-
Shiro container-agnostic interface that indicates that this object requires initialization.
- instantiate(Constructor, Object...) - Static method in class org.apache.shiro.util.ClassUtils
- InstantiationException - Exception in org.apache.shiro.util
-
Runtime exception thrown by the framework when unable to instantiate a Class via reflection.
- InstantiationException() - Constructor for exception org.apache.shiro.util.InstantiationException
-
Creates a new InstantiationException.
- InstantiationException(String) - Constructor for exception org.apache.shiro.util.InstantiationException
-
Constructs a new InstantiationException.
- InstantiationException(String, Throwable) - Constructor for exception org.apache.shiro.util.InstantiationException
-
Constructs a new InstantiationException.
- InstantiationException(Throwable) - Constructor for exception org.apache.shiro.util.InstantiationException
-
Constructs a new InstantiationException.
- isAssignable(Class, Class) - Static method in class org.apache.shiro.util.Assert
-
Assert that
superType.isAssignableFrom(subType)
istrue
. - isAssignable(Class, Class, String) - Static method in class org.apache.shiro.util.Assert
-
Assert that
superType.isAssignableFrom(subType)
istrue
. - isAvailable(String) - Static method in class org.apache.shiro.util.ClassUtils
- isBase64(byte[]) - Static method in class org.apache.shiro.codec.Base64
-
Tests a given byte array to see if it contains only valid characters within the Base64 alphabet.
- isByteSource(Object) - Method in class org.apache.shiro.codec.CodecSupport
-
Returns
true
if the specified object can be easily converted to bytes by instances of this class,false
otherwise. - isCompatible(Object) - Static method in class org.apache.shiro.util.ByteSource.Util
-
Returns
true
if the specified object can be easily represented as aByteSource
using theByteSource.Util
's default heuristics,false
otherwise. - isCompatible(Object) - Static method in class org.apache.shiro.util.SimpleByteSource
-
Returns
true
if the specified object is a recognized data type that can be easily converted to bytes by instances of this class,false
otherwise. - isEmpty() - Method in interface org.apache.shiro.util.ByteSource
-
Returns
true
if the underlying wrapped byte array is null or empty (zero length),false
otherwise. - isEmpty() - Method in class org.apache.shiro.util.SimpleByteSource
- isEmpty() - Method in class org.apache.shiro.util.SoftHashMap
- isInstanceOf(Class, Object) - Static method in class org.apache.shiro.util.Assert
-
Assert that the provided object is an instance of the provided class.
- isInstanceOf(Class, Object, String) - Static method in class org.apache.shiro.util.Assert
-
Assert that the provided object is an instance of the provided class.
- isNull(Object) - Static method in class org.apache.shiro.util.Assert
-
Assert that an object is
null
. - isNull(Object, String) - Static method in class org.apache.shiro.util.Assert
-
Assert that an object is
null
. - isTrue(boolean) - Static method in class org.apache.shiro.util.Assert
-
Assert a boolean expression, throwing
IllegalArgumentException
if the test result isfalse
. - isTrue(boolean, String) - Static method in class org.apache.shiro.util.Assert
-
Assert a boolean expression, throwing
IllegalArgumentException
if the test result isfalse
.
J
- join(Iterator<?>, String) - Static method in class org.apache.shiro.util.StringUtils
-
Joins the elements of the provided
Iterator
into a single String containing the provided elements.
K
- keySet() - Method in class org.apache.shiro.util.SoftHashMap
L
- LifecycleUtils - Class in org.apache.shiro.util
-
Utility class to help call
Initializable.init()
andDestroyable.destroy()
methods cleanly on any object. - LifecycleUtils() - Constructor for class org.apache.shiro.util.LifecycleUtils
N
- Nameable - Interface in org.apache.shiro.util
-
Interface implemented by components that can be named, such as via configuration, and wish to have that name set once it has been configured.
- newInstance(Class) - Static method in class org.apache.shiro.util.ClassUtils
- newInstance(Class, Object...) - Static method in class org.apache.shiro.util.ClassUtils
- newInstance(String) - Static method in class org.apache.shiro.util.ClassUtils
- newInstance(String, Object...) - Static method in class org.apache.shiro.util.ClassUtils
- noNullElements(Object[]) - Static method in class org.apache.shiro.util.Assert
-
Assert that an array has no null elements.
- noNullElements(Object[], String) - Static method in class org.apache.shiro.util.Assert
-
Assert that an array has no null elements.
- notEmpty(Object[]) - Static method in class org.apache.shiro.util.Assert
-
Assert that an array has elements; that is, it must not be
null
and must have at least one element. - notEmpty(Object[], String) - Static method in class org.apache.shiro.util.Assert
-
Assert that an array has elements; that is, it must not be
null
and must have at least one element. - notEmpty(Collection) - Static method in class org.apache.shiro.util.Assert
-
Assert that a collection has elements; that is, it must not be
null
and must have at least one element. - notEmpty(Collection, String) - Static method in class org.apache.shiro.util.Assert
-
Assert that a collection has elements; that is, it must not be
null
and must have at least one element. - notEmpty(Map) - Static method in class org.apache.shiro.util.Assert
-
Assert that a Map has entries; that is, it must not be
null
and must have at least one entry. - notEmpty(Map, String) - Static method in class org.apache.shiro.util.Assert
-
Assert that a Map has entries; that is, it must not be
null
and must have at least one entry. - notNull(Object) - Static method in class org.apache.shiro.util.Assert
-
Assert that an object is not
null
. - notNull(Object, String) - Static method in class org.apache.shiro.util.Assert
-
Assert that an object is not
null
.
O
- objectToBytes(Object) - Method in class org.apache.shiro.codec.CodecSupport
-
Default implementation throws a CodecException immediately since it can't infer how to convert the Object to a byte array.
- objectToString(Object) - Method in class org.apache.shiro.codec.CodecSupport
-
Default implementation merely returns
objectArgument.toString()
. - org.apache.shiro - package org.apache.shiro
- org.apache.shiro.codec - package org.apache.shiro.codec
-
Components for encoding and decoding of data across multiple formats, especially useful in Shiro's cryptography and web functionality.
- org.apache.shiro.io - package org.apache.shiro.io
-
Support for reading and writing (input/output) raw data from multiple resource locations.
- org.apache.shiro.util - package org.apache.shiro.util
P
- PREFERRED_ENCODING - Static variable in class org.apache.shiro.codec.CodecSupport
-
Shiro's default preferred character encoding, equal to
UTF-8
. - put(K, V) - Method in class org.apache.shiro.util.SoftHashMap
-
Creates a new entry, but wraps the value in a SoftValue instance to enable auto garbage collection.
- putAll(Map<? extends K, ? extends V>) - Method in class org.apache.shiro.util.SoftHashMap
R
- remove(Object) - Method in class org.apache.shiro.util.SoftHashMap
- resolveClass(ObjectStreamClass) - Method in class org.apache.shiro.io.ClassResolvingObjectInputStream
-
Resolves an
ObjectStreamClass
by delegating to Shiro'sClassUtils.forName(String)
utility method, which is known to work in all ClassLoader environments. - resourceExists(String) - Static method in class org.apache.shiro.io.ResourceUtils
-
Returns
true
if the resource at the specified path exists,false
otherwise. - ResourceUtils - Class in org.apache.shiro.io
-
Static helper methods for loading
Stream
-backed resources.
S
- SerializationException - Exception in org.apache.shiro.io
-
Root exception for problems either serializing or de-serializing data.
- SerializationException() - Constructor for exception org.apache.shiro.io.SerializationException
-
Creates a new SerializationException.
- SerializationException(String) - Constructor for exception org.apache.shiro.io.SerializationException
-
Constructs a new SerializationException.
- SerializationException(String, Throwable) - Constructor for exception org.apache.shiro.io.SerializationException
-
Constructs a new SerializationException.
- SerializationException(Throwable) - Constructor for exception org.apache.shiro.io.SerializationException
-
Constructs a new SerializationException.
- serialize(Object) - Method in class org.apache.shiro.io.XmlSerializer
-
Deprecated.Serializes the specified
source
into a byte[] array by using theXMLEncoder
to encode the object out to aByteArrayOutputStream
, where the resulting byte[] array is returned. - serialize(T) - Method in class org.apache.shiro.io.DefaultSerializer
-
This implementation serializes the Object by using an
ObjectOutputStream
backed by aByteArrayOutputStream
. - serialize(T) - Method in interface org.apache.shiro.io.Serializer
-
Converts the specified Object into a byte[] array.
- Serializer<T> - Interface in org.apache.shiro.io
-
A
Serializer
converts objects to raw binary data and vice versa, enabling persistent storage of objects to files, HTTP cookies, or other mechanism. - setName(String) - Method in interface org.apache.shiro.util.Nameable
-
Sets the (preferably application unique) name for this component.
- ShiroException - Exception in org.apache.shiro
-
Root exception for all Shiro runtime exceptions.
- ShiroException() - Constructor for exception org.apache.shiro.ShiroException
-
Creates a new ShiroException.
- ShiroException(String) - Constructor for exception org.apache.shiro.ShiroException
-
Constructs a new ShiroException.
- ShiroException(String, Throwable) - Constructor for exception org.apache.shiro.ShiroException
-
Constructs a new ShiroException.
- ShiroException(Throwable) - Constructor for exception org.apache.shiro.ShiroException
-
Constructs a new ShiroException.
- SimpleByteSource - Class in org.apache.shiro.util
-
Very simple
ByteSource
implementation that maintains an internalbyte[]
array and uses theHex
andBase64
codec classes to support thetoHex()
andtoBase64()
implementations. - SimpleByteSource(byte[]) - Constructor for class org.apache.shiro.util.SimpleByteSource
- SimpleByteSource(char[]) - Constructor for class org.apache.shiro.util.SimpleByteSource
-
Creates an instance by converting the characters to a byte array (assumes UTF-8 encoding).
- SimpleByteSource(File) - Constructor for class org.apache.shiro.util.SimpleByteSource
-
Creates an instance by converting the file to a byte array.
- SimpleByteSource(InputStream) - Constructor for class org.apache.shiro.util.SimpleByteSource
-
Creates an instance by converting the stream to a byte array.
- SimpleByteSource(String) - Constructor for class org.apache.shiro.util.SimpleByteSource
-
Creates an instance by converting the String to a byte array (assumes UTF-8 encoding).
- SimpleByteSource(ByteSource) - Constructor for class org.apache.shiro.util.SimpleByteSource
-
Creates an instance using the sources bytes directly - it does not create a copy of the argument's byte array.
- size() - Method in class org.apache.shiro.util.SoftHashMap
- SoftHashMap<K,V> - Class in org.apache.shiro.util
-
A
SoftHashMap
is a memory-constrained map that stores its values inSoftReference
s. - SoftHashMap() - Constructor for class org.apache.shiro.util.SoftHashMap
-
Creates a new SoftHashMap with a default retention size size of
DEFAULT_RETENTION_SIZE
(100 entries). - SoftHashMap(int) - Constructor for class org.apache.shiro.util.SoftHashMap
-
Creates a new SoftHashMap with the specified retention size.
- SoftHashMap(Map<K, V>) - Constructor for class org.apache.shiro.util.SoftHashMap
-
Creates a
SoftHashMap
backed by the specifiedsource
, with a default retention size ofDEFAULT_RETENTION_SIZE
(100 entries). - SoftHashMap(Map<K, V>, int) - Constructor for class org.apache.shiro.util.SoftHashMap
-
Creates a
SoftHashMap
backed by the specifiedsource
, with the specified retention size. - split(String) - Static method in class org.apache.shiro.util.StringUtils
- split(String, char) - Static method in class org.apache.shiro.util.StringUtils
- split(String, char, char) - Static method in class org.apache.shiro.util.StringUtils
- split(String, char, char, char) - Static method in class org.apache.shiro.util.StringUtils
- split(String, char, char, char, boolean, boolean) - Static method in class org.apache.shiro.util.StringUtils
-
Splits the specified delimited String into tokens, supporting quoted tokens so that quoted strings themselves won't be tokenized.
- splitKeyValue(String) - Static method in class org.apache.shiro.util.StringUtils
- splitToSet(String, String) - Static method in class org.apache.shiro.util.StringUtils
-
Splits the
delimited
string (delimited by the specifiedseparator
character) and returns the delimited values as aSet
. - startsWithIgnoreCase(String, String) - Static method in class org.apache.shiro.util.StringUtils
-
Test if the given String starts with the specified prefix, ignoring upper/lower case.
- state(boolean) - Static method in class org.apache.shiro.util.Assert
-
Assert a boolean expression, throwing
IllegalStateException
if the test result isfalse
. - state(boolean, String) - Static method in class org.apache.shiro.util.Assert
-
Assert a boolean expression, throwing
IllegalStateException
if the test result isfalse
. - StringUtils - Class in org.apache.shiro.util
-
Simple utility class for String operations useful across the framework.
- StringUtils() - Constructor for class org.apache.shiro.util.StringUtils
T
- toBase64() - Method in interface org.apache.shiro.util.ByteSource
-
Returns the Base 64-formatted String representation of the underlying wrapped byte array.
- toBase64() - Method in class org.apache.shiro.util.SimpleByteSource
- toBytes(char[]) - Static method in class org.apache.shiro.codec.CodecSupport
-
Converts the specified character array to a byte array using the Shiro's preferred encoding (UTF-8).
- toBytes(char[], String) - Static method in class org.apache.shiro.codec.CodecSupport
-
Converts the specified character array into a byte array using the specified character encoding.
- toBytes(File) - Method in class org.apache.shiro.codec.CodecSupport
- toBytes(InputStream) - Method in class org.apache.shiro.codec.CodecSupport
-
Converts the specified
InputStream
into a byte array. - toBytes(Object) - Method in class org.apache.shiro.codec.CodecSupport
-
Converts the specified Object into a byte array.
- toBytes(String) - Static method in class org.apache.shiro.codec.CodecSupport
-
Converts the specified source argument to a byte array with Shiro's
PREFERRED_ENCODING
. - toBytes(String, String) - Static method in class org.apache.shiro.codec.CodecSupport
-
Converts the specified source to a byte array via the specified encoding, throwing a
CodecException
if the encoding fails. - toChars(byte[]) - Static method in class org.apache.shiro.codec.CodecSupport
-
Returns the specified byte array as a character array using the
PREFERRED_ENCODING
. - toChars(byte[], String) - Static method in class org.apache.shiro.codec.CodecSupport
-
Converts the specified byte array to a character array using the specified character encoding.
- toDelimitedString(Object[], String) - Static method in class org.apache.shiro.util.StringUtils
-
Returns the array's contents as a string, with each element delimited by the specified
delimiter
argument. - toDelimitedString(Collection, String) - Static method in class org.apache.shiro.util.StringUtils
-
Returns the collection's contents as a string, with each element delimited by the specified
delimiter
argument. - toDigit(char, int) - Static method in class org.apache.shiro.codec.Hex
-
Converts a hexadecimal character to an integer.
- toHex() - Method in interface org.apache.shiro.util.ByteSource
-
Returns the Hex-formatted String representation of the underlying wrapped byte array.
- toHex() - Method in class org.apache.shiro.util.SimpleByteSource
- tokenizeToStringArray(String, String) - Static method in class org.apache.shiro.util.StringUtils
-
Tokenize the given String into a String array via a StringTokenizer.
- tokenizeToStringArray(String, String, boolean, boolean) - Static method in class org.apache.shiro.util.StringUtils
-
Tokenize the given String into a String array via a StringTokenizer.
- toString() - Method in class org.apache.shiro.util.SimpleByteSource
- toString(byte[]) - Static method in class org.apache.shiro.codec.CodecSupport
-
Converts the specified byte array to a String using the
PREFERRED_ENCODING
. - toString(byte[], String) - Static method in class org.apache.shiro.codec.CodecSupport
-
Converts the specified byte array to a String using the specified character encoding.
- toString(Object) - Method in class org.apache.shiro.codec.CodecSupport
-
Converts the specified Object into a String.
- toString(Object[]) - Static method in class org.apache.shiro.util.StringUtils
-
Returns the specified array as a comma-delimited (',') string.
- toStringArray(Collection) - Static method in class org.apache.shiro.util.StringUtils
-
Copy the given Collection into a String array.
U
- UnknownClassException - Exception in org.apache.shiro.util
-
The Shiro framework's
RuntimeException
equivalent of the JDK'sClassNotFoundException
, to maintain a RuntimeException paradigm. - UnknownClassException() - Constructor for exception org.apache.shiro.util.UnknownClassException
-
Creates a new UnknownClassException.
- UnknownClassException(String) - Constructor for exception org.apache.shiro.util.UnknownClassException
-
Constructs a new UnknownClassException.
- UnknownClassException(String, Throwable) - Constructor for exception org.apache.shiro.util.UnknownClassException
-
Constructs a new UnknownClassException.
- UnknownClassException(Throwable) - Constructor for exception org.apache.shiro.util.UnknownClassException
-
Constructs a new UnknownClassException.
- uppercaseFirstChar(String) - Static method in class org.apache.shiro.util.StringUtils
-
Returns the input argument, but ensures the first character is capitalized (if possible).
- URL_PREFIX - Static variable in class org.apache.shiro.io.ResourceUtils
-
Resource path prefix that specifies to load from a url location, value is
url:
- Util() - Constructor for class org.apache.shiro.util.ByteSource.Util
V
- values() - Method in class org.apache.shiro.util.SoftHashMap
X
- XmlSerializer - Class in org.apache.shiro.io
-
Deprecated.This class should not be used directly because of unsecure XMLEncoder/XMLDecoder usage.
- XmlSerializer() - Constructor for class org.apache.shiro.io.XmlSerializer
-
Deprecated.
All Classes All Packages