Skip navigation links
A B C D E F G H I N O P R S T U V W 

A

asList(E...) - Static method in class be.atbash.util.CollectionUtils
Converts the vararg argument to to a List instance.
asSet(E...) - Static method in class be.atbash.util.CollectionUtils
Returns the items in the vararg as a Set but keeping there order by using a LinkedHashSet.
AtbashException - Exception in be.atbash.util.exception
Root exception for all Atbash runtime exceptions.
AtbashException() - Constructor for exception be.atbash.util.exception.AtbashException
Creates a new AtbashException.
AtbashException(String) - Constructor for exception be.atbash.util.exception.AtbashException
Constructs a new AtbashException with a reason message.
AtbashException(Throwable) - Constructor for exception be.atbash.util.exception.AtbashException
Constructs a new AtbashException keeping the original Throwable.
AtbashException(String, Throwable) - Constructor for exception be.atbash.util.exception.AtbashException
Constructs a new AtbashException with a reason message and keeping the original Throwable.
AtbashIllegalActionException - Exception in be.atbash.util.exception
This is some kind of Developer exception when (s)he has done something wrong.
AtbashIllegalActionException(String) - Constructor for exception be.atbash.util.exception.AtbashIllegalActionException
Constructs the Exception with the message
AtbashUnexpectedException - Exception in be.atbash.util.exception
Developer can use this to rethrow an exception when we know that it should never happen.
AtbashUnexpectedException(String) - Constructor for exception be.atbash.util.exception.AtbashUnexpectedException
Creates an unexpectedException with a message.
AtbashUnexpectedException(Throwable) - Constructor for exception be.atbash.util.exception.AtbashUnexpectedException
Creates an unexpectedException with a Throwable.

B

Base64Codec - Class in be.atbash.util.base64
Base64 encode and decode because only available in Java 8.
be.atbash.util - package be.atbash.util
 
be.atbash.util.base64 - package be.atbash.util.base64
 
be.atbash.util.codec - package be.atbash.util.codec
 
be.atbash.util.exception - package be.atbash.util.exception
 
be.atbash.util.reflection - package be.atbash.util.reflection
 
be.atbash.util.version - package be.atbash.util.version
 
bytes(Object) - Method in interface be.atbash.util.codec.ByteSourceCreator
Returns a ByteSource instance representing the specified byte source argument.
bytes(Object) - Method in class be.atbash.util.codec.DefaultByteSourceCreator
 
ByteSource - Interface in be.atbash.util.codec
A ByteSource wraps a byte array and provides additional encoding operations.
ByteSource.CreatorInitializer - Class in be.atbash.util.codec
 
ByteSourceCreator - Interface in be.atbash.util.codec
 

C

CDICheck - Class in be.atbash.util.reflection
 
ClassUtils - Class in be.atbash.util.reflection
Utility class 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 be.atbash.util.StringUtils
Returns a 'cleaned' representation of the specified argument.
CodecException - Exception in be.atbash.util.codec
Root exception related to issues during encoding or decoding.
CodecException() - Constructor for exception be.atbash.util.codec.CodecException
Creates a new CodecException.
CodecException(String) - Constructor for exception be.atbash.util.codec.CodecException
Creates a new CodecException.
CodecException(Throwable) - Constructor for exception be.atbash.util.codec.CodecException
Creates a new CodecException.
CodecException(String, Throwable) - Constructor for exception be.atbash.util.codec.CodecException
Creates a new CodecException.
CodecSupport - Class in be.atbash.util.codec
Base abstract class that provides useful encoding and decoding operations, especially for character data.
CodecSupport() - Constructor for class be.atbash.util.codec.CodecSupport
 
CollectionUtils - Class in be.atbash.util
Static helper class for use dealing with Collections.
computeEncodedLength(int, boolean) - Static method in class be.atbash.util.base64.Base64Codec
Computes the base64 encoded character length for the specified input byte length.
countOccurrences(String, char) - Static method in class be.atbash.util.StringUtils
Count the number of occurrences of a char in the String.
creator - Static variable in interface be.atbash.util.codec.ByteSource
 
CreatorInitializer() - Constructor for class be.atbash.util.codec.ByteSource.CreatorInitializer
 

D

decode(String) - Static method in class be.atbash.util.base64.Base64Codec
Decodes a base64 or base64 URL-safe encoded string.
decode(byte[]) - Static method in class be.atbash.util.base64.Base64Codec
Decodes a base64 or base64 URL-safe encoded string represented as byte array using UTF-8 encoding.
decode(byte[]) - Static method in class be.atbash.util.codec.Hex
Converts an array of character bytes representing hexidecimal values into an array of bytes of those same values.
decode(String) - Static method in class be.atbash.util.codec.Hex
Converts the specified Hex-encoded String into a raw byte array.
decode(char[]) - Static method in class be.atbash.util.codec.Hex
Converts an array of characters representing hexidecimal values into an array of bytes of those same values.
DEFAULT_DELIMITER_CHAR - Static variable in class be.atbash.util.StringUtils
Constant representing the default delimiter character (comma), equal to ','
DEFAULT_QUOTE_CHAR - Static variable in class be.atbash.util.StringUtils
Constant representing the default quote character (double quote), equal to '"'
DefaultByteSource - Class in be.atbash.util.codec
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.
DefaultByteSource(byte[]) - Constructor for class be.atbash.util.codec.DefaultByteSource
 
DefaultByteSource(char[]) - Constructor for class be.atbash.util.codec.DefaultByteSource
Creates an instance by converting the characters to a byte array (assumes UTF-8 encoding).
DefaultByteSource(String) - Constructor for class be.atbash.util.codec.DefaultByteSource
Creates an instance by converting the String to a byte array (assumes UTF-8 encoding).
DefaultByteSource(File) - Constructor for class be.atbash.util.codec.DefaultByteSource
Creates an instance by converting the file to a byte array.
DefaultByteSource(InputStream) - Constructor for class be.atbash.util.codec.DefaultByteSource
Creates an instance by converting the stream to a byte array.
DefaultByteSourceCreator - Class in be.atbash.util.codec
 
DefaultByteSourceCreator() - Constructor for class be.atbash.util.codec.DefaultByteSourceCreator
 

E

EMPTY_STRING - Static variable in class be.atbash.util.StringUtils
Constant representing the empty string, equal to ""
encode(byte[]) - Static method in class be.atbash.util.codec.Hex
Converts an array of bytes into an array of characters representing the hexidecimal values of each byte in order.
encodeToChar(byte[], boolean) - Static method in class be.atbash.util.base64.Base64Codec
Encodes a byte array into a base64 encoded character array.
encodeToString(byte[], boolean) - Static method in class be.atbash.util.base64.Base64Codec
Encodes a byte array into a base64 encoded string.
encodeToString(byte[]) - Static method in class be.atbash.util.codec.Hex
Encodes the specifed byte array to a character array and then returns that character array as a String.
equals(Object) - Method in class be.atbash.util.codec.DefaultByteSource
 

F

forName(String) - Static method in class be.atbash.util.reflection.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

getBuildTime() - Method in class be.atbash.util.version.VersionReader
Returns the buildTime property of the manifest or null if manifest could not be found.
getBytes() - Method in interface be.atbash.util.codec.ByteSource
Returns the wrapped byte array.
getBytes() - Method in class be.atbash.util.codec.DefaultByteSource
 
getClassName(Class<?>) - Static method in class be.atbash.util.ProxyUtils
Returns the 'real' class name of the proxy by returning the super class name of the proxy.
getReleaseVersion() - Method in class be.atbash.util.version.VersionReader
Returns the Release-Version property of the manifest or null if manifest could not be found.
getResourceAsStream(String) - Static method in class be.atbash.util.reflection.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).
getUnproxiedClass(Class<?>) - Static method in class be.atbash.util.ProxyUtils
Returns the 'real' Class of the proxy by returning the superclass of the proxy.

H

hashCode() - Method in class be.atbash.util.codec.DefaultByteSource
 
hasLength(String) - Static method in class be.atbash.util.StringUtils
Check that the given String is neither null nor of length 0.
hasText(String) - Static method in class be.atbash.util.StringUtils
Check whether the given String has actual text.
Hex - Class in be.atbash.util.codec
Hexadecimal encoder and decoder.

I

isAvailable(String) - Static method in class be.atbash.util.reflection.ClassUtils
Checks if the fullyQualifiedClassName is available on any classloader.
isBase64Encoded(String) - Static method in class be.atbash.util.base64.Base64Codec
Test to see if the String contains a valid Base64 value.
isBase64Encoded(byte[]) - Static method in class be.atbash.util.base64.Base64Codec
Test to see if the byte array contains a valid Base64 value.
isByteSource(Object) - Method in class be.atbash.util.codec.CodecSupport
Returns true if the specified object can be easily converted to bytes by instances of this class, false otherwise.
isCompatible(Object) - Method in interface be.atbash.util.codec.ByteSourceCreator
Returns true if the specified object can be easily represented as a ByteSource using the DefaultByteSourceCreator's default heuristics, false otherwise.
isCompatible(Object) - Method in class be.atbash.util.codec.DefaultByteSourceCreator
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 be.atbash.util.codec.ByteSource
Returns true if the underlying wrapped byte array is null or empty (zero length), false otherwise.
isEmpty() - Method in class be.atbash.util.codec.DefaultByteSource
 
isEmpty(Collection) - Static method in class be.atbash.util.CollectionUtils
Returns true if the specified Collection is null or empty, false otherwise.
isEmpty(Map) - Static method in class be.atbash.util.CollectionUtils
Returns true if the specified Map is null or empty, false otherwise.
isEmpty(String) - Static method in class be.atbash.util.StringUtils
Check whether the given String has actual text.
isEmpty(char[]) - Static method in class be.atbash.util.StringUtils
Check whether the given char array has actual text.
isHexEncoded(String) - Static method in class be.atbash.util.codec.Hex
 
isHexEncoded(byte[]) - Static method in class be.atbash.util.codec.Hex
 
isHexEncoded(char[]) - Static method in class be.atbash.util.codec.Hex
 
isProxiedClass(Class<?>) - Static method in class be.atbash.util.ProxyUtils
Test whether the class is a proxy class by inspecting the name.

N

newInstance(String) - Static method in class be.atbash.util.reflection.ClassUtils
Creates an instance of the class where it is searched by the algorithm described at the forName(String) method using the no-arg constructor.
newInstance(String, Object...) - Static method in class be.atbash.util.reflection.ClassUtils
Creates an instance of the class where it is searched by the algorithm described at the forName(String) method with a constructor matching the arguments.
newInstance(Class) - Static method in class be.atbash.util.reflection.ClassUtils
Creates an instance of the class using the no-arg constructor.
newInstance(Class, Object...) - Static method in class be.atbash.util.reflection.ClassUtils
Creates an instance of the class with a constructor matching the arguments.
normalizeEncodedString(String) - Static method in class be.atbash.util.base64.Base64Codec
Normalises a base64 encoded string by ensuring any URL-safe characters are replaced with their regular base64 representation and any truncated '=' padding is restored.

O

objectToBytes(Object) - Method in class be.atbash.util.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 be.atbash.util.codec.CodecSupport
Default implementation merely returns objectArgument.toString().

P

PREFERRED_ENCODING - Static variable in class be.atbash.util.codec.CodecSupport
Default preferred character encoding, equal to UTF-8.
ProxyUtils - Class in be.atbash.util
Utilities around proxied classes.
PublicAPI - Annotation Type in be.atbash.util
Indicates classes annotated with this are safe to use in your applications.

R

Reviewed - Annotation Type in be.atbash.util
Temporary to indicate that class is reviewed (code, javadoc, usage, examples) Temporary in the sense that not all code is immediately reviewed when copied from Shiro and Octopus Shiro for example.

S

size(Collection) - Static method in class be.atbash.util.CollectionUtils
Returns the size of the specified collection or 0 if the collection is null.
size(Map) - Static method in class be.atbash.util.CollectionUtils
Returns the size of the specified map or 0 if the map is null.
split(String) - Static method in class be.atbash.util.StringUtils
Splits the specified delimited String into tokens, supporting quoted tokens so that quoted strings themselves won't be tokenized.
split(String, char) - Static method in class be.atbash.util.StringUtils
Splits the specified delimited String into tokens, supporting quoted tokens so that quoted strings themselves won't be tokenized.
split(String, char, char) - Static method in class be.atbash.util.StringUtils
Splits the specified delimited String into tokens, supporting quoted tokens so that quoted strings themselves won't be tokenized.
split(String, char, char, char) - Static method in class be.atbash.util.StringUtils
Splits the specified delimited String into tokens, supporting quoted tokens so that quoted strings themselves won't be tokenized.
split(String, char, char, char, boolean, boolean) - Static method in class be.atbash.util.StringUtils
Splits the specified delimited String into tokens, supporting quoted tokens so that quoted strings themselves won't be tokenized.
startsWithIgnoreCase(String, String) - Static method in class be.atbash.util.StringUtils
Test if the given String starts with the specified prefix, ignoring upper/lower case.
StringUtils - Class in be.atbash.util
Simple utility class for String operations useful across the framework.

T

toBase64() - Method in interface be.atbash.util.codec.ByteSource
Returns the Base 64-formatted String representation of the underlying wrapped byte array.
toBase64() - Method in class be.atbash.util.codec.DefaultByteSource
 
toBytes(char[]) - Static method in class be.atbash.util.codec.CodecSupport
Converts the specified character array to a byte array using the preferred encoding (UTF-8).
toBytes(char[], String) - Static method in class be.atbash.util.codec.CodecSupport
Converts the specified character array into a byte array using the specified character encoding.
toBytes(String) - Static method in class be.atbash.util.codec.CodecSupport
Converts the specified source argument to a byte array PREFERRED_ENCODING.
toBytes(String, String) - Static method in class be.atbash.util.codec.CodecSupport
Converts the specified source to a byte array via the specified encoding, throwing a CodecException if the encoding fails.
toBytes(Object) - Method in class be.atbash.util.codec.CodecSupport
Converts the specified Object into a byte array.
toBytes(File) - Method in class be.atbash.util.codec.CodecSupport
 
toBytes(InputStream) - Method in class be.atbash.util.codec.CodecSupport
Converts the specified InputStream into a byte array.
toChars(byte[]) - Static method in class be.atbash.util.codec.CodecSupport
Returns the specified byte array as a character array using the PREFERRED_ENCODING.
toChars(byte[], String) - Static method in class be.atbash.util.codec.CodecSupport
Converts the specified byte array to a character array using the specified character encoding.
toDelimitedString(Object[]) - Static method in class be.atbash.util.StringUtils
Returns the specified array as a comma-delimited (',') string.
toDelimitedString(String, Object...) - Static method in class be.atbash.util.StringUtils
Returns the array's contents as a string, with each element delimited by the specified delimiter argument.
toDelimitedString(String, Collection<?>) - Static method in class be.atbash.util.StringUtils
Returns the collection's contents as a string, with each element delimited by the specified delimiter argument.
toDelimitedString(String, Iterator<?>) - Static method in class be.atbash.util.StringUtils
Joins the elements of the provided Iterator into a single String containing the provided elements.
toDigit(char, int) - Static method in class be.atbash.util.codec.Hex
Converts a hexadecimal character to an integer.
toHex() - Method in interface be.atbash.util.codec.ByteSource
Returns the Hex-formatted String representation of the underlying wrapped byte array.
toHex() - Method in class be.atbash.util.codec.DefaultByteSource
 
tokenizeToStringArray(String, String) - Static method in class be.atbash.util.StringUtils
Tokenize the given String into a String array via a StringTokenizer.
tokenizeToStringArray(String, String, boolean, boolean) - Static method in class be.atbash.util.StringUtils
Tokenize the given String into a String array via a StringTokenizer.
toString(byte[]) - Static method in class be.atbash.util.codec.CodecSupport
Converts the specified byte array to a String using the PREFERRED_ENCODING.
toString(byte[], String) - Static method in class be.atbash.util.codec.CodecSupport
Converts the specified byte array to a String using the specified character encoding.
toString(Object) - Method in class be.atbash.util.codec.CodecSupport
Converts the specified Object into a String.
toString() - Method in class be.atbash.util.codec.DefaultByteSource
 
toStringArray(Collection<String>) - Static method in class be.atbash.util.StringUtils
Copy the given Collection into a String array.

U

UnknownClassException - Exception in be.atbash.util.reflection
The Atbash framework's RuntimeException equivalent of the JDK's ClassNotFoundException.

V

VersionReader - Class in be.atbash.util.version
Reads the information from the Manifest file for a certain module.
VersionReader(String) - Constructor for class be.atbash.util.version.VersionReader
 

W

withinContainer() - Static method in class be.atbash.util.reflection.CDICheck
Are we running within a CDI container or not.
A B C D E F G H I N O P R S T U V W 
Skip navigation links

Copyright © 2014–2018. All rights reserved.