Index

A B C D E F G H I J K L N O P R S T U V W X 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

Assert - Class in org.apache.shiro.lang.util
Assertion utility class that assists in validating arguments.
Assert() - Constructor for class org.apache.shiro.lang.util.Assert
 

B

Base64 - Class in org.apache.shiro.lang.codec
Provides Base 64 encoding and decoding as defined by RFC 2045.
bytes(byte[]) - Static method in class org.apache.shiro.lang.util.ByteSource.Util
Returns a new ByteSource instance representing the specified byte array.
bytes(char[]) - Static method in class org.apache.shiro.lang.util.ByteSource.Util
Returns a new ByteSource instance representing the specified character array's bytes.
bytes(File) - Static method in class org.apache.shiro.lang.util.ByteSource.Util
Returns a new ByteSource instance representing the specified File's bytes.
bytes(InputStream) - Static method in class org.apache.shiro.lang.util.ByteSource.Util
Returns a new ByteSource instance representing the specified InputStream's bytes.
bytes(Object) - Static method in class org.apache.shiro.lang.util.ByteSource.Util
Returns a ByteSource instance representing the specified byte source argument.
bytes(String) - Static method in class org.apache.shiro.lang.util.ByteSource.Util
Returns a new ByteSource instance representing the specified string's bytes.
bytes(ByteSource) - Static method in class org.apache.shiro.lang.util.ByteSource.Util
Returns a new ByteSource instance representing the specified ByteSource.
ByteSource - Interface in org.apache.shiro.lang.util
A ByteSource wraps a byte array and provides additional encoding operations.
ByteSource.Util - Class in org.apache.shiro.lang.util
Utility class that can construct ByteSource instances.
ByteSourceWrapper - Class in org.apache.shiro.lang.util
To use try-with-resources idiom, this class supports wrapping existing ByteSource object or byte array.
ByteUtils - Class in org.apache.shiro.lang.util
 

C

CLASSPATH_PREFIX - Static variable in class org.apache.shiro.lang.io.ResourceUtils
Resource path prefix that specifies to load from a classpath location, value is classpath:
ClassResolvingObjectInputStream - Class in org.apache.shiro.lang.io
Enables correct ClassLoader lookup in various environments (e.g.
ClassResolvingObjectInputStream(InputStream) - Constructor for class org.apache.shiro.lang.io.ClassResolvingObjectInputStream
 
ClassUtils - Class in org.apache.shiro.lang.util
Utility method library used to conveniently interact with Classes, such as acquiring them from the application ClassLoaders and instantiating Objects from them.
clean(String) - Static method in class org.apache.shiro.lang.util.StringUtils
Returns a 'cleaned' representation of the specified argument.
clear() - Method in class org.apache.shiro.lang.util.SoftHashMap
 
close() - Method in class org.apache.shiro.lang.util.ByteSourceWrapper
 
close(InputStream) - Static method in class org.apache.shiro.lang.io.ResourceUtils
Convenience method that closes the specified InputStream, logging any IOException that might occur.
CodecException - Exception Class in org.apache.shiro.lang.codec
Root exception related to issues during encoding or decoding.
CodecException() - Constructor for exception class org.apache.shiro.lang.codec.CodecException
Creates a new CodecException.
CodecException(String) - Constructor for exception class org.apache.shiro.lang.codec.CodecException
Creates a new CodecException.
CodecException(String, Throwable) - Constructor for exception class org.apache.shiro.lang.codec.CodecException
Creates a new CodecException.
CodecException(Throwable) - Constructor for exception class org.apache.shiro.lang.codec.CodecException
Creates a new CodecException.
CodecSupport - Class in org.apache.shiro.lang.codec
Base abstract class that provides useful encoding and decoding operations, especially for character data.
CodecSupport() - Constructor for class org.apache.shiro.lang.codec.CodecSupport
 
containsKey(Object) - Method in class org.apache.shiro.lang.util.SoftHashMap
 
containsValue(Object) - Method in class org.apache.shiro.lang.util.SoftHashMap
 

D

decode(byte[]) - Static method in class org.apache.shiro.lang.codec.Base64
Decodes Base64 data into octets
decode(byte[]) - Static method in class org.apache.shiro.lang.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.lang.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.lang.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.lang.codec.Hex
Converts the specified Hex-encoded String into a raw byte array.
decodeToString(byte[]) - Static method in class org.apache.shiro.lang.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.lang.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.lang.util.StringUtils
Constant representing the default delimiter character (comma), equal to ','
DEFAULT_QUOTE_CHAR - Static variable in class org.apache.shiro.lang.util.StringUtils
Constant representing the default quote character (double quote), equal to '"'
DefaultSerializer<T> - Class in org.apache.shiro.lang.io
Serializer implementation that uses the default JVM serialization mechanism (Object Input/Output Streams).
DefaultSerializer() - Constructor for class org.apache.shiro.lang.io.DefaultSerializer
 
deserialize(byte[]) - Method in class org.apache.shiro.lang.io.DefaultSerializer
This implementation deserializes the byte array using a ObjectInputStream using a source ByteArrayInputStream constructed with the argument byte array.
deserialize(byte[]) - Method in interface org.apache.shiro.lang.io.Serializer
Converts the specified raw byte[] array back into an original Object form.
deserialize(byte[]) - Method in class org.apache.shiro.lang.io.XmlSerializer
Deprecated.
Deserializes the specified serialized source back into an Object by using a ByteArrayInputStream to wrap the argument and then decode this stream via an XMLDecoder, where the readObject call results in the original Object to return.
destroy() - Method in interface org.apache.shiro.lang.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.lang.util.LifecycleUtils
 
destroy(Collection) - Static method in class org.apache.shiro.lang.util.LifecycleUtils
Calls destroy for each object in the collection.
destroy(Destroyable) - Static method in class org.apache.shiro.lang.util.LifecycleUtils
 
Destroyable - Interface in org.apache.shiro.lang.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.lang.util.Assert
Assert that the given text does not contain the given substring.
doesNotContain(String, String, String) - Static method in class org.apache.shiro.lang.util.Assert
Assert that the given text does not contain the given substring.

E

empty() - Static method in class org.apache.shiro.lang.util.SimpleByteSource
 
EMPTY_STRING - Static variable in class org.apache.shiro.lang.util.StringUtils
Constant representing the empty string, equal to ""
encode(byte[]) - Static method in class org.apache.shiro.lang.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.lang.codec.Hex
Converts an array of bytes into an array of characters representing the hexadecimal values of each byte in order.
encodeToString(byte[]) - Static method in class org.apache.shiro.lang.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.lang.codec.H64
Encodes the specified bytes to an H64-encoded String.
encodeToString(byte[]) - Static method in class org.apache.shiro.lang.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.lang.util.SoftHashMap
 
equals(Object) - Method in class org.apache.shiro.lang.util.SimpleByteSource
 

F

Factory<T> - Interface in org.apache.shiro.lang.util
Generics-aware interface supporting the Factory Method design pattern.
FILE_PREFIX - Static variable in class org.apache.shiro.lang.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.lang.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.lang.util.SoftHashMap
 
getAnnotatedMethods(Class<?>, Class<? extends Annotation>) - Static method in class org.apache.shiro.lang.util.ClassUtils
 
getBytes() - Method in interface org.apache.shiro.lang.util.ByteSource
Returns the wrapped byte array.
getBytes() - Method in class org.apache.shiro.lang.util.ByteSourceWrapper
 
getBytes() - Method in class org.apache.shiro.lang.util.SimpleByteSource
 
getConstructor(Class<?>, Class<?>...) - Static method in class org.apache.shiro.lang.util.ClassUtils
 
getInputStreamForPath(String) - Static method in class org.apache.shiro.lang.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, or FILE_PREFIX).
getInstance() - Method in interface org.apache.shiro.lang.util.Factory
Returns an instance of the required type.
getResourceAsStream(String) - Static method in class org.apache.shiro.lang.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, using getResourceAsStream(name).

H

H64 - Class in org.apache.shiro.lang.codec
Codec for Unix Crypt-style encoding.
hashCode() - Method in class org.apache.shiro.lang.util.SimpleByteSource
 
hasLength(String) - Static method in class org.apache.shiro.lang.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.lang.util.StringUtils
Check that the given String is neither null nor of length 0.
hasLength(String, String) - Static method in class org.apache.shiro.lang.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.lang.io.ResourceUtils
Returns true if the resource path is not null and starts with one of the recognized resource prefixes (CLASSPATH_PREFIX, URL_PREFIX, or FILE_PREFIX), false otherwise.
hasText(String) - Static method in class org.apache.shiro.lang.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.lang.util.StringUtils
Check whether the given String has actual text.
hasText(String, String) - Static method in class org.apache.shiro.lang.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.lang.codec
Hexadecimal encoder and decoder.

I

init() - Method in interface org.apache.shiro.lang.util.Initializable
Initializes this object.
init(Object) - Static method in class org.apache.shiro.lang.util.LifecycleUtils
 
init(Collection) - Static method in class org.apache.shiro.lang.util.LifecycleUtils
Calls init for each object in the collection.
init(Initializable) - Static method in class org.apache.shiro.lang.util.LifecycleUtils
 
Initializable - Interface in org.apache.shiro.lang.util
Shiro container-agnostic interface that indicates that this object requires initialization.
instantiate(Constructor<?>, Object...) - Static method in class org.apache.shiro.lang.util.ClassUtils
 
InstantiationException - Exception Class in org.apache.shiro.lang.util
Runtime exception thrown by the framework when unable to instantiate a Class via reflection.
InstantiationException() - Constructor for exception class org.apache.shiro.lang.util.InstantiationException
Creates a new InstantiationException.
InstantiationException(String) - Constructor for exception class org.apache.shiro.lang.util.InstantiationException
Constructs a new InstantiationException.
InstantiationException(String, Throwable) - Constructor for exception class org.apache.shiro.lang.util.InstantiationException
Constructs a new InstantiationException.
InstantiationException(Throwable) - Constructor for exception class org.apache.shiro.lang.util.InstantiationException
Constructs a new InstantiationException.
isAssignable(Class<?>, Class<?>, String) - Static method in class org.apache.shiro.lang.util.Assert
Assert that superType.isAssignableFrom(subType) is true.
isAssignable(Class, Class) - Static method in class org.apache.shiro.lang.util.Assert
Assert that superType.isAssignableFrom(subType) is true.
isAvailable(String) - Static method in class org.apache.shiro.lang.util.ClassUtils
 
isByteSource(Object) - Method in class org.apache.shiro.lang.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.lang.util.ByteSource.Util
Returns true if the specified object can be easily represented as a ByteSource using the ByteSource.Util's default heuristics, false otherwise.
isCompatible(Object) - Static method in class org.apache.shiro.lang.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.lang.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.lang.util.SimpleByteSource
 
isEmpty() - Method in class org.apache.shiro.lang.util.SoftHashMap
 
isInstanceOf(Class, Object) - Static method in class org.apache.shiro.lang.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.lang.util.Assert
Assert that the provided object is an instance of the provided class.
isNull(Object) - Static method in class org.apache.shiro.lang.util.Assert
Assert that an object is null .
isNull(Object, String) - Static method in class org.apache.shiro.lang.util.Assert
Assert that an object is null .
isTrue(boolean) - Static method in class org.apache.shiro.lang.util.Assert
Assert a boolean expression, throwing IllegalArgumentException if the test result is false.
isTrue(boolean, String) - Static method in class org.apache.shiro.lang.util.Assert
Assert a boolean expression, throwing IllegalArgumentException if the test result is false.

J

join(Iterator<?>, String) - Static method in class org.apache.shiro.lang.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.lang.util.SoftHashMap
 

L

LifecycleUtils - Class in org.apache.shiro.lang.util
Utility class to help call Initializable.init() and Destroyable.destroy() methods cleanly on any object.
LifecycleUtils() - Constructor for class org.apache.shiro.lang.util.LifecycleUtils
 

N

Nameable - Interface in org.apache.shiro.lang.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.lang.util.ClassUtils
 
newInstance(Class<?>, Object...) - Static method in class org.apache.shiro.lang.util.ClassUtils
 
newInstance(String) - Static method in class org.apache.shiro.lang.util.ClassUtils
 
newInstance(String, Object...) - Static method in class org.apache.shiro.lang.util.ClassUtils
 
noNullElements(Object[]) - Static method in class org.apache.shiro.lang.util.Assert
Assert that an array has no null elements.
noNullElements(Object[], String) - Static method in class org.apache.shiro.lang.util.Assert
Assert that an array has no null elements.
notEmpty(Object[]) - Static method in class org.apache.shiro.lang.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.lang.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.lang.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.lang.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.lang.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.lang.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.lang.util.Assert
Assert that an object is not null .
notNull(Object, String) - Static method in class org.apache.shiro.lang.util.Assert
Assert that an object is not null .

O

objectToBytes(Object) - Method in class org.apache.shiro.lang.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.lang.codec.CodecSupport
Default implementation merely returns objectArgument.toString().
org.apache.shiro.lang - package org.apache.shiro.lang
Shiro lang package-info.
org.apache.shiro.lang.codec - package org.apache.shiro.lang.codec
Components for encoding and decoding of data across multiple formats, especially useful in Shiro's cryptography and web functionality.
org.apache.shiro.lang.io - package org.apache.shiro.lang.io
Support for reading and writing (input/output) raw data from multiple resource locations.
org.apache.shiro.lang.util - package org.apache.shiro.lang.util
Shiro lang.util package-info.

P

PREFERRED_ENCODING - Static variable in class org.apache.shiro.lang.codec.CodecSupport
Shiro's default preferred character encoding, equal to UTF-8.
put(K, V) - Method in class org.apache.shiro.lang.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.lang.util.SoftHashMap
 

R

remove(Object) - Method in class org.apache.shiro.lang.util.SoftHashMap
 
removeAdditionalClassLoader() - Static method in class org.apache.shiro.lang.util.ClassUtils
Removes the additional ClassLoader set by ClassUtils.setAdditionalClassLoader(ClassLoader).
resolveClass(ObjectStreamClass) - Method in class org.apache.shiro.lang.io.ClassResolvingObjectInputStream
Resolves an ObjectStreamClass by delegating to Shiro's ClassUtils.forName(String) utility method, which is known to work in all ClassLoader environments.
resourceExists(String) - Static method in class org.apache.shiro.lang.io.ResourceUtils
Returns true if the resource at the specified path exists, false otherwise.
ResourceUtils - Class in org.apache.shiro.lang.io
Static helper methods for loading Stream-backed resources.

S

SerializationException - Exception Class in org.apache.shiro.lang.io
Root exception for problems either serializing or de-serializing data.
SerializationException() - Constructor for exception class org.apache.shiro.lang.io.SerializationException
Creates a new SerializationException.
SerializationException(String) - Constructor for exception class org.apache.shiro.lang.io.SerializationException
Constructs a new SerializationException.
SerializationException(String, Throwable) - Constructor for exception class org.apache.shiro.lang.io.SerializationException
Constructs a new SerializationException.
SerializationException(Throwable) - Constructor for exception class org.apache.shiro.lang.io.SerializationException
Constructs a new SerializationException.
serialize(Object) - Method in class org.apache.shiro.lang.io.XmlSerializer
Deprecated.
Serializes the specified source into a byte[] array by using the XMLEncoder to encode the object out to a ByteArrayOutputStream, where the resulting byte[] array is returned.
serialize(T) - Method in class org.apache.shiro.lang.io.DefaultSerializer
This implementation serializes the Object by using an ObjectOutputStream backed by a ByteArrayOutputStream.
serialize(T) - Method in interface org.apache.shiro.lang.io.Serializer
Converts the specified Object into a byte[] array.
Serializer<T> - Interface in org.apache.shiro.lang.io
A Serializer converts objects to raw binary data and vice versa, enabling persistent storage of objects to files, HTTP cookies, or other mechanism.
setAdditionalClassLoader(ClassLoader) - Static method in class org.apache.shiro.lang.util.ClassUtils
Sets additional ClassLoader for ClassUtils.getResourceAsStream(String) and ClassUtils.forName(String) to use It is used in addition to the thread context class loader and the system class loader.
setName(String) - Method in interface org.apache.shiro.lang.util.Nameable
Sets the (preferably application unique) name for this component.
ShiroException - Exception Class in org.apache.shiro.lang
Root exception for all Shiro runtime exceptions.
ShiroException() - Constructor for exception class org.apache.shiro.lang.ShiroException
Creates a new ShiroException.
ShiroException(String) - Constructor for exception class org.apache.shiro.lang.ShiroException
Constructs a new ShiroException.
ShiroException(String, Throwable) - Constructor for exception class org.apache.shiro.lang.ShiroException
Constructs a new ShiroException.
ShiroException(Throwable) - Constructor for exception class org.apache.shiro.lang.ShiroException
Constructs a new ShiroException.
SimpleByteSource - Class in org.apache.shiro.lang.util
Very simple ByteSource implementation that maintains an internal byte[] array and uses the Hex and Base64 codec classes to support the toHex() and toBase64() implementations.
SimpleByteSource(byte[]) - Constructor for class org.apache.shiro.lang.util.SimpleByteSource
 
SimpleByteSource(char[]) - Constructor for class org.apache.shiro.lang.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.lang.util.SimpleByteSource
Creates an instance by converting the file to a byte array.
SimpleByteSource(InputStream) - Constructor for class org.apache.shiro.lang.util.SimpleByteSource
Creates an instance by converting the stream to a byte array.
SimpleByteSource(String) - Constructor for class org.apache.shiro.lang.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.lang.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.lang.util.SoftHashMap
 
SoftHashMap<K,V> - Class in org.apache.shiro.lang.util
A SoftHashMap is a memory-constrained map that stores its values in SoftReferences.
SoftHashMap() - Constructor for class org.apache.shiro.lang.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.lang.util.SoftHashMap
Creates a new SoftHashMap with the specified retention size.
SoftHashMap(Map<K, V>) - Constructor for class org.apache.shiro.lang.util.SoftHashMap
Creates a SoftHashMap backed by the specified source, with a default retention size of DEFAULT_RETENTION_SIZE (100 entries).
SoftHashMap(Map<K, V>, int) - Constructor for class org.apache.shiro.lang.util.SoftHashMap
Creates a SoftHashMap backed by the specified source, with the specified retention size.
split(String) - Static method in class org.apache.shiro.lang.util.StringUtils
Splits a string using the StringUtils.DEFAULT_DELIMITER_CHAR (which is ',').
split(String, char) - Static method in class org.apache.shiro.lang.util.StringUtils
 
split(String, char, char) - Static method in class org.apache.shiro.lang.util.StringUtils
 
split(String, char, char, char) - Static method in class org.apache.shiro.lang.util.StringUtils
 
split(String, char, char, char, boolean, boolean) - Static method in class org.apache.shiro.lang.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.lang.util.StringUtils
 
splitToSet(String, String) - Static method in class org.apache.shiro.lang.util.StringUtils
Splits the delimited string (delimited by the specified separator character) and returns the delimited values as a Set.
startsWithIgnoreCase(String, String) - Static method in class org.apache.shiro.lang.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.lang.util.Assert
Assert a boolean expression, throwing IllegalStateException if the test result is false.
state(boolean, String) - Static method in class org.apache.shiro.lang.util.Assert
Assert a boolean expression, throwing IllegalStateException if the test result is false.
StringUtils - Class in org.apache.shiro.lang.util
Simple utility class for String operations useful across the framework.

T

toBase64() - Method in interface org.apache.shiro.lang.util.ByteSource
Returns the Base 64-formatted String representation of the underlying wrapped byte array.
toBase64() - Method in class org.apache.shiro.lang.util.SimpleByteSource
 
toBytes(char[]) - Static method in class org.apache.shiro.lang.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.lang.codec.CodecSupport
Converts the specified character array into a byte array using the specified character encoding.
toBytes(File) - Method in class org.apache.shiro.lang.codec.CodecSupport
 
toBytes(InputStream) - Method in class org.apache.shiro.lang.codec.CodecSupport
Converts the specified InputStream into a byte array.
toBytes(Object) - Method in class org.apache.shiro.lang.codec.CodecSupport
Converts the specified Object into a byte array.
toBytes(String) - Static method in class org.apache.shiro.lang.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.lang.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.lang.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.lang.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.lang.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.lang.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.lang.codec.Hex
Converts a hexadecimal character to an integer.
toHex() - Method in interface org.apache.shiro.lang.util.ByteSource
Returns the Hex-formatted String representation of the underlying wrapped byte array.
toHex() - Method in class org.apache.shiro.lang.util.SimpleByteSource
 
tokenizeToStringArray(String, String) - Static method in class org.apache.shiro.lang.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.lang.util.StringUtils
Tokenize the given String into a String array via a StringTokenizer.
toString() - Method in class org.apache.shiro.lang.util.SimpleByteSource
 
toString(byte[]) - Static method in class org.apache.shiro.lang.codec.CodecSupport
Converts the specified byte array to a String using the PREFERRED_ENCODING.
toString(byte[], String) - Static method in class org.apache.shiro.lang.codec.CodecSupport
Converts the specified byte array to a String using the specified character encoding.
toString(Object) - Method in class org.apache.shiro.lang.codec.CodecSupport
Converts the specified Object into a String.
toString(Object[]) - Static method in class org.apache.shiro.lang.util.StringUtils
Returns the specified array as a comma-delimited (',') string.
toStringArray(Collection) - Static method in class org.apache.shiro.lang.util.StringUtils
Copy the given Collection into a String array.

U

UnknownClassException - Exception Class in org.apache.shiro.lang.util
The Shiro framework's RuntimeException equivalent of the JDK's ClassNotFoundException, to maintain a RuntimeException paradigm.
UnknownClassException() - Constructor for exception class org.apache.shiro.lang.util.UnknownClassException
Creates a new UnknownClassException.
UnknownClassException(String) - Constructor for exception class org.apache.shiro.lang.util.UnknownClassException
Constructs a new UnknownClassException.
UnknownClassException(String, Throwable) - Constructor for exception class org.apache.shiro.lang.util.UnknownClassException
Constructs a new UnknownClassException.
UnknownClassException(Throwable) - Constructor for exception class org.apache.shiro.lang.util.UnknownClassException
Constructs a new UnknownClassException.
uppercaseFirstChar(String) - Static method in class org.apache.shiro.lang.util.StringUtils
Returns the input argument, but ensures the first character is capitalized (if possible).
URL_PREFIX - Static variable in class org.apache.shiro.lang.io.ResourceUtils
Resource path prefix that specifies to load from a url location, value is url:

V

values() - Method in class org.apache.shiro.lang.util.SoftHashMap
 

W

wipe(Object) - Static method in class org.apache.shiro.lang.util.ByteUtils
For security, sensitive information in array should be zeroed-out at end of use (SHIRO-349).
wrap(Object) - Static method in class org.apache.shiro.lang.util.ByteSourceWrapper
This method generically accepts byte array or ByteSource instance.

X

XmlSerializer - Class in org.apache.shiro.lang.io
Deprecated, for removal: This API element is subject to removal in a future version.
This class should not be used directly because of unsecure XMLEncoder/XMLDecoder usage.
XmlSerializer() - Constructor for class org.apache.shiro.lang.io.XmlSerializer
Deprecated.
 
A B C D E F G H I J K L N O P R S T U V W X 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form