Skip navigation links
A B C D E F G H I J L M N O P Q R S T U V W Y Z 

A

abbreviate(String, int) - Static method in class org.bardframework.commons.utils.StringUtils
Abbreviates a String using ellipses.
abbreviate(String, int, int) - Static method in class org.bardframework.commons.utils.StringUtils
Abbreviates a String using ellipses.
abbreviate(String, String, int) - Static method in class org.bardframework.commons.utils.StringUtils
Abbreviates a String using another given String as replacement marker.
abbreviate(String, String, int, int) - Static method in class org.bardframework.commons.utils.StringUtils
Abbreviates a String using a given replacement marker.
abbreviateMiddle(String, String, int) - Static method in class org.bardframework.commons.utils.StringUtils
Abbreviates a String to the length passed, replacing the middle characters with the supplied replacement String.
abs() - Method in class org.bardframework.commons.utils.Fraction
Gets a fraction that is the positive equivalent of this one.
add(T[], T) - Static method in class org.bardframework.commons.utils.ArrayUtils
Copies the given array and adds the given element at the end of the new array.
add(boolean[], boolean) - Static method in class org.bardframework.commons.utils.ArrayUtils
Copies the given array and adds the given element at the end of the new array.
add(byte[], byte) - Static method in class org.bardframework.commons.utils.ArrayUtils
Copies the given array and adds the given element at the end of the new array.
add(char[], char) - Static method in class org.bardframework.commons.utils.ArrayUtils
Copies the given array and adds the given element at the end of the new array.
add(double[], double) - Static method in class org.bardframework.commons.utils.ArrayUtils
Copies the given array and adds the given element at the end of the new array.
add(float[], float) - Static method in class org.bardframework.commons.utils.ArrayUtils
Copies the given array and adds the given element at the end of the new array.
add(int[], int) - Static method in class org.bardframework.commons.utils.ArrayUtils
Copies the given array and adds the given element at the end of the new array.
add(long[], long) - Static method in class org.bardframework.commons.utils.ArrayUtils
Copies the given array and adds the given element at the end of the new array.
add(short[], short) - Static method in class org.bardframework.commons.utils.ArrayUtils
Copies the given array and adds the given element at the end of the new array.
add(Fraction) - Method in class org.bardframework.commons.utils.Fraction
Adds the value of this fraction to another, returning the result in reduced form.
addAll(T[], T...) - Static method in class org.bardframework.commons.utils.ArrayUtils
Adds all the elements of the given arrays into a new array.
addAll(boolean[], boolean...) - Static method in class org.bardframework.commons.utils.ArrayUtils
Adds all the elements of the given arrays into a new array.
addAll(char[], char...) - Static method in class org.bardframework.commons.utils.ArrayUtils
Adds all the elements of the given arrays into a new array.
addAll(byte[], byte...) - Static method in class org.bardframework.commons.utils.ArrayUtils
Adds all the elements of the given arrays into a new array.
addAll(short[], short...) - Static method in class org.bardframework.commons.utils.ArrayUtils
Adds all the elements of the given arrays into a new array.
addAll(int[], int...) - Static method in class org.bardframework.commons.utils.ArrayUtils
Adds all the elements of the given arrays into a new array.
addAll(long[], long...) - Static method in class org.bardframework.commons.utils.ArrayUtils
Adds all the elements of the given arrays into a new array.
addAll(float[], float...) - Static method in class org.bardframework.commons.utils.ArrayUtils
Adds all the elements of the given arrays into a new array.
addAll(double[], double...) - Static method in class org.bardframework.commons.utils.ArrayUtils
Adds all the elements of the given arrays into a new array.
addObjectToArray(A[], O) - Static method in class org.bardframework.commons.utils.ObjectUtils
Append the given object to the given array, returning a new array consisting of the input array contents plus the given object.
addStringToArray(String[], String) - Static method in class org.bardframework.commons.utils.StringUtils
Append the given String to the given String array, returning a new array consisting of the input array contents plus the given String.
allNotNull(Object...) - Static method in class org.bardframework.commons.utils.ObjectUtils
Checks if all values in the array are not nulls.
anyNotNull(Object...) - Static method in class org.bardframework.commons.utils.ObjectUtils
Checks if any value in the given array is not null.
appendIfMissing(String, CharSequence, CharSequence...) - Static method in class org.bardframework.commons.utils.StringUtils
Appends the suffix to the end of the string if the string does not already end with any of the suffixes.
appendIfMissingIgnoreCase(String, CharSequence, CharSequence...) - Static method in class org.bardframework.commons.utils.StringUtils
Appends the suffix to the end of the string if the string does not already end, case insensitive, with any of the suffixes.
applyRelativePath(String, String) - Static method in class org.bardframework.commons.utils.StringUtils
Apply the given relative path to the given Java resource path, assuming standard Java folder separation (i.e.
arraySplit(T[], int) - Static method in class org.bardframework.commons.utils.ArrayUtils
 
arraySplit(T[], int) - Static method in class org.bardframework.commons.utils.OsUtils
 
arrayToCommaDelimitedString(Object[]) - Static method in class org.bardframework.commons.utils.StringUtils
Convert a String array into a comma delimited String (i.e., CSV).
arrayToDelimitedString(Object[], String) - Static method in class org.bardframework.commons.utils.StringUtils
Convert a String array into a delimited String (e.g.
arrayToList(Object) - Static method in class org.bardframework.commons.utils.CollectionUtils
Convert the supplied array into a List.
ArrayUtils - Class in org.bardframework.commons.utils
Created by Vahid Zafari on 8/12/2016.
assertEquals(byte[], byte[]) - Static method in class org.bardframework.commons.utils.AssertionUtils
 
AssertionUtils - Class in org.bardframework.commons.utils
Created by vahid (va.zafari@gmail.com) on 10/30/17.

B

buffer(Reader) - Static method in class org.bardframework.commons.utils.IOUtils
Returns the given reader if it is already a BufferedReader, otherwise creates a BufferedReader from the given reader.
buffer(Reader, int) - Static method in class org.bardframework.commons.utils.IOUtils
Returns the given reader if it is already a BufferedReader, otherwise creates a BufferedReader from the given reader.
buffer(Writer) - Static method in class org.bardframework.commons.utils.IOUtils
Returns the given Writer if it is already a BufferedWriter, otherwise creates a BufferedWriter from the given Writer.
buffer(Writer, int) - Static method in class org.bardframework.commons.utils.IOUtils
Returns the given Writer if it is already a BufferedWriter, otherwise creates a BufferedWriter from the given Writer.
buffer(OutputStream) - Static method in class org.bardframework.commons.utils.IOUtils
Returns the given OutputStream if it is already a BufferedOutputStream, otherwise creates a BufferedOutputStream from the given OutputStream.
buffer(OutputStream, int) - Static method in class org.bardframework.commons.utils.IOUtils
Returns the given OutputStream if it is already a BufferedOutputStream, otherwise creates a BufferedOutputStream from the given OutputStream.
buffer(InputStream) - Static method in class org.bardframework.commons.utils.IOUtils
Returns the given InputStream if it is already a BufferedInputStream, otherwise creates a BufferedInputStream from the given InputStream.
buffer(InputStream, int) - Static method in class org.bardframework.commons.utils.IOUtils
Returns the given InputStream if it is already a BufferedInputStream, otherwise creates a BufferedInputStream from the given InputStream.
byteCountToDisplaySize(BigInteger) - Static method in class org.bardframework.commons.utils.FileUtils
Returns a human-readable version of the file size, where the input represents a specific number of bytes.
byteCountToDisplaySize(long) - Static method in class org.bardframework.commons.utils.FileUtils
Returns a human-readable version of the file size, where the input represents a specific number of bytes.

C

CalendarUtils - Class in org.bardframework.commons.utils
Created by Vahid Zafari on 8/12/2016.
capitalize(String) - Static method in class org.bardframework.commons.utils.StringUtils
Capitalizes a String changing the first character to title case as per Character.toTitleCase(int).
caseInsensitiveValueOf(E[], String) - Static method in class org.bardframework.commons.utils.ObjectUtils
Case insensitive alternative to Enum.valueOf(Class, String).
center(String, int) - Static method in class org.bardframework.commons.utils.StringUtils
Centers a String in a larger String of size size using the space character (' ').
center(String, int, char) - Static method in class org.bardframework.commons.utils.StringUtils
Centers a String in a larger String of size size.
center(String, int, String) - Static method in class org.bardframework.commons.utils.StringUtils
Centers a String in a larger String of size size.
CharSequenceUtils - Class in org.bardframework.commons.utils
Operations on CharSequence that are null safe.
CharSequenceUtils() - Constructor for class org.bardframework.commons.utils.CharSequenceUtils
CharSequenceUtils instances should NOT be constructed in standard programming.
CharsetUtils - Class in org.bardframework.commons.utils
Demonstrate default Charset-related details.
CharUtils - Class in org.bardframework.commons.utils
Operations on char primitives and Character objects.
CharUtils() - Constructor for class org.bardframework.commons.utils.CharUtils
CharUtils instances should NOT be constructed in standard programming.
checksum(File, Checksum) - Static method in class org.bardframework.commons.utils.FileUtils
Computes the checksum of a file using the specified checksum object.
checksumCRC32(File) - Static method in class org.bardframework.commons.utils.FileUtils
Computes the checksum of a file using the CRC32 checksum routine.
chop(String) - Static method in class org.bardframework.commons.utils.StringUtils
Remove the last character from a String.
cleanDirectory(File) - Static method in class org.bardframework.commons.utils.FileUtils
Cleans a directory without deleting it.
cleanPath(String) - Static method in class org.bardframework.commons.utils.StringUtils
Normalize the path by suppressing sequences like "path/.." and inner simple dots.
clone(T[]) - Static method in class org.bardframework.commons.utils.ArrayUtils
Shallow clones an array returning a typecast result and handling null.
clone(long[]) - Static method in class org.bardframework.commons.utils.ArrayUtils
Clones an array returning a typecast result and handling null.
clone(int[]) - Static method in class org.bardframework.commons.utils.ArrayUtils
Clones an array returning a typecast result and handling null.
clone(short[]) - Static method in class org.bardframework.commons.utils.ArrayUtils
Clones an array returning a typecast result and handling null.
clone(char[]) - Static method in class org.bardframework.commons.utils.ArrayUtils
Clones an array returning a typecast result and handling null.
clone(byte[]) - Static method in class org.bardframework.commons.utils.ArrayUtils
Clones an array returning a typecast result and handling null.
clone(double[]) - Static method in class org.bardframework.commons.utils.ArrayUtils
Clones an array returning a typecast result and handling null.
clone(float[]) - Static method in class org.bardframework.commons.utils.ArrayUtils
Clones an array returning a typecast result and handling null.
clone(boolean[]) - Static method in class org.bardframework.commons.utils.ArrayUtils
Clones an array returning a typecast result and handling null.
clone(T) - Static method in class org.bardframework.commons.utils.ObjectUtils
Clone an object.
cloneIfPossible(T) - Static method in class org.bardframework.commons.utils.ObjectUtils
Clone an object if possible.
close(URLConnection) - Static method in class org.bardframework.commons.utils.IOUtils
Closes a URLConnection.
collectionSplit(List, int) - Static method in class org.bardframework.commons.utils.OsUtils
 
collectionToCommaDelimitedString(Collection<?>) - Static method in class org.bardframework.commons.utils.StringUtils
Convert a Collection into a delimited String (e.g., CSV).
collectionToDelimitedString(Collection<?>, String, String, String) - Static method in class org.bardframework.commons.utils.StringUtils
Convert a Collection to a delimited String (e.g.
collectionToDelimitedString(Collection<?>, String) - Static method in class org.bardframework.commons.utils.StringUtils
Convert a Collection into a delimited String (e.g.
CollectionUtils - Class in org.bardframework.commons.utils
Miscellaneous collection utility methods.
commaDelimitedListToSet(String) - Static method in class org.bardframework.commons.utils.StringUtils
Convert a comma delimited list (e.g., a row from a CSV file) into a set.
commaDelimitedListToStringArray(String) - Static method in class org.bardframework.commons.utils.StringUtils
Convert a comma delimited list (e.g., a row from a CSV file) into an array of strings.
compare(char, char) - Static method in class org.bardframework.commons.utils.CharUtils
Compares two char values numerically.
compare(T, T) - Static method in class org.bardframework.commons.utils.ObjectUtils
Null safe comparison of Comparables.
compare(T, T, boolean) - Static method in class org.bardframework.commons.utils.ObjectUtils
Null safe comparison of Comparables.
compare(String, String) - Static method in class org.bardframework.commons.utils.StringUtils
Compare two Strings lexicographically, as per String.compareTo(String), returning :
compare(String, String, boolean) - Static method in class org.bardframework.commons.utils.StringUtils
Compare two Strings lexicographically, as per String.compareTo(String), returning :
compareIgnoreCase(String, String) - Static method in class org.bardframework.commons.utils.StringUtils
Compare two Strings lexicographically, ignoring case differences, as per String.compareToIgnoreCase(String), returning :
compareIgnoreCase(String, String, boolean) - Static method in class org.bardframework.commons.utils.StringUtils
Compare two Strings lexicographically, ignoring case differences, as per String.compareToIgnoreCase(String), returning :
compareTo(Fraction) - Method in class org.bardframework.commons.utils.Fraction
Compares this object to another based on size.
concatenateStringArrays(String[], String[]) - Static method in class org.bardframework.commons.utils.StringUtils
Concatenate the given String arrays into one, with overlapping array elements included twice.
CONST(boolean) - Static method in class org.bardframework.commons.utils.ObjectUtils
This method returns the provided value unchanged.
CONST(byte) - Static method in class org.bardframework.commons.utils.ObjectUtils
This method returns the provided value unchanged.
CONST(char) - Static method in class org.bardframework.commons.utils.ObjectUtils
This method returns the provided value unchanged.
CONST(short) - Static method in class org.bardframework.commons.utils.ObjectUtils
This method returns the provided value unchanged.
CONST(int) - Static method in class org.bardframework.commons.utils.ObjectUtils
This method returns the provided value unchanged.
CONST(long) - Static method in class org.bardframework.commons.utils.ObjectUtils
This method returns the provided value unchanged.
CONST(float) - Static method in class org.bardframework.commons.utils.ObjectUtils
This method returns the provided value unchanged.
CONST(double) - Static method in class org.bardframework.commons.utils.ObjectUtils
This method returns the provided value unchanged.
CONST(T) - Static method in class org.bardframework.commons.utils.ObjectUtils
This method returns the provided value unchanged.
CONST_BYTE(int) - Static method in class org.bardframework.commons.utils.ObjectUtils
This method returns the provided value unchanged.
CONST_SHORT(int) - Static method in class org.bardframework.commons.utils.ObjectUtils
This method returns the provided value unchanged.
containDigit(String) - Static method in class org.bardframework.commons.utils.StringUtils
 
contains(Object[], Object) - Static method in class org.bardframework.commons.utils.ArrayUtils
Checks if the object is in the given array.
contains(long[], long) - Static method in class org.bardframework.commons.utils.ArrayUtils
Checks if the value is in the given array.
contains(int[], int) - Static method in class org.bardframework.commons.utils.ArrayUtils
Checks if the value is in the given array.
contains(short[], short) - Static method in class org.bardframework.commons.utils.ArrayUtils
Checks if the value is in the given array.
contains(char[], char) - Static method in class org.bardframework.commons.utils.ArrayUtils
Checks if the value is in the given array.
contains(byte[], byte) - Static method in class org.bardframework.commons.utils.ArrayUtils
Checks if the value is in the given array.
contains(double[], double) - Static method in class org.bardframework.commons.utils.ArrayUtils
Checks if the value is in the given array.
contains(double[], double, double) - Static method in class org.bardframework.commons.utils.ArrayUtils
Checks if a value falling within the given tolerance is in the given array.
contains(float[], float) - Static method in class org.bardframework.commons.utils.ArrayUtils
Checks if the value is in the given array.
contains(boolean[], boolean) - Static method in class org.bardframework.commons.utils.ArrayUtils
Checks if the value is in the given array.
contains(Iterator<?>, Object) - Static method in class org.bardframework.commons.utils.CollectionUtils
Check whether the given Iterator contains the given element.
contains(Enumeration<?>, Object) - Static method in class org.bardframework.commons.utils.CollectionUtils
Check whether the given Enumeration contains the given element.
contains(CharSequence, int) - Static method in class org.bardframework.commons.utils.StringUtils
Checks if CharSequence contains a search character, handling null.
contains(CharSequence, CharSequence) - Static method in class org.bardframework.commons.utils.StringUtils
Checks if CharSequence contains a search CharSequence, handling null.
containsAny(Collection<?>, Collection<?>) - Static method in class org.bardframework.commons.utils.CollectionUtils
Return true if any element in 'candidates' is contained in 'source'; otherwise returns false.
containsAny(CharSequence, char...) - Static method in class org.bardframework.commons.utils.StringUtils
Checks if the CharSequence contains any character in the given set of characters.
containsAny(CharSequence, CharSequence) - Static method in class org.bardframework.commons.utils.StringUtils
Checks if the CharSequence contains any character in the given set of characters.
containsAny(CharSequence, CharSequence...) - Static method in class org.bardframework.commons.utils.StringUtils
Checks if the CharSequence contains any of the CharSequences in the given array.
containsConstant(Enum<?>[], String) - Static method in class org.bardframework.commons.utils.ObjectUtils
Check whether the given array of enum constants contains a constant with the given name, ignoring case when determining a match.
containsConstant(Enum<?>[], String, boolean) - Static method in class org.bardframework.commons.utils.ObjectUtils
Check whether the given array of enum constants contains a constant with the given name.
containsElement(Object[], Object) - Static method in class org.bardframework.commons.utils.ObjectUtils
Check whether the given array contains the given element.
containsIgnoreCase(CharSequence, CharSequence) - Static method in class org.bardframework.commons.utils.StringUtils
Checks if CharSequence contains a search CharSequence irrespective of case, handling null.
containsInstance(Collection<?>, Object) - Static method in class org.bardframework.commons.utils.CollectionUtils
Check whether the given Collection contains the given element instance.
containsNone(CharSequence, char...) - Static method in class org.bardframework.commons.utils.StringUtils
Checks that the CharSequence does not contain certain characters.
containsNone(CharSequence, String) - Static method in class org.bardframework.commons.utils.StringUtils
Checks that the CharSequence does not contain certain characters.
containsOnly(CharSequence, char...) - Static method in class org.bardframework.commons.utils.StringUtils
Checks if the CharSequence contains only certain characters.
containsOnly(CharSequence, String) - Static method in class org.bardframework.commons.utils.StringUtils
Checks if the CharSequence contains only certain characters.
containsWhitespace(String) - Static method in class org.bardframework.commons.utils.StringUtils
Check whether the given String contains any whitespace characters.
containsWhitespace(CharSequence) - Static method in class org.bardframework.commons.utils.StringUtils
Check whether the given CharSequence contains any whitespace characters.
contentEquals(File, File) - Static method in class org.bardframework.commons.utils.FileUtils
Compares the contents of two files to determine if they are equal or not.
contentEquals(InputStream, InputStream) - Static method in class org.bardframework.commons.utils.IOUtils
Compares the contents of two Streams to determine if they are equal or not.
contentEquals(Reader, Reader) - Static method in class org.bardframework.commons.utils.IOUtils
Compares the contents of two Readers to determine if they are equal or not.
contentEqualsIgnoreEOL(File, File, String) - Static method in class org.bardframework.commons.utils.FileUtils
Compares the contents of two files to determine if they are equal or not.
contentEqualsIgnoreEOL(Reader, Reader) - Static method in class org.bardframework.commons.utils.IOUtils
Compares the contents of two Readers to determine if they are equal or not, ignoring EOL characters.
convertFileCollectionToFileArray(Collection<File>) - Static method in class org.bardframework.commons.utils.FileUtils
Converts a Collection containing java.io.File instanced into array representation.
copy(InputStream, OutputStream) - Static method in class org.bardframework.commons.utils.IOUtils
Copies bytes from an InputStream to an OutputStream.
copy(InputStream, OutputStream, int) - Static method in class org.bardframework.commons.utils.IOUtils
Copies bytes from an InputStream to an OutputStream using an internal buffer of the given size.
copy(InputStream, Writer, Charset) - Static method in class org.bardframework.commons.utils.IOUtils
Copies bytes from an InputStream to chars on a Writer using the specified character encoding.
copy(InputStream, Writer, String) - Static method in class org.bardframework.commons.utils.IOUtils
Copies bytes from an InputStream to chars on a Writer using the specified character encoding.
copy(Reader, Writer) - Static method in class org.bardframework.commons.utils.IOUtils
Copies chars from a Reader to a Writer.
copy(Reader, OutputStream, Charset) - Static method in class org.bardframework.commons.utils.IOUtils
Copies chars from a Reader to bytes on an OutputStream using the specified character encoding, and calling flush.
copy(Reader, OutputStream, String) - Static method in class org.bardframework.commons.utils.IOUtils
Copies chars from a Reader to bytes on an OutputStream using the specified character encoding, and calling flush.
copyDirectory(File, File) - Static method in class org.bardframework.commons.utils.FileUtils
Copies a whole directory to a new location preserving the file dates.
copyDirectory(File, File, boolean) - Static method in class org.bardframework.commons.utils.FileUtils
Copies a whole directory to a new location.
copyDirectory(File, File, FileFilter) - Static method in class org.bardframework.commons.utils.FileUtils
Copies a filtered directory to a new location preserving the file dates.
copyDirectory(File, File, FileFilter, boolean) - Static method in class org.bardframework.commons.utils.FileUtils
Copies a filtered directory to a new location.
copyDirectoryToDirectory(File, File) - Static method in class org.bardframework.commons.utils.FileUtils
Copies a directory to within another directory preserving the file dates.
copyFile(File, File) - Static method in class org.bardframework.commons.utils.FileUtils
Copies a file to a new location preserving the file date.
copyFile(File, File, boolean) - Static method in class org.bardframework.commons.utils.FileUtils
Copies a file to a new location.
copyFile(File, OutputStream) - Static method in class org.bardframework.commons.utils.FileUtils
Copy bytes from a File to an OutputStream.
copyFileToDirectory(File, File) - Static method in class org.bardframework.commons.utils.FileUtils
Copies a file to a directory preserving the file date.
copyFileToDirectory(File, File, boolean) - Static method in class org.bardframework.commons.utils.FileUtils
Copies a file to a directory optionally preserving the file date.
copyInputStreamToFile(InputStream, File) - Static method in class org.bardframework.commons.utils.FileUtils
Copies bytes from an InputStream source to a file destination.
copyLarge(InputStream, OutputStream) - Static method in class org.bardframework.commons.utils.IOUtils
Copies bytes from a large (over 2GB) InputStream to an OutputStream.
copyLarge(InputStream, OutputStream, byte[]) - Static method in class org.bardframework.commons.utils.IOUtils
Copies bytes from a large (over 2GB) InputStream to an OutputStream.
copyLarge(InputStream, OutputStream, long, long) - Static method in class org.bardframework.commons.utils.IOUtils
Copies some or all bytes from a large (over 2GB) InputStream to an OutputStream, optionally skipping input bytes.
copyLarge(InputStream, OutputStream, long, long, byte[]) - Static method in class org.bardframework.commons.utils.IOUtils
Copies some or all bytes from a large (over 2GB) InputStream to an OutputStream, optionally skipping input bytes.
copyLarge(Reader, Writer) - Static method in class org.bardframework.commons.utils.IOUtils
Copies chars from a large (over 2GB) Reader to a Writer.
copyLarge(Reader, Writer, char[]) - Static method in class org.bardframework.commons.utils.IOUtils
Copies chars from a large (over 2GB) Reader to a Writer.
copyLarge(Reader, Writer, long, long) - Static method in class org.bardframework.commons.utils.IOUtils
Copies some or all chars from a large (over 2GB) InputStream to an OutputStream, optionally skipping input chars.
copyLarge(Reader, Writer, long, long, char[]) - Static method in class org.bardframework.commons.utils.IOUtils
Copies some or all chars from a large (over 2GB) InputStream to an OutputStream, optionally skipping input chars.
copyToDirectory(File, File) - Static method in class org.bardframework.commons.utils.FileUtils
Copies a file or directory to within another directory preserving the file dates.
copyToDirectory(Iterable<File>, File) - Static method in class org.bardframework.commons.utils.FileUtils
Copies a files to a directory preserving each file's date.
copyToFile(InputStream, File) - Static method in class org.bardframework.commons.utils.FileUtils
Copies bytes from an InputStream source to a file destination.
copyURLToFile(URL, File) - Static method in class org.bardframework.commons.utils.FileUtils
Copies bytes from the URL source to a file destination.
copyURLToFile(URL, File, int, int) - Static method in class org.bardframework.commons.utils.FileUtils
Copies bytes from the URL source to a file destination.
countMatches(CharSequence, CharSequence) - Static method in class org.bardframework.commons.utils.StringUtils
Counts how many times the substring appears in the larger string.
countMatches(CharSequence, char) - Static method in class org.bardframework.commons.utils.StringUtils
Counts how many times the char appears in the given string.
countOccurrencesOf(String, String) - Static method in class org.bardframework.commons.utils.StringUtils
Count the occurrences of the substring sub in string str.
CR - Static variable in class org.bardframework.commons.utils.CharUtils
carriage return CR ('\r').

D

dateTimeFromEpochMills(long) - Static method in class org.bardframework.commons.utils.DateTimeUtils
Obtains an instance of LocalDateTime using milliseconds from the epoch of 1970-01-01T00:00:00Z.
DateTimeUtils - Class in org.bardframework.commons.utils
Created by Vahid Zafari on 8/12/2016.
decodeBase64(String) - Static method in class org.bardframework.commons.utils.EncodingUtils
 
decodeBase64(byte[]) - Static method in class org.bardframework.commons.utils.EncodingUtils
 
decrypt(byte[], byte[]) - Static method in class org.bardframework.commons.utils.EncryptionUtil
 
decrypt(String, String) - Static method in class org.bardframework.commons.utils.EncryptionUtil
 
defaultIfBlank(T, T) - Static method in class org.bardframework.commons.utils.StringUtils
Returns either the passed in CharSequence, or if the CharSequence is whitespace, empty ("") or null, the value of defaultStr.
defaultIfEmpty(T, T) - Static method in class org.bardframework.commons.utils.StringUtils
Returns either the passed in CharSequence, or if the CharSequence is empty or null, the value of defaultStr.
defaultIfNull(T, T) - Static method in class org.bardframework.commons.utils.ObjectUtils
Returns a default value if the object passed is null.
defaultString(String) - Static method in class org.bardframework.commons.utils.StringUtils
Returns either the passed in String, or if the String is null, an empty String ("").
defaultString(String, String) - Static method in class org.bardframework.commons.utils.StringUtils
Returns either the passed in String, or if the String is null, the value of defaultStr.
delete(String, String) - Static method in class org.bardframework.commons.utils.StringUtils
Delete all occurrences of the given substring.
deleteAny(String, String) - Static method in class org.bardframework.commons.utils.StringUtils
Delete any character in a given String.
deleteDirectory(File) - Static method in class org.bardframework.commons.utils.FileUtils
Deletes a directory recursively.
deleteQuietly(File) - Static method in class org.bardframework.commons.utils.FileUtils
Deletes a file, never throwing an exception.
deleteWhitespace(String) - Static method in class org.bardframework.commons.utils.StringUtils
Deletes all whitespaces from a String as defined by Character.isWhitespace(char).
delimitedListToStringArray(String, String) - Static method in class org.bardframework.commons.utils.StringUtils
Take a String that is a delimited list and convert it into a String array.
delimitedListToStringArray(String, String, String) - Static method in class org.bardframework.commons.utils.StringUtils
Take a String that is a delimited list and convert it into a String array.
deserialize(byte[]) - Static method in class org.bardframework.commons.utils.SerializationUtils
 
deserialize(InputStream) - Static method in class org.bardframework.commons.utils.SerializationUtils
 
deserializeAndCheckObject(byte[], Class<? extends Serializable>) - Static method in class org.bardframework.commons.utils.SerializationUtils
 
difference(String, String) - Static method in class org.bardframework.commons.utils.StringUtils
Compares two Strings, and returns the portion where they differ.
digest(String, String) - Static method in class org.bardframework.commons.utils.DigestUtils
 
digest(String, byte[]) - Static method in class org.bardframework.commons.utils.DigestUtils
 
DigestUtils - Class in org.bardframework.commons.utils
 
DIR_SEPARATOR - Static variable in class org.bardframework.commons.utils.IOUtils
The system directory separator character.
DIR_SEPARATOR_UNIX - Static variable in class org.bardframework.commons.utils.IOUtils
The Unix directory separator character.
DIR_SEPARATOR_WINDOWS - Static variable in class org.bardframework.commons.utils.IOUtils
The Windows directory separator character.
divideBy(Fraction) - Method in class org.bardframework.commons.utils.Fraction
Divide the value of this fraction by another.
doesNotContain(String, String, String) - Static method in class org.bardframework.commons.utils.AssertionUtils
Assert that the given text does not contain the given substring.
doesNotContain(String, String, Supplier<String>) - Static method in class org.bardframework.commons.utils.AssertionUtils
Assert that the given text does not contain the given substring.
DOT_CHAR - Static variable in class org.bardframework.commons.utils.StringUtils
 
doubleValue() - Method in class org.bardframework.commons.utils.Fraction
Gets the fraction as a double.

E

EMPTY - Static variable in class org.bardframework.commons.utils.StringUtils
 
EMPTY_BOOLEAN_ARRAY - Static variable in class org.bardframework.commons.utils.ArrayUtils
An empty immutable boolean array.
EMPTY_BOOLEAN_OBJECT_ARRAY - Static variable in class org.bardframework.commons.utils.ArrayUtils
An empty immutable Boolean array.
EMPTY_BYTE_ARRAY - Static variable in class org.bardframework.commons.utils.ArrayUtils
An empty immutable byte array.
EMPTY_BYTE_OBJECT_ARRAY - Static variable in class org.bardframework.commons.utils.ArrayUtils
An empty immutable Byte array.
EMPTY_CHAR_ARRAY - Static variable in class org.bardframework.commons.utils.ArrayUtils
An empty immutable char array.
EMPTY_CHARACTER_OBJECT_ARRAY - Static variable in class org.bardframework.commons.utils.ArrayUtils
An empty immutable Character array.
EMPTY_CLASS_ARRAY - Static variable in class org.bardframework.commons.utils.ArrayUtils
An empty immutable Class array.
EMPTY_DOUBLE_ARRAY - Static variable in class org.bardframework.commons.utils.ArrayUtils
An empty immutable double array.
EMPTY_DOUBLE_OBJECT_ARRAY - Static variable in class org.bardframework.commons.utils.ArrayUtils
An empty immutable Double array.
EMPTY_FILE_ARRAY - Static variable in class org.bardframework.commons.utils.FileUtils
An empty array of type File.
EMPTY_FLOAT_ARRAY - Static variable in class org.bardframework.commons.utils.ArrayUtils
An empty immutable float array.
EMPTY_FLOAT_OBJECT_ARRAY - Static variable in class org.bardframework.commons.utils.ArrayUtils
An empty immutable Float array.
EMPTY_INT_ARRAY - Static variable in class org.bardframework.commons.utils.ArrayUtils
An empty immutable int array.
EMPTY_INTEGER_OBJECT_ARRAY - Static variable in class org.bardframework.commons.utils.ArrayUtils
An empty immutable Integer array.
EMPTY_LONG_ARRAY - Static variable in class org.bardframework.commons.utils.ArrayUtils
An empty immutable long array.
EMPTY_LONG_OBJECT_ARRAY - Static variable in class org.bardframework.commons.utils.ArrayUtils
An empty immutable Long array.
EMPTY_OBJECT_ARRAY - Static variable in class org.bardframework.commons.utils.ArrayUtils
An empty immutable Object array.
EMPTY_SHORT_ARRAY - Static variable in class org.bardframework.commons.utils.ArrayUtils
An empty immutable short array.
EMPTY_SHORT_OBJECT_ARRAY - Static variable in class org.bardframework.commons.utils.ArrayUtils
An empty immutable Short array.
EMPTY_STRING_ARRAY - Static variable in class org.bardframework.commons.utils.ArrayUtils
An empty immutable String array.
encodeBase64(byte[]) - Static method in class org.bardframework.commons.utils.EncodingUtils
 
encodeBase64ToByteArray(byte[]) - Static method in class org.bardframework.commons.utils.EncodingUtils
 
EncodingUtils - Class in org.bardframework.commons.utils
 
encrypt(byte[], byte[]) - Static method in class org.bardframework.commons.utils.EncryptionUtil
 
encrypt(String, String) - Static method in class org.bardframework.commons.utils.EncryptionUtil
 
EncryptionUtil - Class in org.bardframework.commons.utils
Created by Vahid Zafari on 4/21/2016.
endsWith(CharSequence, CharSequence) - Static method in class org.bardframework.commons.utils.StringUtils
Check if a CharSequence ends with a specified suffix.
endsWithAny(CharSequence, CharSequence...) - Static method in class org.bardframework.commons.utils.StringUtils
Check if a CharSequence ends with any of the provided case-sensitive suffixes.
endsWithIgnoreCase(String, String) - Static method in class org.bardframework.commons.utils.StringUtils
Test if the given String ends with the specified suffix, ignoring upper/lower case.
endsWithIgnoreCase(CharSequence, CharSequence) - Static method in class org.bardframework.commons.utils.StringUtils
Case insensitive check if a CharSequence ends with a specified suffix.
EOF - Static variable in class org.bardframework.commons.utils.IOUtils
Represents the end-of-file (or stream).
equals(Object) - Method in class org.bardframework.commons.utils.Fraction
Compares this fraction to another object to test if they are equal.
equals(CharSequence, CharSequence) - Static method in class org.bardframework.commons.utils.StringUtils
Compares two CharSequences, returning true if they represent equal sequences of characters.
equalsAny(CharSequence, CharSequence...) - Static method in class org.bardframework.commons.utils.StringUtils
Compares given string to a CharSequences vararg of searchStrings, returning true if the string is equal to any of the searchStrings.
equalsIgnoreCase(CharSequence, CharSequence) - Static method in class org.bardframework.commons.utils.StringUtils
Compares two CharSequences, returning true if they represent equal sequences of characters, ignoring case.

F

FileUtils - Class in org.bardframework.commons.utils
General file manipulation utilities.
findCommonElementType(Collection<?>) - Static method in class org.bardframework.commons.utils.CollectionUtils
Find the common element type of the given Collection, if any.
findFirstMatch(Collection<?>, Collection<E>) - Static method in class org.bardframework.commons.utils.CollectionUtils
Return the first element in 'candidates' that is contained in 'source'.
findValueOfType(Collection<?>, Class<T>) - Static method in class org.bardframework.commons.utils.CollectionUtils
Find a single value of the given type in the given Collection.
findValueOfType(Collection<?>, Class<?>[]) - Static method in class org.bardframework.commons.utils.CollectionUtils
Find a single value of one of the given types in the given Collection: searching the Collection for a value of the first type, then searching for a value of the second type, etc.
firstElement(Set<T>) - Static method in class org.bardframework.commons.utils.CollectionUtils
Retrieve the first element of the given Set, using SortedSet.first() or otherwise using the iterator.
firstElement(List<T>) - Static method in class org.bardframework.commons.utils.CollectionUtils
Retrieve the first element of the given List, accessing the zero index.
firstNonBlank(T...) - Static method in class org.bardframework.commons.utils.StringUtils
Returns the first value in the array which is not empty (""), null or whitespace only.
firstNonEmpty(T...) - Static method in class org.bardframework.commons.utils.StringUtils
Returns the first value in the array which is not empty.
firstNonNull(T...) - Static method in class org.bardframework.commons.utils.ObjectUtils
Returns the first value in the array which is not null.
floatValue() - Method in class org.bardframework.commons.utils.Fraction
Gets the fraction as a float.
forceDeleteOnExit(File) - Static method in class org.bardframework.commons.utils.FileUtils
Schedules a file to be deleted when JVM exits.
forceMkdir(File) - Static method in class org.bardframework.commons.utils.FileUtils
Makes a directory, including any necessary but nonexistent parent directories.
forceMkdirParent(File) - Static method in class org.bardframework.commons.utils.FileUtils
Makes any necessary but nonexistent parent directories for a given File.
formatIp(String) - Static method in class org.bardframework.commons.utils.IpUtils
 
FOUR_FIFTHS - Static variable in class org.bardframework.commons.utils.Fraction
Fraction representation of 4/5.
Fraction - Class in org.bardframework.commons.utils
Fraction is a Number implementation that stores fractions accurately.
fromEpochMills(long) - Static method in class org.bardframework.commons.utils.DateTimeUtils
 
fromEpochMills(long, ZoneId) - Static method in class org.bardframework.commons.utils.DateTimeUtils
Obtains an instance of LocalDateTime using milliseconds from the epoch of 1970-01-01T00:00:00Z.

G

ge(long, long, String) - Static method in class org.bardframework.commons.utils.AssertionUtils
 
ge(long, long) - Static method in class org.bardframework.commons.utils.AssertionUtils
 
getCommonPrefix(String...) - Static method in class org.bardframework.commons.utils.StringUtils
Compares all Strings in an array and returns the initial sequence of characters that is common to all of them.
getCpuUsagePercent() - Static method in class org.bardframework.commons.utils.OsUtils
 
getDefaultCharset() - Static method in class org.bardframework.commons.utils.CharsetUtils
 
getDefaultEncoding() - Static method in class org.bardframework.commons.utils.CharsetUtils
Supplies the default encoding without using Charset.defaultCharset()
getDefaultLocale() - Static method in class org.bardframework.commons.utils.CharsetUtils
 
getDenominator() - Method in class org.bardframework.commons.utils.Fraction
Gets the denominator part of the fraction.
getDigits(String) - Static method in class org.bardframework.commons.utils.StringUtils
Checks if a String str contains Unicode digits, if yes then concatenate all the digits in str and return it as a String.
getDisplayString(Object) - Static method in class org.bardframework.commons.utils.ObjectUtils
Return a content-based String representation if obj is not null; otherwise returns an empty String.
getDouble(Object) - Static method in class org.bardframework.commons.utils.NumberUtils
remove all non-digit character form string, if remain string not empty, return double value of that, else return 0
getFile(File, String...) - Static method in class org.bardframework.commons.utils.FileUtils
Construct a file from the set of name elements.
getFile(String...) - Static method in class org.bardframework.commons.utils.FileUtils
Construct a file from the set of name elements.
getFileEncoding() - Static method in class org.bardframework.commons.utils.CharsetUtils
 
getFilename(String) - Static method in class org.bardframework.commons.utils.StringUtils
Extract the filename from the given Java resource path, e.g.
getFilenameExtension(String) - Static method in class org.bardframework.commons.utils.StringUtils
Extract the filename extension from the given Java resource path, e.g.
getFraction(int, int) - Static method in class org.bardframework.commons.utils.Fraction
Creates a Fraction instance with the 2 parts of a fraction Y/Z.
getFraction(int, int, int) - Static method in class org.bardframework.commons.utils.Fraction
Creates a Fraction instance with the 3 parts of a fraction X Y/Z.
getFraction(double) - Static method in class org.bardframework.commons.utils.Fraction
Creates a Fraction instance from a double value.
getFraction(String) - Static method in class org.bardframework.commons.utils.Fraction
Creates a Fraction from a String.
getIdentityHexString(Object) - Static method in class org.bardframework.commons.utils.ObjectUtils
Return a hex String form of an object's identity hash code.
getLastDigit(long, int) - Static method in class org.bardframework.commons.utils.NumberUtils
 
getLength(Object) - Static method in class org.bardframework.commons.utils.ArrayUtils
Returns the length of the specified array.
getLongList(Collection<String>) - Static method in class org.bardframework.commons.utils.ArrayUtils
 
getLongList(String...) - Static method in class org.bardframework.commons.utils.ArrayUtils
 
getLongList(Collection<String>) - Static method in class org.bardframework.commons.utils.OsUtils
 
getLongList(String...) - Static method in class org.bardframework.commons.utils.OsUtils
 
getNowUtcMills() - Static method in class org.bardframework.commons.utils.DateTimeUtils
 
getNumberArray(int, int, int) - Static method in class org.bardframework.commons.utils.ArrayUtils
 
getNumberArray(int, int, int) - Static method in class org.bardframework.commons.utils.OsUtils
 
getNumbers(String) - Static method in class org.bardframework.commons.utils.NumberUtils
 
getNumerator() - Method in class org.bardframework.commons.utils.Fraction
Gets the numerator part of the fraction.
getNumeric(String) - Static method in class org.bardframework.commons.utils.NumberUtils
remove all non-digit character (not minus in start if string '-') form string, if remain string not empty, return long value of that, else return 0
getNumeric(Object) - Static method in class org.bardframework.commons.utils.NumberUtils
 
getNumeric(Collection<String>) - Static method in class org.bardframework.commons.utils.NumberUtils
 
getProperNumerator() - Method in class org.bardframework.commons.utils.Fraction
Gets the proper numerator, always positive.
getProperWhole() - Method in class org.bardframework.commons.utils.Fraction
Gets the proper whole part of the fraction.
getReducedFraction(int, int) - Static method in class org.bardframework.commons.utils.Fraction
Creates a reduced Fraction instance with the 2 parts of a fraction Y/Z.
getString(Calendar) - Static method in class org.bardframework.commons.utils.CalendarUtils
 
getString(long, int) - Static method in class org.bardframework.commons.utils.StringUtils
 
getSunEncoding() - Static method in class org.bardframework.commons.utils.CharsetUtils
 
getTempDirectory() - Static method in class org.bardframework.commons.utils.FileUtils
Returns a File representing the system temporary directory.
getTempDirectoryPath() - Static method in class org.bardframework.commons.utils.FileUtils
Returns the path to the system temporary directory.
getUserDirectory() - Static method in class org.bardframework.commons.utils.FileUtils
Returns a File representing the user's home directory.
getUserDirectoryPath() - Static method in class org.bardframework.commons.utils.FileUtils
Returns the path to the user's home directory.
gt(long, long, String) - Static method in class org.bardframework.commons.utils.AssertionUtils
 
gt(long, long) - Static method in class org.bardframework.commons.utils.AssertionUtils
 

H

hashCode() - Method in class org.bardframework.commons.utils.Fraction
Gets a hashCode for the fraction.
hasLength(String, String) - Static method in class org.bardframework.commons.utils.AssertionUtils
Assert that the given String is not empty; that is, it must not be null and not the empty String.
hasLength(String, Supplier<String>) - Static method in class org.bardframework.commons.utils.AssertionUtils
Assert that the given String is not empty; that is, it must not be null and not the empty String.
hasLength(CharSequence) - Static method in class org.bardframework.commons.utils.StringUtils
Check that the given CharSequence is neither null nor of length 0.
hasLength(String) - Static method in class org.bardframework.commons.utils.StringUtils
Check that the given String is neither null nor of length 0.
hasNotText(String) - Static method in class org.bardframework.commons.utils.StringUtils
Check whether the given String not contains actual text.
hasText(String, String) - Static method in class org.bardframework.commons.utils.AssertionUtils
Assert that the given String contains valid text content; that is, it must not be null and must contain at least one non-whitespace character.
hasText(String, Supplier<String>) - Static method in class org.bardframework.commons.utils.AssertionUtils
Assert that the given String contains valid text content; that is, it must not be null and must contain at least one non-whitespace character.
hasText(CharSequence) - Static method in class org.bardframework.commons.utils.StringUtils
Check whether the given CharSequence contains actual text.
hasText(String) - Static method in class org.bardframework.commons.utils.StringUtils
Check whether the given String contains actual text.
hasUniqueObject(Collection<?>) - Static method in class org.bardframework.commons.utils.CollectionUtils
Determine whether the given Collection only contains a single unique object.
hexEncode(byte[]) - Static method in class org.bardframework.commons.utils.EncodingUtils
 
hideString(String, int, char) - Static method in class org.bardframework.commons.utils.StringUtils
 
htmlEscape(String, String) - Static method in class org.bardframework.commons.utils.HtmlUtils
Turn special characters into HTML character references.
htmlUnescape(String) - Static method in class org.bardframework.commons.utils.HtmlUtils
Turn HTML character references into their plain text UNICODE equivalent.
HtmlUtils - Class in org.bardframework.commons.utils
Utility class for HTML escaping.

I

identityToString(Object) - Static method in class org.bardframework.commons.utils.ObjectUtils
Gets the toString that would be produced by Object if a class did not override toString itself.
identityToString(Appendable, Object) - Static method in class org.bardframework.commons.utils.ObjectUtils
Appends the toString that would be produced by Object if a class did not override toString itself.
identityToString(StringBuffer, Object) - Static method in class org.bardframework.commons.utils.ObjectUtils
Appends the toString that would be produced by Object if a class did not override toString itself.
identityToString(StringBuilder, Object) - Static method in class org.bardframework.commons.utils.ObjectUtils
Appends the toString that would be produced by Object if a class did not override toString itself.
ImageUtils - Class in org.bardframework.commons.utils
 
INDEX_NOT_FOUND - Static variable in class org.bardframework.commons.utils.ArrayUtils
The index value when an element is not found in a list or array: -1.
INDEX_NOT_FOUND - Static variable in class org.bardframework.commons.utils.StringUtils
 
indexOf(Object[], Object) - Static method in class org.bardframework.commons.utils.ArrayUtils
Finds the index of the given object in the array.
indexOf(Object[], Object, int) - Static method in class org.bardframework.commons.utils.ArrayUtils
Finds the index of the given object in the array starting at the given index.
indexOf(long[], long) - Static method in class org.bardframework.commons.utils.ArrayUtils
Finds the index of the given value in the array.
indexOf(long[], long, int) - Static method in class org.bardframework.commons.utils.ArrayUtils
Finds the index of the given value in the array starting at the given index.
indexOf(int[], int) - Static method in class org.bardframework.commons.utils.ArrayUtils
Finds the index of the given value in the array.
indexOf(int[], int, int) - Static method in class org.bardframework.commons.utils.ArrayUtils
Finds the index of the given value in the array starting at the given index.
indexOf(short[], short) - Static method in class org.bardframework.commons.utils.ArrayUtils
Finds the index of the given value in the array.
indexOf(short[], short, int) - Static method in class org.bardframework.commons.utils.ArrayUtils
Finds the index of the given value in the array starting at the given index.
indexOf(char[], char) - Static method in class org.bardframework.commons.utils.ArrayUtils
Finds the index of the given value in the array.
indexOf(char[], char, int) - Static method in class org.bardframework.commons.utils.ArrayUtils
Finds the index of the given value in the array starting at the given index.
indexOf(byte[], byte) - Static method in class org.bardframework.commons.utils.ArrayUtils
Finds the index of the given value in the array.
indexOf(byte[], byte, int) - Static method in class org.bardframework.commons.utils.ArrayUtils
Finds the index of the given value in the array starting at the given index.
indexOf(double[], double) - Static method in class org.bardframework.commons.utils.ArrayUtils
Finds the index of the given value in the array.
indexOf(double[], double, double) - Static method in class org.bardframework.commons.utils.ArrayUtils
Finds the index of the given value within a given tolerance in the array.
indexOf(double[], double, int) - Static method in class org.bardframework.commons.utils.ArrayUtils
Finds the index of the given value in the array starting at the given index.
indexOf(double[], double, int, double) - Static method in class org.bardframework.commons.utils.ArrayUtils
Finds the index of the given value in the array starting at the given index.
indexOf(float[], float) - Static method in class org.bardframework.commons.utils.ArrayUtils
Finds the index of the given value in the array.
indexOf(float[], float, int) - Static method in class org.bardframework.commons.utils.ArrayUtils
Finds the index of the given value in the array starting at the given index.
indexOf(boolean[], boolean) - Static method in class org.bardframework.commons.utils.ArrayUtils
Finds the index of the given value in the array.
indexOf(boolean[], boolean, int) - Static method in class org.bardframework.commons.utils.ArrayUtils
Finds the index of the given value in the array starting at the given index.
indexOf(CharSequence, CharSequence, int) - Static method in class org.bardframework.commons.utils.StringUtils
Finds the first index within a CharSequence, handling null.
indexOfAny(CharSequence, char...) - Static method in class org.bardframework.commons.utils.StringUtils
Search a CharSequence to find the first index of any character in the given set of characters.
indexOfAny(CharSequence, String) - Static method in class org.bardframework.commons.utils.StringUtils
Search a CharSequence to find the first index of any character in the given set of characters.
indexOfAny(CharSequence, CharSequence...) - Static method in class org.bardframework.commons.utils.StringUtils
Find the first index of any of a set of potential substrings.
indexOfAnyBut(CharSequence, char...) - Static method in class org.bardframework.commons.utils.StringUtils
Searches a CharSequence to find the first index of any character not in the given set of characters.
indexOfAnyBut(CharSequence, CharSequence) - Static method in class org.bardframework.commons.utils.StringUtils
Search a CharSequence to find the first index of any character not in the given set of characters.
indexOfDifference(CharSequence, CharSequence) - Static method in class org.bardframework.commons.utils.StringUtils
Compares two CharSequences, and returns the index at which the CharSequences begin to differ.
indexOfDifference(CharSequence...) - Static method in class org.bardframework.commons.utils.StringUtils
Compares all CharSequences in an array and returns the index at which the CharSequences begin to differ.
indexOfIgnoreCase(CharSequence, CharSequence) - Static method in class org.bardframework.commons.utils.StringUtils
Case in-sensitive find of the first index within a CharSequence.
indexOfIgnoreCase(CharSequence, CharSequence, int) - Static method in class org.bardframework.commons.utils.StringUtils
Case in-sensitive find of the first index within a CharSequence from the specified position.
insert(int, boolean[], boolean...) - Static method in class org.bardframework.commons.utils.ArrayUtils
Inserts elements into an array at the given index (starting from zero).
insert(int, byte[], byte...) - Static method in class org.bardframework.commons.utils.ArrayUtils
Inserts elements into an array at the given index (starting from zero).
insert(int, char[], char...) - Static method in class org.bardframework.commons.utils.ArrayUtils
Inserts elements into an array at the given index (starting from zero).
insert(int, double[], double...) - Static method in class org.bardframework.commons.utils.ArrayUtils
Inserts elements into an array at the given index (starting from zero).
insert(int, float[], float...) - Static method in class org.bardframework.commons.utils.ArrayUtils
Inserts elements into an array at the given index (starting from zero).
insert(int, int[], int...) - Static method in class org.bardframework.commons.utils.ArrayUtils
Inserts elements into an array at the given index (starting from zero).
insert(int, long[], long...) - Static method in class org.bardframework.commons.utils.ArrayUtils
Inserts elements into an array at the given index (starting from zero).
insert(int, short[], short...) - Static method in class org.bardframework.commons.utils.ArrayUtils
Inserts elements into an array at the given index (starting from zero).
insert(int, T[], T...) - Static method in class org.bardframework.commons.utils.ArrayUtils
Inserts elements into an array at the given index (starting from zero).
intValue() - Method in class org.bardframework.commons.utils.Fraction
Gets the fraction as an int.
invert() - Method in class org.bardframework.commons.utils.Fraction
Gets a fraction that is the inverse (1/fraction) of this one.
IOUtils - Class in org.bardframework.commons.utils
General IO stream manipulation utilities.
IOUtils() - Constructor for class org.bardframework.commons.utils.IOUtils
Instances should NOT be constructed in standard programming.
IpUtils - Class in org.bardframework.commons.utils
 
isAllBlank(CharSequence...) - Static method in class org.bardframework.commons.utils.StringUtils
Checks if all of the CharSequences are empty (""), null or whitespace only.
isAllEmpty(CharSequence...) - Static method in class org.bardframework.commons.utils.StringUtils
Checks if all of the CharSequences are empty ("") or null.
isAllLowerCase(CharSequence) - Static method in class org.bardframework.commons.utils.StringUtils
Checks if the CharSequence contains only lowercase characters.
isAllUpperCase(CharSequence) - Static method in class org.bardframework.commons.utils.StringUtils
Checks if the CharSequence contains only uppercase characters.
isAlpha(CharSequence) - Static method in class org.bardframework.commons.utils.StringUtils
Checks if the CharSequence contains only Unicode letters.
isAlphanumeric(CharSequence) - Static method in class org.bardframework.commons.utils.StringUtils
Checks if the CharSequence contains only Unicode letters or digits.
isAlphanumericSpace(CharSequence) - Static method in class org.bardframework.commons.utils.StringUtils
Checks if the CharSequence contains only Unicode letters, digits or space (' ').
isAlphaSpace(CharSequence) - Static method in class org.bardframework.commons.utils.StringUtils
Checks if the CharSequence contains only Unicode letters and space (' ').
isAnyBlank(CharSequence...) - Static method in class org.bardframework.commons.utils.StringUtils
Checks if any of the CharSequences are empty ("") or null or whitespace only.
isAnyEmpty(CharSequence...) - Static method in class org.bardframework.commons.utils.StringUtils
Checks if any of the CharSequences are empty ("") or null.
isArray(Object) - Static method in class org.bardframework.commons.utils.ObjectUtils
Determine whether the given object is an array: either an Object array or a primitive array.
isArrayIndexValid(T[], int) - Static method in class org.bardframework.commons.utils.ArrayUtils
Returns whether a given array can safely be accessed at the given index.
isAscii(char) - Static method in class org.bardframework.commons.utils.CharUtils
Checks whether the character is ASCII 7 bit.
isAsciiAlpha(char) - Static method in class org.bardframework.commons.utils.CharUtils
Checks whether the character is ASCII 7 bit alphabetic.
isAsciiAlphaLower(char) - Static method in class org.bardframework.commons.utils.CharUtils
Checks whether the character is ASCII 7 bit alphabetic lower case.
isAsciiAlphanumeric(char) - Static method in class org.bardframework.commons.utils.CharUtils
Checks whether the character is ASCII 7 bit numeric.
isAsciiAlphaUpper(char) - Static method in class org.bardframework.commons.utils.CharUtils
Checks whether the character is ASCII 7 bit alphabetic upper case.
isAsciiControl(char) - Static method in class org.bardframework.commons.utils.CharUtils
Checks whether the character is ASCII 7 bit control.
isAsciiNumeric(char) - Static method in class org.bardframework.commons.utils.CharUtils
Checks whether the character is ASCII 7 bit numeric.
isAsciiPrintable(char) - Static method in class org.bardframework.commons.utils.CharUtils
Checks whether the character is ASCII 7 bit printable.
isAsciiPrintable(CharSequence) - Static method in class org.bardframework.commons.utils.StringUtils
Checks if the CharSequence contains only ASCII printable characters.
isAssignable(Class<?>, Class<?>, String) - Static method in class org.bardframework.commons.utils.AssertionUtils
Assert that superType.isAssignableFrom(subType) is true.
isAssignable(Class<?>, Class<?>, Supplier<String>) - Static method in class org.bardframework.commons.utils.AssertionUtils
Assert that superType.isAssignableFrom(subType) is true.
isAssignable(Class<?>, Class<?>) - Static method in class org.bardframework.commons.utils.AssertionUtils
Assert that superType.isAssignableFrom(subType) is true.
isBlank(CharSequence) - Static method in class org.bardframework.commons.utils.StringUtils
Checks if a CharSequence is empty (""), null or whitespace only.
isCheckedException(Throwable) - Static method in class org.bardframework.commons.utils.ObjectUtils
Return whether the given throwable is a checked exception: that is, neither a RuntimeException nor an Error.
isCompatibleWithThrowsClause(Throwable, Class<?>...) - Static method in class org.bardframework.commons.utils.ObjectUtils
Check whether the given exception is compatible with the specified exception types, as declared in a throws clause.
isEmpty(Object[]) - Static method in class org.bardframework.commons.utils.ArrayUtils
Checks if an array of Objects is empty or null.
isEmpty(long[]) - Static method in class org.bardframework.commons.utils.ArrayUtils
Checks if an array of primitive longs is empty or null.
isEmpty(int[]) - Static method in class org.bardframework.commons.utils.ArrayUtils
Checks if an array of primitive ints is empty or null.
isEmpty(short[]) - Static method in class org.bardframework.commons.utils.ArrayUtils
Checks if an array of primitive shorts is empty or null.
isEmpty(char[]) - Static method in class org.bardframework.commons.utils.ArrayUtils
Checks if an array of primitive chars is empty or null.
isEmpty(byte[]) - Static method in class org.bardframework.commons.utils.ArrayUtils
Checks if an array of primitive bytes is empty or null.
isEmpty(double[]) - Static method in class org.bardframework.commons.utils.ArrayUtils
Checks if an array of primitive doubles is empty or null.
isEmpty(float[]) - Static method in class org.bardframework.commons.utils.ArrayUtils
Checks if an array of primitive floats is empty or null.
isEmpty(boolean[]) - Static method in class org.bardframework.commons.utils.ArrayUtils
Checks if an array of primitive booleans is empty or null.
isEmpty(Collection<?>) - Static method in class org.bardframework.commons.utils.CollectionUtils
Return true if the supplied Collection is null or empty.
isEmpty(Map<?, ?>) - Static method in class org.bardframework.commons.utils.CollectionUtils
Return true if the supplied Map is null or empty.
isEmpty(Object[]) - Static method in class org.bardframework.commons.utils.ObjectUtils
Determine whether the given array is empty: i.e.
isEmpty(Object) - Static method in class org.bardframework.commons.utils.ObjectUtils
Checks if an Object is empty or null.
isEmpty(Object) - Static method in class org.bardframework.commons.utils.StringUtils
Check whether the given object (possibly a String) is empty.
isEmpty(CharSequence) - Static method in class org.bardframework.commons.utils.StringUtils
Checks if a CharSequence is empty ("") or null.
isFileNewer(File, Date) - Static method in class org.bardframework.commons.utils.FileUtils
Tests if the specified File is newer than the specified Date.
isFileNewer(File, File) - Static method in class org.bardframework.commons.utils.FileUtils
Tests if the specified File is newer than the reference File.
isFileNewer(File, long) - Static method in class org.bardframework.commons.utils.FileUtils
Tests if the specified File is newer than the specified time reference.
isFileOlder(File, Date) - Static method in class org.bardframework.commons.utils.FileUtils
Tests if the specified File is older than the specified Date.
isFileOlder(File, File) - Static method in class org.bardframework.commons.utils.FileUtils
Tests if the specified File is older than the reference File.
isFileOlder(File, long) - Static method in class org.bardframework.commons.utils.FileUtils
Tests if the specified File is older than the specified time reference.
isInstanceOf(Class<?>, Object, String) - Static method in class org.bardframework.commons.utils.AssertionUtils
Assert that the provided object is an instance of the provided class.
isInstanceOf(Class<?>, Object, Supplier<String>) - Static method in class org.bardframework.commons.utils.AssertionUtils
Assert that the provided object is an instance of the provided class.
isInstanceOf(Class<?>, Object) - Static method in class org.bardframework.commons.utils.AssertionUtils
Assert that the provided object is an instance of the provided class.
isMixedCase(CharSequence) - Static method in class org.bardframework.commons.utils.StringUtils
Checks if the CharSequence contains mixed casing of both uppercase and lowercase characters.
isNoneBlank(CharSequence...) - Static method in class org.bardframework.commons.utils.StringUtils
Checks if none of the CharSequences are empty (""), null or whitespace only.
isNoneEmpty(CharSequence...) - Static method in class org.bardframework.commons.utils.StringUtils
Checks if none of the CharSequences are empty ("") or null.
isNotBlank(CharSequence) - Static method in class org.bardframework.commons.utils.StringUtils
Checks if a CharSequence is not empty (""), not null and not whitespace only.
isNotEmpty(T[]) - Static method in class org.bardframework.commons.utils.ArrayUtils
Checks if an array of Objects is not empty and not null.
isNotEmpty(long[]) - Static method in class org.bardframework.commons.utils.ArrayUtils
Checks if an array of primitive longs is not empty and not null.
isNotEmpty(int[]) - Static method in class org.bardframework.commons.utils.ArrayUtils
Checks if an array of primitive ints is not empty and not null.
isNotEmpty(short[]) - Static method in class org.bardframework.commons.utils.ArrayUtils
Checks if an array of primitive shorts is not empty and not null.
isNotEmpty(char[]) - Static method in class org.bardframework.commons.utils.ArrayUtils
Checks if an array of primitive chars is not empty and not null.
isNotEmpty(byte[]) - Static method in class org.bardframework.commons.utils.ArrayUtils
Checks if an array of primitive bytes is not empty and not null.
isNotEmpty(double[]) - Static method in class org.bardframework.commons.utils.ArrayUtils
Checks if an array of primitive doubles is not empty and not null.
isNotEmpty(float[]) - Static method in class org.bardframework.commons.utils.ArrayUtils
Checks if an array of primitive floats is not empty and not null.
isNotEmpty(boolean[]) - Static method in class org.bardframework.commons.utils.ArrayUtils
Checks if an array of primitive booleans is not empty and not null.
isNotEmpty(Collection<?>) - Static method in class org.bardframework.commons.utils.CollectionUtils
Return true if the supplied Collection is not null or empty.
isNotEmpty(Object) - Static method in class org.bardframework.commons.utils.ObjectUtils
Checks if an Object is not empty and not null.
isNotEmpty(CharSequence) - Static method in class org.bardframework.commons.utils.StringUtils
Checks if a CharSequence is not empty ("") and not null.
isNull(Object, String) - Static method in class org.bardframework.commons.utils.AssertionUtils
Assert that an object is null.
isNull(Object, Supplier<String>) - Static method in class org.bardframework.commons.utils.AssertionUtils
Assert that an object is null.
isNumeric(CharSequence) - Static method in class org.bardframework.commons.utils.StringUtils
Checks if the CharSequence contains only Unicode digits.
isNumericSpace(CharSequence) - Static method in class org.bardframework.commons.utils.StringUtils
Checks if the CharSequence contains only Unicode digits or space (' ').
isSameLength(Object[], Object[]) - Static method in class org.bardframework.commons.utils.ArrayUtils
Checks whether two arrays are the same length, treating null arrays as length 0.
isSameLength(long[], long[]) - Static method in class org.bardframework.commons.utils.ArrayUtils
Checks whether two arrays are the same length, treating null arrays as length 0.
isSameLength(int[], int[]) - Static method in class org.bardframework.commons.utils.ArrayUtils
Checks whether two arrays are the same length, treating null arrays as length 0.
isSameLength(short[], short[]) - Static method in class org.bardframework.commons.utils.ArrayUtils
Checks whether two arrays are the same length, treating null arrays as length 0.
isSameLength(char[], char[]) - Static method in class org.bardframework.commons.utils.ArrayUtils
Checks whether two arrays are the same length, treating null arrays as length 0.
isSameLength(byte[], byte[]) - Static method in class org.bardframework.commons.utils.ArrayUtils
Checks whether two arrays are the same length, treating null arrays as length 0.
isSameLength(double[], double[]) - Static method in class org.bardframework.commons.utils.ArrayUtils
Checks whether two arrays are the same length, treating null arrays as length 0.
isSameLength(float[], float[]) - Static method in class org.bardframework.commons.utils.ArrayUtils
Checks whether two arrays are the same length, treating null arrays as length 0.
isSameLength(boolean[], boolean[]) - Static method in class org.bardframework.commons.utils.ArrayUtils
Checks whether two arrays are the same length, treating null arrays as length 0.
isSameType(Object, Object) - Static method in class org.bardframework.commons.utils.ArrayUtils
Checks whether two arrays are the same type taking into account multi-dimensional arrays.
isSorted(T[]) - Static method in class org.bardframework.commons.utils.ArrayUtils
This method checks whether the provided array is sorted according to the class's compareTo method.
isSorted(T[], Comparator<T>) - Static method in class org.bardframework.commons.utils.ArrayUtils
This method checks whether the provided array is sorted according to the provided Comparator.
isSorted(int[]) - Static method in class org.bardframework.commons.utils.ArrayUtils
This method checks whether the provided array is sorted according to natural ordering.
isSorted(long[]) - Static method in class org.bardframework.commons.utils.ArrayUtils
This method checks whether the provided array is sorted according to natural ordering.
isSorted(short[]) - Static method in class org.bardframework.commons.utils.ArrayUtils
This method checks whether the provided array is sorted according to natural ordering.
isSorted(double[]) - Static method in class org.bardframework.commons.utils.ArrayUtils
This method checks whether the provided array is sorted according to natural ordering.
isSorted(float[]) - Static method in class org.bardframework.commons.utils.ArrayUtils
This method checks whether the provided array is sorted according to natural ordering.
isSorted(byte[]) - Static method in class org.bardframework.commons.utils.ArrayUtils
This method checks whether the provided array is sorted according to natural ordering.
isSorted(boolean[]) - Static method in class org.bardframework.commons.utils.ArrayUtils
This method checks whether the provided array is sorted according to natural ordering (false before true).
isSymlink(File) - Static method in class org.bardframework.commons.utils.FileUtils
Determines whether the specified file is a Symbolic Link rather than an actual file.
isTrue(boolean, String) - Static method in class org.bardframework.commons.utils.AssertionUtils
Assert a boolean expression, throwing an IllegalArgumentException if the expression evaluates to false.
isTrue(boolean, Supplier<String>) - Static method in class org.bardframework.commons.utils.AssertionUtils
Assert a boolean expression, throwing an IllegalArgumentException if the expression evaluates to false.
isWhitespace(CharSequence) - Static method in class org.bardframework.commons.utils.StringUtils
Checks if the CharSequence contains only whitespace.

J

join(T...) - Static method in class org.bardframework.commons.utils.StringUtils
Joins the elements of the provided array into a single String containing the provided list of elements.
join(Object[], char) - Static method in class org.bardframework.commons.utils.StringUtils
Joins the elements of the provided array into a single String containing the provided list of elements.
join(long[], char) - Static method in class org.bardframework.commons.utils.StringUtils
Joins the elements of the provided array into a single String containing the provided list of elements.
join(int[], char) - Static method in class org.bardframework.commons.utils.StringUtils
Joins the elements of the provided array into a single String containing the provided list of elements.
join(short[], char) - Static method in class org.bardframework.commons.utils.StringUtils
Joins the elements of the provided array into a single String containing the provided list of elements.
join(byte[], char) - Static method in class org.bardframework.commons.utils.StringUtils
Joins the elements of the provided array into a single String containing the provided list of elements.
join(char[], char) - Static method in class org.bardframework.commons.utils.StringUtils
Joins the elements of the provided array into a single String containing the provided list of elements.
join(float[], char) - Static method in class org.bardframework.commons.utils.StringUtils
Joins the elements of the provided array into a single String containing the provided list of elements.
join(double[], char) - Static method in class org.bardframework.commons.utils.StringUtils
Joins the elements of the provided array into a single String containing the provided list of elements.
join(Object[], char, int, int) - Static method in class org.bardframework.commons.utils.StringUtils
Joins the elements of the provided array into a single String containing the provided list of elements.
join(long[], char, int, int) - Static method in class org.bardframework.commons.utils.StringUtils
Joins the elements of the provided array into a single String containing the provided list of elements.
join(int[], char, int, int) - Static method in class org.bardframework.commons.utils.StringUtils
Joins the elements of the provided array into a single String containing the provided list of elements.
join(byte[], char, int, int) - Static method in class org.bardframework.commons.utils.StringUtils
Joins the elements of the provided array into a single String containing the provided list of elements.
join(short[], char, int, int) - Static method in class org.bardframework.commons.utils.StringUtils
Joins the elements of the provided array into a single String containing the provided list of elements.
join(char[], char, int, int) - Static method in class org.bardframework.commons.utils.StringUtils
Joins the elements of the provided array into a single String containing the provided list of elements.
join(double[], char, int, int) - Static method in class org.bardframework.commons.utils.StringUtils
Joins the elements of the provided array into a single String containing the provided list of elements.
join(float[], char, int, int) - Static method in class org.bardframework.commons.utils.StringUtils
Joins the elements of the provided array into a single String containing the provided list of elements.
join(Object[], String) - Static method in class org.bardframework.commons.utils.StringUtils
Joins the elements of the provided array into a single String containing the provided list of elements.
join(Object[], String, int, int) - Static method in class org.bardframework.commons.utils.StringUtils
Joins the elements of the provided array into a single String containing the provided list of elements.
join(Iterator<?>, char) - Static method in class org.bardframework.commons.utils.StringUtils
Joins the elements of the provided Iterator into a single String containing the provided elements.
join(Iterator<?>, String) - Static method in class org.bardframework.commons.utils.StringUtils
Joins the elements of the provided Iterator into a single String containing the provided elements.
join(Iterable<?>, char) - Static method in class org.bardframework.commons.utils.StringUtils
Joins the elements of the provided Iterable into a single String containing the provided elements.
join(Iterable<?>, String) - Static method in class org.bardframework.commons.utils.StringUtils
Joins the elements of the provided Iterable into a single String containing the provided elements.
join(List<?>, char, int, int) - Static method in class org.bardframework.commons.utils.StringUtils
Joins the elements of the provided List into a single String containing the provided list of elements.
join(List<?>, String, int, int) - Static method in class org.bardframework.commons.utils.StringUtils
Joins the elements of the provided List into a single String containing the provided list of elements.
joinWith(String, Object...) - Static method in class org.bardframework.commons.utils.StringUtils
Joins the elements of the provided varargs into a single String containing the provided elements.

L

lastElement(Set<T>) - Static method in class org.bardframework.commons.utils.CollectionUtils
Retrieve the last element of the given Set, using SortedSet.last() or otherwise iterating over all elements (assuming a linked set).
lastElement(List<T>) - Static method in class org.bardframework.commons.utils.CollectionUtils
Retrieve the last element of the given List, accessing the highest index.
lastIndexOf(Object[], Object) - Static method in class org.bardframework.commons.utils.ArrayUtils
Finds the last index of the given object within the array.
lastIndexOf(Object[], Object, int) - Static method in class org.bardframework.commons.utils.ArrayUtils
Finds the last index of the given object in the array starting at the given index.
lastIndexOf(long[], long) - Static method in class org.bardframework.commons.utils.ArrayUtils
Finds the last index of the given value within the array.
lastIndexOf(long[], long, int) - Static method in class org.bardframework.commons.utils.ArrayUtils
Finds the last index of the given value in the array starting at the given index.
lastIndexOf(int[], int) - Static method in class org.bardframework.commons.utils.ArrayUtils
Finds the last index of the given value within the array.
lastIndexOf(int[], int, int) - Static method in class org.bardframework.commons.utils.ArrayUtils
Finds the last index of the given value in the array starting at the given index.
lastIndexOf(short[], short) - Static method in class org.bardframework.commons.utils.ArrayUtils
Finds the last index of the given value within the array.
lastIndexOf(short[], short, int) - Static method in class org.bardframework.commons.utils.ArrayUtils
Finds the last index of the given value in the array starting at the given index.
lastIndexOf(char[], char) - Static method in class org.bardframework.commons.utils.ArrayUtils
Finds the last index of the given value within the array.
lastIndexOf(char[], char, int) - Static method in class org.bardframework.commons.utils.ArrayUtils
Finds the last index of the given value in the array starting at the given index.
lastIndexOf(byte[], byte) - Static method in class org.bardframework.commons.utils.ArrayUtils
Finds the last index of the given value within the array.
lastIndexOf(byte[], byte, int) - Static method in class org.bardframework.commons.utils.ArrayUtils
Finds the last index of the given value in the array starting at the given index.
lastIndexOf(double[], double) - Static method in class org.bardframework.commons.utils.ArrayUtils
Finds the last index of the given value within the array.
lastIndexOf(double[], double, double) - Static method in class org.bardframework.commons.utils.ArrayUtils
Finds the last index of the given value within a given tolerance in the array.
lastIndexOf(double[], double, int) - Static method in class org.bardframework.commons.utils.ArrayUtils
Finds the last index of the given value in the array starting at the given index.
lastIndexOf(double[], double, int, double) - Static method in class org.bardframework.commons.utils.ArrayUtils
Finds the last index of the given value in the array starting at the given index.
lastIndexOf(float[], float) - Static method in class org.bardframework.commons.utils.ArrayUtils
Finds the last index of the given value within the array.
lastIndexOf(float[], float, int) - Static method in class org.bardframework.commons.utils.ArrayUtils
Finds the last index of the given value in the array starting at the given index.
lastIndexOf(boolean[], boolean) - Static method in class org.bardframework.commons.utils.ArrayUtils
Finds the last index of the given value within the array.
lastIndexOf(boolean[], boolean, int) - Static method in class org.bardframework.commons.utils.ArrayUtils
Finds the last index of the given value in the array starting at the given index.
lastIndexOf(CharSequence, int) - Static method in class org.bardframework.commons.utils.StringUtils
Returns the index within seq of the last occurrence of the specified character.
lastIndexOf(CharSequence, int, int) - Static method in class org.bardframework.commons.utils.StringUtils
Returns the index within seq of the last occurrence of the specified character, searching backward starting at the specified index.
lastIndexOf(CharSequence, CharSequence) - Static method in class org.bardframework.commons.utils.StringUtils
Finds the last index within a CharSequence, handling null.
lastIndexOf(CharSequence, CharSequence, int) - Static method in class org.bardframework.commons.utils.StringUtils
Finds the last index within a CharSequence, handling null.
lastIndexOfAny(CharSequence, CharSequence...) - Static method in class org.bardframework.commons.utils.StringUtils
Find the latest index of any of a set of potential substrings.
lastIndexOfIgnoreCase(CharSequence, CharSequence) - Static method in class org.bardframework.commons.utils.StringUtils
Case in-sensitive find of the last index within a CharSequence.
lastIndexOfIgnoreCase(CharSequence, CharSequence, int) - Static method in class org.bardframework.commons.utils.StringUtils
Case in-sensitive find of the last index within a CharSequence from the specified position.
lastOrdinalIndexOf(CharSequence, CharSequence, int) - Static method in class org.bardframework.commons.utils.StringUtils
Finds the n-th last index within a String, handling null.
left(String, int) - Static method in class org.bardframework.commons.utils.StringUtils
Gets the leftmost len characters of a String.
leftPad(String, int) - Static method in class org.bardframework.commons.utils.StringUtils
Left pad a String with spaces (' ').
leftPad(String, int, char) - Static method in class org.bardframework.commons.utils.StringUtils
Left pad a String with a specified character.
leftPad(String, int, String) - Static method in class org.bardframework.commons.utils.StringUtils
Left pad a String with a specified String.
length(CharSequence) - Static method in class org.bardframework.commons.utils.StringUtils
Gets a CharSequence length or 0 if the CharSequence is null.
LF - Static variable in class org.bardframework.commons.utils.CharUtils
linefeed LF ('\n').
LINE_SEPARATOR - Static variable in class org.bardframework.commons.utils.IOUtils
The system line separator string.
LINE_SEPARATOR_UNIX - Static variable in class org.bardframework.commons.utils.IOUtils
The Unix line separator string.
LINE_SEPARATOR_WINDOWS - Static variable in class org.bardframework.commons.utils.IOUtils
The Windows line separator string.
longValue() - Method in class org.bardframework.commons.utils.Fraction
Gets the fraction as a long.
lowerCase(String) - Static method in class org.bardframework.commons.utils.StringUtils
Converts a String to lower case as per String.toLowerCase().
lowerCase(String, Locale) - Static method in class org.bardframework.commons.utils.StringUtils
Converts a String to lower case as per String.toLowerCase(Locale).

M

makeCleanUrl(String...) - Static method in class org.bardframework.commons.utils.UrlUtils
 
MapUtils - Class in org.bardframework.commons.utils
Created by vahid (va.zafari@gmail.com) on 08/08/19.
max(T...) - Static method in class org.bardframework.commons.utils.ObjectUtils
Null safe comparison of Comparables.
mergeArrayIntoCollection(Object, Collection<E>) - Static method in class org.bardframework.commons.utils.CollectionUtils
Merge the given array into the given Collection.
mergePropertiesIntoMap(Properties, Map<K, V>) - Static method in class org.bardframework.commons.utils.CollectionUtils
Merge the given Properties instance into the given Map, copying all properties (key-value pairs) over.
mid(String, int, int) - Static method in class org.bardframework.commons.utils.StringUtils
Gets len characters from the middle of a String.
min(T...) - Static method in class org.bardframework.commons.utils.ObjectUtils
Null safe comparison of Comparables.
moneyMask(long) - Static method in class org.bardframework.commons.utils.MoneyUtils
 
moneyMask(double) - Static method in class org.bardframework.commons.utils.MoneyUtils
 
MoneyUtils - Class in org.bardframework.commons.utils
Created by Vahid Zafari on 8/12/2016.
multiplyBy(Fraction) - Method in class org.bardframework.commons.utils.Fraction
Multiplies the value of this fraction by another, returning the result in reduced form.

N

negate() - Method in class org.bardframework.commons.utils.Fraction
Gets a fraction that is the negative (-fraction) of this one.
nextBoolean() - Static method in class org.bardframework.commons.utils.RandomUtils
Returns a random boolean value
nextBytes(int) - Static method in class org.bardframework.commons.utils.RandomUtils
Creates an array of random bytes.
nextDouble(double, double) - Static method in class org.bardframework.commons.utils.RandomUtils
Returns a random double within the specified range.
nextDouble() - Static method in class org.bardframework.commons.utils.RandomUtils
Returns a random double within 0 - Double.MAX_VALUE
nextFloat(float, float) - Static method in class org.bardframework.commons.utils.RandomUtils
Returns a random float within the specified range.
nextFloat() - Static method in class org.bardframework.commons.utils.RandomUtils
Returns a random float within 0 - Float.MAX_VALUE
nextInt(int, int) - Static method in class org.bardframework.commons.utils.RandomUtils
Returns a random integer within the specified range.
nextInt() - Static method in class org.bardframework.commons.utils.RandomUtils
Returns a random int within 0 - Integer.MAX_VALUE
nextLong(long, long) - Static method in class org.bardframework.commons.utils.RandomUtils
Returns a random long within the specified range.
nextLong() - Static method in class org.bardframework.commons.utils.RandomUtils
Returns a random long within 0 - Long.MAX_VALUE
noNullElements(Object[], String) - Static method in class org.bardframework.commons.utils.AssertionUtils
Assert that an array contains no null elements.
noNullElements(Object[], Supplier<String>) - Static method in class org.bardframework.commons.utils.AssertionUtils
Assert that an array contains no null elements.
noNullElements(Collection<?>, String) - Static method in class org.bardframework.commons.utils.AssertionUtils
Assert that a collection contains no null elements.
noNullElements(Collection<?>, Supplier<String>) - Static method in class org.bardframework.commons.utils.AssertionUtils
Assert that a collection contains no null elements.
normalizeSpace(String) - Static method in class org.bardframework.commons.utils.StringUtils
notEmpty(Object[], String) - Static method in class org.bardframework.commons.utils.AssertionUtils
Assert that an array contains elements; that is, it must not be null and must contain at least one element.
notEmpty(Object[], Supplier<String>) - Static method in class org.bardframework.commons.utils.AssertionUtils
Assert that an array contains elements; that is, it must not be null and must contain at least one element.
notEmpty(Collection<?>, String) - Static method in class org.bardframework.commons.utils.AssertionUtils
Assert that a collection contains elements; that is, it must not be null and must contain at least one element.
notEmpty(Collection<?>, Supplier<String>) - Static method in class org.bardframework.commons.utils.AssertionUtils
Assert that a collection contains elements; that is, it must not be null and must contain at least one element.
notEmpty(Map<?, ?>, String) - Static method in class org.bardframework.commons.utils.AssertionUtils
Assert that a Map contains entries; that is, it must not be null and must contain at least one entry.
notEmpty(Map<?, ?>, Supplier<String>) - Static method in class org.bardframework.commons.utils.AssertionUtils
Assert that a Map contains entries; that is, it must not be null and must contain at least one entry.
notNull(Object, String) - Static method in class org.bardframework.commons.utils.AssertionUtils
Assert that an object is not null.
notNull(Object, Supplier<String>) - Static method in class org.bardframework.commons.utils.AssertionUtils
Assert that an object is not null.
NUL - Static variable in class org.bardframework.commons.utils.CharUtils
null control character ('\0'), abbreviated NUL.
NULL - Static variable in class org.bardframework.commons.utils.ObjectUtils
Singleton used as a null placeholder where null has another meaning.
nullSafeClassName(Object) - Static method in class org.bardframework.commons.utils.ObjectUtils
Determine the class name for the given object.
nullSafeEquals(Object, Object) - Static method in class org.bardframework.commons.utils.ObjectUtils
Determine if the given objects are equal, returning true if both are null or false if only one is null.
nullSafeHashCode(Object) - Static method in class org.bardframework.commons.utils.ObjectUtils
Return as hash code for the given object; typically the value of Object#hashCode()}.
nullSafeHashCode(Object[]) - Static method in class org.bardframework.commons.utils.ObjectUtils
Return a hash code based on the contents of the specified array.
nullSafeHashCode(boolean[]) - Static method in class org.bardframework.commons.utils.ObjectUtils
Return a hash code based on the contents of the specified array.
nullSafeHashCode(byte[]) - Static method in class org.bardframework.commons.utils.ObjectUtils
Return a hash code based on the contents of the specified array.
nullSafeHashCode(char[]) - Static method in class org.bardframework.commons.utils.ObjectUtils
Return a hash code based on the contents of the specified array.
nullSafeHashCode(double[]) - Static method in class org.bardframework.commons.utils.ObjectUtils
Return a hash code based on the contents of the specified array.
nullSafeHashCode(float[]) - Static method in class org.bardframework.commons.utils.ObjectUtils
Return a hash code based on the contents of the specified array.
nullSafeHashCode(int[]) - Static method in class org.bardframework.commons.utils.ObjectUtils
Return a hash code based on the contents of the specified array.
nullSafeHashCode(long[]) - Static method in class org.bardframework.commons.utils.ObjectUtils
Return a hash code based on the contents of the specified array.
nullSafeHashCode(short[]) - Static method in class org.bardframework.commons.utils.ObjectUtils
Return a hash code based on the contents of the specified array.
nullSafeToString(Object) - Static method in class org.bardframework.commons.utils.ObjectUtils
Return a String representation of the specified Object.
nullSafeToString(Object[]) - Static method in class org.bardframework.commons.utils.ObjectUtils
Return a String representation of the contents of the specified array.
nullSafeToString(boolean[]) - Static method in class org.bardframework.commons.utils.ObjectUtils
Return a String representation of the contents of the specified array.
nullSafeToString(byte[]) - Static method in class org.bardframework.commons.utils.ObjectUtils
Return a String representation of the contents of the specified array.
nullSafeToString(char[]) - Static method in class org.bardframework.commons.utils.ObjectUtils
Return a String representation of the contents of the specified array.
nullSafeToString(double[]) - Static method in class org.bardframework.commons.utils.ObjectUtils
Return a String representation of the contents of the specified array.
nullSafeToString(float[]) - Static method in class org.bardframework.commons.utils.ObjectUtils
Return a String representation of the contents of the specified array.
nullSafeToString(int[]) - Static method in class org.bardframework.commons.utils.ObjectUtils
Return a String representation of the contents of the specified array.
nullSafeToString(long[]) - Static method in class org.bardframework.commons.utils.ObjectUtils
Return a String representation of the contents of the specified array.
nullSafeToString(short[]) - Static method in class org.bardframework.commons.utils.ObjectUtils
Return a String representation of the contents of the specified array.
nullToEmpty(T[], Class<T[]>) - Static method in class org.bardframework.commons.utils.ArrayUtils
Defensive programming technique to change a null reference to an empty one.
nullToEmpty(Object[]) - Static method in class org.bardframework.commons.utils.ArrayUtils
Defensive programming technique to change a null reference to an empty one.
nullToEmpty(Class<?>[]) - Static method in class org.bardframework.commons.utils.ArrayUtils
Defensive programming technique to change a null reference to an empty one.
nullToEmpty(String[]) - Static method in class org.bardframework.commons.utils.ArrayUtils
Defensive programming technique to change a null reference to an empty one.
nullToEmpty(long[]) - Static method in class org.bardframework.commons.utils.ArrayUtils
Defensive programming technique to change a null reference to an empty one.
nullToEmpty(int[]) - Static method in class org.bardframework.commons.utils.ArrayUtils
Defensive programming technique to change a null reference to an empty one.
nullToEmpty(short[]) - Static method in class org.bardframework.commons.utils.ArrayUtils
Defensive programming technique to change a null reference to an empty one.
nullToEmpty(char[]) - Static method in class org.bardframework.commons.utils.ArrayUtils
Defensive programming technique to change a null reference to an empty one.
nullToEmpty(byte[]) - Static method in class org.bardframework.commons.utils.ArrayUtils
Defensive programming technique to change a null reference to an empty one.
nullToEmpty(double[]) - Static method in class org.bardframework.commons.utils.ArrayUtils
Defensive programming technique to change a null reference to an empty one.
nullToEmpty(float[]) - Static method in class org.bardframework.commons.utils.ArrayUtils
Defensive programming technique to change a null reference to an empty one.
nullToEmpty(boolean[]) - Static method in class org.bardframework.commons.utils.ArrayUtils
Defensive programming technique to change a null reference to an empty one.
nullToEmpty(Long[]) - Static method in class org.bardframework.commons.utils.ArrayUtils
Defensive programming technique to change a null reference to an empty one.
nullToEmpty(Integer[]) - Static method in class org.bardframework.commons.utils.ArrayUtils
Defensive programming technique to change a null reference to an empty one.
nullToEmpty(Short[]) - Static method in class org.bardframework.commons.utils.ArrayUtils
Defensive programming technique to change a null reference to an empty one.
nullToEmpty(Character[]) - Static method in class org.bardframework.commons.utils.ArrayUtils
Defensive programming technique to change a null reference to an empty one.
nullToEmpty(Byte[]) - Static method in class org.bardframework.commons.utils.ArrayUtils
Defensive programming technique to change a null reference to an empty one.
nullToEmpty(Double[]) - Static method in class org.bardframework.commons.utils.ArrayUtils
Defensive programming technique to change a null reference to an empty one.
nullToEmpty(Float[]) - Static method in class org.bardframework.commons.utils.ArrayUtils
Defensive programming technique to change a null reference to an empty one.
nullToEmpty(Boolean[]) - Static method in class org.bardframework.commons.utils.ArrayUtils
Defensive programming technique to change a null reference to an empty one.
NumberUtils - Class in org.bardframework.commons.utils
Created by Vahid Zafari on 8/12/2016.

O

ObjectUtils - Class in org.bardframework.commons.utils
Operations on Object.
ObjectUtils() - Constructor for class org.bardframework.commons.utils.ObjectUtils
 
ObjectUtils.Null - Class in org.bardframework.commons.utils
Class used as a null placeholder where null has another meaning.
of(K, Object, K, Object, K, Object, K, Object, K, Object) - Static method in class org.bardframework.commons.utils.MapUtils
Returns a map containing five mappings.
of(K, Object, K, Object, K, Object, K, Object) - Static method in class org.bardframework.commons.utils.MapUtils
Returns a map containing four mappings.
of(K, Object, K, Object, K, Object) - Static method in class org.bardframework.commons.utils.MapUtils
Returns a map containing three mappings.
of(K, Object, K, Object) - Static method in class org.bardframework.commons.utils.MapUtils
Returns a map containing two mappings.
of(K, Object) - Static method in class org.bardframework.commons.utils.MapUtils
Returns a map containing two mappings.
ONE - Static variable in class org.bardframework.commons.utils.Fraction
Fraction representation of 1.
ONE_EB - Static variable in class org.bardframework.commons.utils.FileUtils
The number of bytes in an exabyte.
ONE_EB_BI - Static variable in class org.bardframework.commons.utils.FileUtils
The number of bytes in an exabyte.
ONE_FIFTH - Static variable in class org.bardframework.commons.utils.Fraction
Fraction representation of 1/5.
ONE_GB - Static variable in class org.bardframework.commons.utils.FileUtils
The number of bytes in a gigabyte.
ONE_GB_BI - Static variable in class org.bardframework.commons.utils.FileUtils
The number of bytes in a gigabyte.
ONE_HALF - Static variable in class org.bardframework.commons.utils.Fraction
Fraction representation of 1/2.
ONE_KB - Static variable in class org.bardframework.commons.utils.FileUtils
The number of bytes in a kilobyte.
ONE_KB_BI - Static variable in class org.bardframework.commons.utils.FileUtils
The number of bytes in a kilobyte.
ONE_MB - Static variable in class org.bardframework.commons.utils.FileUtils
The number of bytes in a megabyte.
ONE_MB_BI - Static variable in class org.bardframework.commons.utils.FileUtils
The number of bytes in a megabyte.
ONE_PB - Static variable in class org.bardframework.commons.utils.FileUtils
The number of bytes in a petabyte.
ONE_PB_BI - Static variable in class org.bardframework.commons.utils.FileUtils
The number of bytes in a petabyte.
ONE_QUARTER - Static variable in class org.bardframework.commons.utils.Fraction
Fraction representation of 1/4.
ONE_TB - Static variable in class org.bardframework.commons.utils.FileUtils
The number of bytes in a terabyte.
ONE_TB_BI - Static variable in class org.bardframework.commons.utils.FileUtils
The number of bytes in a terabyte.
ONE_THIRD - Static variable in class org.bardframework.commons.utils.Fraction
Fraction representation of 1/3.
ONE_YB - Static variable in class org.bardframework.commons.utils.FileUtils
The number of bytes in a yottabyte.
ONE_ZB - Static variable in class org.bardframework.commons.utils.FileUtils
The number of bytes in a zettabyte.
openInputStream(File) - Static method in class org.bardframework.commons.utils.FileUtils
Opens a FileInputStream for the specified file, providing better error messages than simply calling new FileInputStream(file).
openOutputStream(File) - Static method in class org.bardframework.commons.utils.FileUtils
Opens a FileOutputStream for the specified file, checking and creating the parent directory if it does not exist.
openOutputStream(File, boolean) - Static method in class org.bardframework.commons.utils.FileUtils
Opens a FileOutputStream for the specified file, checking and creating the parent directory if it does not exist.
ordinalIndexOf(CharSequence, CharSequence, int) - Static method in class org.bardframework.commons.utils.StringUtils
Finds the n-th index within a CharSequence, handling null.
org.bardframework.commons.utils - package org.bardframework.commons.utils
 
OsUtils - Class in org.bardframework.commons.utils
Created by Vahid Zafari on 8/12/2016.
overlay(String, String, int, int) - Static method in class org.bardframework.commons.utils.StringUtils
Overlays part of a String with another String.

P

parseLocale(String) - Static method in class org.bardframework.commons.utils.StringUtils
Parse the given String value into a Locale, accepting the Locale.toString() format as well as BCP 47 language tags.
parseLocaleString(String) - Static method in class org.bardframework.commons.utils.StringUtils
Parse the given String representation into a Locale.
parseTimeZoneString(String) - Static method in class org.bardframework.commons.utils.StringUtils
Parse the given timeZoneString value into a TimeZone.
pathEquals(String, String) - Static method in class org.bardframework.commons.utils.StringUtils
Compare two paths after normalization of them.
pow(int) - Method in class org.bardframework.commons.utils.Fraction
Gets a fraction that is raised to the passed in power.
prependIfMissing(String, CharSequence, CharSequence...) - Static method in class org.bardframework.commons.utils.StringUtils
Prepends the prefix to the start of the string if the string does not already start with any of the prefixes.
prependIfMissingIgnoreCase(String, CharSequence, CharSequence...) - Static method in class org.bardframework.commons.utils.StringUtils
Prepends the prefix to the start of the string if the string does not already start, case insensitive, with any of the prefixes.

Q

quote(String) - Static method in class org.bardframework.commons.utils.StringUtils
Quote the given String with single quotes.
quoteIfString(Object) - Static method in class org.bardframework.commons.utils.StringUtils
Turn the given Object into a String with single quotes if it is a String; keeping the Object as-is else.

R

random(int) - Static method in class org.bardframework.commons.utils.RandomStringUtils
Creates a random string whose length is the number of characters specified.
random(int, boolean, boolean) - Static method in class org.bardframework.commons.utils.RandomStringUtils
Creates a random string whose length is the number of characters specified.
random(int, int, int, boolean, boolean) - Static method in class org.bardframework.commons.utils.RandomStringUtils
Creates a random string whose length is the number of characters specified.
random(int, int, int, boolean, boolean, char...) - Static method in class org.bardframework.commons.utils.RandomStringUtils
Creates a random string based on a variety of options, using default source of randomness.
random(int, int, int, boolean, boolean, char[], Random) - Static method in class org.bardframework.commons.utils.RandomStringUtils
Creates a random string based on a variety of options, using supplied source of randomness.
random(int, String) - Static method in class org.bardframework.commons.utils.RandomStringUtils
Creates a random string whose length is the number of characters specified.
random(int, char...) - Static method in class org.bardframework.commons.utils.RandomStringUtils
Creates a random string whose length is the number of characters specified.
randomAlphabetic(int) - Static method in class org.bardframework.commons.utils.RandomStringUtils
Creates a random string whose length is the number of characters specified.
randomAlphabetic(int, int) - Static method in class org.bardframework.commons.utils.RandomStringUtils
Creates a random string whose length is between the inclusive minimum and the exclusive maximum.
randomAlphanumeric(int) - Static method in class org.bardframework.commons.utils.RandomStringUtils
Creates a random string whose length is the number of characters specified.
randomAlphanumeric(int, int) - Static method in class org.bardframework.commons.utils.RandomStringUtils
Creates a random string whose length is between the inclusive minimum and the exclusive maximum.
randomAscii(int) - Static method in class org.bardframework.commons.utils.RandomStringUtils
Creates a random string whose length is the number of characters specified.
randomAscii(int, int) - Static method in class org.bardframework.commons.utils.RandomStringUtils
Creates a random string whose length is between the inclusive minimum and the exclusive maximum.
randomGraph(int) - Static method in class org.bardframework.commons.utils.RandomStringUtils
Creates a random string whose length is the number of characters specified.
randomGraph(int, int) - Static method in class org.bardframework.commons.utils.RandomStringUtils
Creates a random string whose length is between the inclusive minimum and the exclusive maximum.
randomNumeric(int) - Static method in class org.bardframework.commons.utils.RandomStringUtils
Creates a random string whose length is the number of characters specified.
randomNumeric(int, int) - Static method in class org.bardframework.commons.utils.RandomStringUtils
Creates a random string whose length is between the inclusive minimum and the exclusive maximum.
randomPrint(int) - Static method in class org.bardframework.commons.utils.RandomStringUtils
Creates a random string whose length is the number of characters specified.
randomPrint(int, int) - Static method in class org.bardframework.commons.utils.RandomStringUtils
Creates a random string whose length is between the inclusive minimum and the exclusive maximum.
RandomStringUtils - Class in org.bardframework.commons.utils
Operations for random Strings.
RandomStringUtils() - Constructor for class org.bardframework.commons.utils.RandomStringUtils
RandomStringUtils instances should NOT be constructed in standard programming.
RandomUtils - Class in org.bardframework.commons.utils
Utility library that supplements the standard Random class.
RandomUtils() - Constructor for class org.bardframework.commons.utils.RandomUtils
RandomUtils instances should NOT be constructed in standard programming.
rawDigest(String, byte[]) - Static method in class org.bardframework.commons.utils.DigestUtils
 
read(Reader, char[], int, int) - Static method in class org.bardframework.commons.utils.IOUtils
Reads characters from an input character stream.
read(Reader, char[]) - Static method in class org.bardframework.commons.utils.IOUtils
Reads characters from an input character stream.
read(InputStream, byte[], int, int) - Static method in class org.bardframework.commons.utils.IOUtils
Reads bytes from an input stream.
read(InputStream, byte[]) - Static method in class org.bardframework.commons.utils.IOUtils
Reads bytes from an input stream.
read(ReadableByteChannel, ByteBuffer) - Static method in class org.bardframework.commons.utils.IOUtils
Reads bytes from a ReadableByteChannel.
readFileToByteArray(File) - Static method in class org.bardframework.commons.utils.FileUtils
Reads the contents of a file into a byte array.
readFileToString(File, Charset) - Static method in class org.bardframework.commons.utils.FileUtils
Reads the contents of a file into a String.
readFileToString(File, String) - Static method in class org.bardframework.commons.utils.FileUtils
Reads the contents of a file into a String.
readFully(Reader, char[], int, int) - Static method in class org.bardframework.commons.utils.IOUtils
Reads the requested number of characters or fail if there are not enough left.
readFully(Reader, char[]) - Static method in class org.bardframework.commons.utils.IOUtils
Reads the requested number of characters or fail if there are not enough left.
readFully(InputStream, byte[], int, int) - Static method in class org.bardframework.commons.utils.IOUtils
Reads the requested number of bytes or fail if there are not enough left.
readFully(InputStream, byte[]) - Static method in class org.bardframework.commons.utils.IOUtils
Reads the requested number of bytes or fail if there are not enough left.
readFully(InputStream, int) - Static method in class org.bardframework.commons.utils.IOUtils
Reads the requested number of bytes or fail if there are not enough left.
readFully(ReadableByteChannel, ByteBuffer) - Static method in class org.bardframework.commons.utils.IOUtils
Reads the requested number of bytes or fail if there are not enough left.
readLines(File, Charset) - Static method in class org.bardframework.commons.utils.FileUtils
Reads the contents of a file line by line to a List of Strings.
readLines(File, String) - Static method in class org.bardframework.commons.utils.FileUtils
Reads the contents of a file line by line to a List of Strings.
readLines(InputStream, Charset) - Static method in class org.bardframework.commons.utils.IOUtils
Gets the contents of an InputStream as a list of Strings, one entry per line, using the specified character encoding.
readLines(InputStream, String) - Static method in class org.bardframework.commons.utils.IOUtils
Gets the contents of an InputStream as a list of Strings, one entry per line, using the specified character encoding.
readLines(Reader) - Static method in class org.bardframework.commons.utils.IOUtils
Gets the contents of a Reader as a list of Strings, one entry per line.
reduce() - Method in class org.bardframework.commons.utils.Fraction
Reduce the fraction to the smallest values for the numerator and denominator, returning the result.
remove(T[], int) - Static method in class org.bardframework.commons.utils.ArrayUtils
Removes the element at the specified position from the specified array.
remove(boolean[], int) - Static method in class org.bardframework.commons.utils.ArrayUtils
Removes the element at the specified position from the specified array.
remove(byte[], int) - Static method in class org.bardframework.commons.utils.ArrayUtils
Removes the element at the specified position from the specified array.
remove(char[], int) - Static method in class org.bardframework.commons.utils.ArrayUtils
Removes the element at the specified position from the specified array.
remove(double[], int) - Static method in class org.bardframework.commons.utils.ArrayUtils
Removes the element at the specified position from the specified array.
remove(float[], int) - Static method in class org.bardframework.commons.utils.ArrayUtils
Removes the element at the specified position from the specified array.
remove(int[], int) - Static method in class org.bardframework.commons.utils.ArrayUtils
Removes the element at the specified position from the specified array.
remove(long[], int) - Static method in class org.bardframework.commons.utils.ArrayUtils
Removes the element at the specified position from the specified array.
remove(short[], int) - Static method in class org.bardframework.commons.utils.ArrayUtils
Removes the element at the specified position from the specified array.
remove(String, String) - Static method in class org.bardframework.commons.utils.StringUtils
Removes all occurrences of a substring from within the source string.
remove(String, char) - Static method in class org.bardframework.commons.utils.StringUtils
Removes all occurrences of a character from within the source string.
removeAll(T[], int...) - Static method in class org.bardframework.commons.utils.ArrayUtils
Removes the elements at the specified positions from the specified array.
removeAll(byte[], int...) - Static method in class org.bardframework.commons.utils.ArrayUtils
Removes the elements at the specified positions from the specified array.
removeAll(short[], int...) - Static method in class org.bardframework.commons.utils.ArrayUtils
Removes the elements at the specified positions from the specified array.
removeAll(int[], int...) - Static method in class org.bardframework.commons.utils.ArrayUtils
Removes the elements at the specified positions from the specified array.
removeAll(char[], int...) - Static method in class org.bardframework.commons.utils.ArrayUtils
Removes the elements at the specified positions from the specified array.
removeAll(long[], int...) - Static method in class org.bardframework.commons.utils.ArrayUtils
Removes the elements at the specified positions from the specified array.
removeAll(float[], int...) - Static method in class org.bardframework.commons.utils.ArrayUtils
Removes the elements at the specified positions from the specified array.
removeAll(double[], int...) - Static method in class org.bardframework.commons.utils.ArrayUtils
Removes the elements at the specified positions from the specified array.
removeAll(boolean[], int...) - Static method in class org.bardframework.commons.utils.ArrayUtils
Removes the elements at the specified positions from the specified array.
removeAllOccurrences(boolean[], boolean) - Static method in class org.bardframework.commons.utils.ArrayUtils
Removes the occurrences of the specified element from the specified boolean array.
removeAllOccurrences(char[], char) - Static method in class org.bardframework.commons.utils.ArrayUtils
Removes the occurrences of the specified element from the specified char array.
removeAllOccurrences(byte[], byte) - Static method in class org.bardframework.commons.utils.ArrayUtils
Removes the occurrences of the specified element from the specified byte array.
removeAllOccurrences(short[], short) - Static method in class org.bardframework.commons.utils.ArrayUtils
Removes the occurrences of the specified element from the specified short array.
removeAllOccurrences(int[], int) - Static method in class org.bardframework.commons.utils.ArrayUtils
Removes the occurrences of the specified element from the specified int array.
removeAllOccurrences(long[], long) - Static method in class org.bardframework.commons.utils.ArrayUtils
Removes the occurrences of the specified element from the specified long array.
removeAllOccurrences(float[], float) - Static method in class org.bardframework.commons.utils.ArrayUtils
Removes the occurrences of the specified element from the specified float array.
removeAllOccurrences(double[], double) - Static method in class org.bardframework.commons.utils.ArrayUtils
Removes the occurrences of the specified element from the specified double array.
removeAllOccurrences(T[], T) - Static method in class org.bardframework.commons.utils.ArrayUtils
Removes the occurrences of the specified element from the specified array.
removeDigit(String) - Static method in class org.bardframework.commons.utils.StringUtils
 
removeDuplicateStrings(String[]) - Static method in class org.bardframework.commons.utils.StringUtils
Remove duplicate strings from the given array.
removeElement(T[], Object) - Static method in class org.bardframework.commons.utils.ArrayUtils
Removes the first occurrence of the specified element from the specified array.
removeElement(boolean[], boolean) - Static method in class org.bardframework.commons.utils.ArrayUtils
Removes the first occurrence of the specified element from the specified array.
removeElement(byte[], byte) - Static method in class org.bardframework.commons.utils.ArrayUtils
Removes the first occurrence of the specified element from the specified array.
removeElement(char[], char) - Static method in class org.bardframework.commons.utils.ArrayUtils
Removes the first occurrence of the specified element from the specified array.
removeElement(double[], double) - Static method in class org.bardframework.commons.utils.ArrayUtils
Removes the first occurrence of the specified element from the specified array.
removeElement(float[], float) - Static method in class org.bardframework.commons.utils.ArrayUtils
Removes the first occurrence of the specified element from the specified array.
removeElement(int[], int) - Static method in class org.bardframework.commons.utils.ArrayUtils
Removes the first occurrence of the specified element from the specified array.
removeElement(long[], long) - Static method in class org.bardframework.commons.utils.ArrayUtils
Removes the first occurrence of the specified element from the specified array.
removeElement(short[], short) - Static method in class org.bardframework.commons.utils.ArrayUtils
Removes the first occurrence of the specified element from the specified array.
removeElements(T[], T...) - Static method in class org.bardframework.commons.utils.ArrayUtils
Removes occurrences of specified elements, in specified quantities, from the specified array.
removeElements(byte[], byte...) - Static method in class org.bardframework.commons.utils.ArrayUtils
Removes occurrences of specified elements, in specified quantities, from the specified array.
removeElements(short[], short...) - Static method in class org.bardframework.commons.utils.ArrayUtils
Removes occurrences of specified elements, in specified quantities, from the specified array.
removeElements(int[], int...) - Static method in class org.bardframework.commons.utils.ArrayUtils
Removes occurrences of specified elements, in specified quantities, from the specified array.
removeElements(char[], char...) - Static method in class org.bardframework.commons.utils.ArrayUtils
Removes occurrences of specified elements, in specified quantities, from the specified array.
removeElements(long[], long...) - Static method in class org.bardframework.commons.utils.ArrayUtils
Removes occurrences of specified elements, in specified quantities, from the specified array.
removeElements(float[], float...) - Static method in class org.bardframework.commons.utils.ArrayUtils
Removes occurrences of specified elements, in specified quantities, from the specified array.
removeElements(double[], double...) - Static method in class org.bardframework.commons.utils.ArrayUtils
Removes occurrences of specified elements, in specified quantities, from the specified array.
removeElements(boolean[], boolean...) - Static method in class org.bardframework.commons.utils.ArrayUtils
Removes occurrences of specified elements, in specified quantities, from the specified array.
removeEnd(String, String) - Static method in class org.bardframework.commons.utils.StringUtils
Removes a substring only if it is at the end of a source string, otherwise returns the source string.
removeEndIgnoreCase(String, String) - Static method in class org.bardframework.commons.utils.StringUtils
Case insensitive removal of a substring if it is at the end of a source string, otherwise returns the source string.
removeExtension(String) - Static method in class org.bardframework.commons.utils.FileUtils
Gets the file name without the extension
removeIgnoreCase(String, String) - Static method in class org.bardframework.commons.utils.StringUtils
Case insensitive removal of all occurrences of a substring from within the source string.
removeNonDigitCharacters(String) - Static method in class org.bardframework.commons.utils.StringUtils
remove all non-digit character (not minus in start if string '-') form string
removeStart(String, String) - Static method in class org.bardframework.commons.utils.StringUtils
Removes a substring only if it is at the beginning of a source string, otherwise returns the source string.
removeStartIgnoreCase(String, String) - Static method in class org.bardframework.commons.utils.StringUtils
Case insensitive removal of a substring if it is at the beginning of a source string, otherwise returns the source string.
repeat(String, int) - Static method in class org.bardframework.commons.utils.StringUtils
Repeat a String repeat times to form a new String.
repeat(String, String, int) - Static method in class org.bardframework.commons.utils.StringUtils
Repeat a String repeat times to form a new String, with a String separator injected each time.
repeat(char, int) - Static method in class org.bardframework.commons.utils.StringUtils
Returns padding using the specified delimiter repeated to a given length.
replace(String, String, String) - Static method in class org.bardframework.commons.utils.StringUtils
Replaces all occurrences of a String within another String.
replace(String, String, String, int) - Static method in class org.bardframework.commons.utils.StringUtils
Replaces a String with another String inside a larger String, for the first max values of the search String.
replaceChars(String, char, char) - Static method in class org.bardframework.commons.utils.StringUtils
Replaces all occurrences of a character in a String with another.
replaceChars(String, String, String) - Static method in class org.bardframework.commons.utils.StringUtils
Replaces multiple characters in a String in one go.
replaceEach(String, String[], String[]) - Static method in class org.bardframework.commons.utils.StringUtils
Replaces all occurrences of Strings within another String.
replaceEachRepeatedly(String, String[], String[]) - Static method in class org.bardframework.commons.utils.StringUtils
Replaces all occurrences of Strings within another String.
replaceIgnoreCase(String, String, String) - Static method in class org.bardframework.commons.utils.StringUtils
Case insensitively replaces all occurrences of a String within another String.
replaceIgnoreCase(String, String, String, int) - Static method in class org.bardframework.commons.utils.StringUtils
Case insensitively replaces a String with another String inside a larger String, for the first max values of the search String.
replaceOnce(String, String, String) - Static method in class org.bardframework.commons.utils.StringUtils
Replaces a String with another String inside a larger String, once.
replaceOnceIgnoreCase(String, String, String) - Static method in class org.bardframework.commons.utils.StringUtils
Case insensitively replaces a String with another String inside a larger String, once.
resize(BufferedImage, int) - Static method in class org.bardframework.commons.utils.ImageUtils
resize image, keep aspect ratio
resize(BufferedImage, int, int) - Static method in class org.bardframework.commons.utils.ImageUtils
 
resourceToByteArray(String) - Static method in class org.bardframework.commons.utils.IOUtils
Gets the contents of a classpath resource as a byte array.
resourceToByteArray(String, ClassLoader) - Static method in class org.bardframework.commons.utils.IOUtils
Gets the contents of a classpath resource as a byte array.
resourceToString(String, Charset) - Static method in class org.bardframework.commons.utils.IOUtils
Gets the contents of a classpath resource as a String using the specified character encoding.
resourceToString(String, Charset, ClassLoader) - Static method in class org.bardframework.commons.utils.IOUtils
Gets the contents of a classpath resource as a String using the specified character encoding.
resourceToURL(String) - Static method in class org.bardframework.commons.utils.IOUtils
Gets a URL pointing to the given classpath resource.
resourceToURL(String, ClassLoader) - Static method in class org.bardframework.commons.utils.IOUtils
Gets a URL pointing to the given classpath resource.
reverse(Object[]) - Static method in class org.bardframework.commons.utils.ArrayUtils
Reverses the order of the given array.
reverse(long[]) - Static method in class org.bardframework.commons.utils.ArrayUtils
Reverses the order of the given array.
reverse(int[]) - Static method in class org.bardframework.commons.utils.ArrayUtils
Reverses the order of the given array.
reverse(short[]) - Static method in class org.bardframework.commons.utils.ArrayUtils
Reverses the order of the given array.
reverse(char[]) - Static method in class org.bardframework.commons.utils.ArrayUtils
Reverses the order of the given array.
reverse(byte[]) - Static method in class org.bardframework.commons.utils.ArrayUtils
Reverses the order of the given array.
reverse(double[]) - Static method in class org.bardframework.commons.utils.ArrayUtils
Reverses the order of the given array.
reverse(float[]) - Static method in class org.bardframework.commons.utils.ArrayUtils
Reverses the order of the given array.
reverse(boolean[]) - Static method in class org.bardframework.commons.utils.ArrayUtils
Reverses the order of the given array.
reverse(boolean[], int, int) - Static method in class org.bardframework.commons.utils.ArrayUtils
Reverses the order of the given array in the given range.
reverse(byte[], int, int) - Static method in class org.bardframework.commons.utils.ArrayUtils
Reverses the order of the given array in the given range.
reverse(char[], int, int) - Static method in class org.bardframework.commons.utils.ArrayUtils
Reverses the order of the given array in the given range.
reverse(double[], int, int) - Static method in class org.bardframework.commons.utils.ArrayUtils
Reverses the order of the given array in the given range.
reverse(float[], int, int) - Static method in class org.bardframework.commons.utils.ArrayUtils
Reverses the order of the given array in the given range.
reverse(int[], int, int) - Static method in class org.bardframework.commons.utils.ArrayUtils
Reverses the order of the given array in the given range.
reverse(long[], int, int) - Static method in class org.bardframework.commons.utils.ArrayUtils
Reverses the order of the given array in the given range.
reverse(Object[], int, int) - Static method in class org.bardframework.commons.utils.ArrayUtils
Reverses the order of the given array in the given range.
reverse(short[], int, int) - Static method in class org.bardframework.commons.utils.ArrayUtils
Reverses the order of the given array in the given range.
reverse(String) - Static method in class org.bardframework.commons.utils.StringUtils
Reverses a String as per StringBuilder.reverse().
reverseDelimited(String, char) - Static method in class org.bardframework.commons.utils.StringUtils
Reverses a String that is delimited by a specific character.
right(String, int) - Static method in class org.bardframework.commons.utils.StringUtils
Gets the rightmost len characters of a String.
rightPad(String, int) - Static method in class org.bardframework.commons.utils.StringUtils
Right pad a String with spaces (' ').
rightPad(String, int, char) - Static method in class org.bardframework.commons.utils.StringUtils
Right pad a String with a specified character.
rightPad(String, int, String) - Static method in class org.bardframework.commons.utils.StringUtils
Right pad a String with a specified String.
rotate(String, int) - Static method in class org.bardframework.commons.utils.StringUtils
Rotate (circular shift) a String of shift characters.

S

SerializationUtils - Class in org.bardframework.commons.utils
 
serialize(Serializable) - Static method in class org.bardframework.commons.utils.SerializationUtils
 
serialize(Serializable, OutputStream) - Static method in class org.bardframework.commons.utils.SerializationUtils
 
serializeAndEncodeObject(Serializable) - Static method in class org.bardframework.commons.utils.SerializationUtils
 
sha(String) - Static method in class org.bardframework.commons.utils.DigestUtils
 
sha(byte[]) - Static method in class org.bardframework.commons.utils.DigestUtils
 
sha512(String) - Static method in class org.bardframework.commons.utils.DigestUtils
 
shift(Object[], int) - Static method in class org.bardframework.commons.utils.ArrayUtils
Shifts the order of the given array.
shift(long[], int) - Static method in class org.bardframework.commons.utils.ArrayUtils
Shifts the order of the given long array.
shift(int[], int) - Static method in class org.bardframework.commons.utils.ArrayUtils
Shifts the order of the given int array.
shift(short[], int) - Static method in class org.bardframework.commons.utils.ArrayUtils
Shifts the order of the given short array.
shift(char[], int) - Static method in class org.bardframework.commons.utils.ArrayUtils
Shifts the order of the given char array.
shift(byte[], int) - Static method in class org.bardframework.commons.utils.ArrayUtils
Shifts the order of the given byte array.
shift(double[], int) - Static method in class org.bardframework.commons.utils.ArrayUtils
Shifts the order of the given double array.
shift(float[], int) - Static method in class org.bardframework.commons.utils.ArrayUtils
Shifts the order of the given float array.
shift(boolean[], int) - Static method in class org.bardframework.commons.utils.ArrayUtils
Shifts the order of the given boolean array.
shift(boolean[], int, int, int) - Static method in class org.bardframework.commons.utils.ArrayUtils
Shifts the order of a series of elements in the given boolean array.
shift(byte[], int, int, int) - Static method in class org.bardframework.commons.utils.ArrayUtils
Shifts the order of a series of elements in the given byte array.
shift(char[], int, int, int) - Static method in class org.bardframework.commons.utils.ArrayUtils
Shifts the order of a series of elements in the given char array.
shift(double[], int, int, int) - Static method in class org.bardframework.commons.utils.ArrayUtils
Shifts the order of a series of elements in the given double array.
shift(float[], int, int, int) - Static method in class org.bardframework.commons.utils.ArrayUtils
Shifts the order of a series of elements in the given float array.
shift(int[], int, int, int) - Static method in class org.bardframework.commons.utils.ArrayUtils
Shifts the order of a series of elements in the given int array.
shift(long[], int, int, int) - Static method in class org.bardframework.commons.utils.ArrayUtils
Shifts the order of a series of elements in the given long array.
shift(Object[], int, int, int) - Static method in class org.bardframework.commons.utils.ArrayUtils
Shifts the order of a series of elements in the given array.
shift(short[], int, int, int) - Static method in class org.bardframework.commons.utils.ArrayUtils
Shifts the order of a series of elements in the given short array.
shuffle(Object[]) - Static method in class org.bardframework.commons.utils.ArrayUtils
Randomly permutes the elements of the specified array using the Fisher-Yates algorithm.
shuffle(Object[], Random) - Static method in class org.bardframework.commons.utils.ArrayUtils
Randomly permutes the elements of the specified array using the Fisher-Yates algorithm.
shuffle(boolean[]) - Static method in class org.bardframework.commons.utils.ArrayUtils
Randomly permutes the elements of the specified array using the Fisher-Yates algorithm.
shuffle(boolean[], Random) - Static method in class org.bardframework.commons.utils.ArrayUtils
Randomly permutes the elements of the specified array using the Fisher-Yates algorithm.
shuffle(byte[]) - Static method in class org.bardframework.commons.utils.ArrayUtils
Randomly permutes the elements of the specified array using the Fisher-Yates algorithm.
shuffle(byte[], Random) - Static method in class org.bardframework.commons.utils.ArrayUtils
Randomly permutes the elements of the specified array using the Fisher-Yates algorithm.
shuffle(char[]) - Static method in class org.bardframework.commons.utils.ArrayUtils
Randomly permutes the elements of the specified array using the Fisher-Yates algorithm.
shuffle(char[], Random) - Static method in class org.bardframework.commons.utils.ArrayUtils
Randomly permutes the elements of the specified array using the Fisher-Yates algorithm.
shuffle(short[]) - Static method in class org.bardframework.commons.utils.ArrayUtils
Randomly permutes the elements of the specified array using the Fisher-Yates algorithm.
shuffle(short[], Random) - Static method in class org.bardframework.commons.utils.ArrayUtils
Randomly permutes the elements of the specified array using the Fisher-Yates algorithm.
shuffle(int[]) - Static method in class org.bardframework.commons.utils.ArrayUtils
Randomly permutes the elements of the specified array using the Fisher-Yates algorithm.
shuffle(int[], Random) - Static method in class org.bardframework.commons.utils.ArrayUtils
Randomly permutes the elements of the specified array using the Fisher-Yates algorithm.
shuffle(long[]) - Static method in class org.bardframework.commons.utils.ArrayUtils
Randomly permutes the elements of the specified array using the Fisher-Yates algorithm.
shuffle(long[], Random) - Static method in class org.bardframework.commons.utils.ArrayUtils
Randomly permutes the elements of the specified array using the Fisher-Yates algorithm.
shuffle(float[]) - Static method in class org.bardframework.commons.utils.ArrayUtils
Randomly permutes the elements of the specified array using the Fisher-Yates algorithm.
shuffle(float[], Random) - Static method in class org.bardframework.commons.utils.ArrayUtils
Randomly permutes the elements of the specified array using the Fisher-Yates algorithm.
shuffle(double[]) - Static method in class org.bardframework.commons.utils.ArrayUtils
Randomly permutes the elements of the specified array using the Fisher-Yates algorithm.
shuffle(double[], Random) - Static method in class org.bardframework.commons.utils.ArrayUtils
Randomly permutes the elements of the specified array using the Fisher-Yates algorithm.
sizeOf(File) - Static method in class org.bardframework.commons.utils.FileUtils
Returns the size of the specified file or directory.
sizeOfAsBigInteger(File) - Static method in class org.bardframework.commons.utils.FileUtils
Returns the size of the specified file or directory.
sizeOfDirectory(File) - Static method in class org.bardframework.commons.utils.FileUtils
Counts the size of a directory recursively (sum of the length of all files).
sizeOfDirectoryAsBigInteger(File) - Static method in class org.bardframework.commons.utils.FileUtils
Counts the size of a directory recursively (sum of the length of all files).
skip(InputStream, long) - Static method in class org.bardframework.commons.utils.IOUtils
Skips bytes from an input byte stream.
skip(ReadableByteChannel, long) - Static method in class org.bardframework.commons.utils.IOUtils
Skips bytes from a ReadableByteChannel.
skip(Reader, long) - Static method in class org.bardframework.commons.utils.IOUtils
Skips characters from an input character stream.
skipFully(InputStream, long) - Static method in class org.bardframework.commons.utils.IOUtils
Skips the requested number of bytes or fail if there are not enough left.
skipFully(ReadableByteChannel, long) - Static method in class org.bardframework.commons.utils.IOUtils
Skips the requested number of bytes or fail if there are not enough left.
skipFully(Reader, long) - Static method in class org.bardframework.commons.utils.IOUtils
Skips the requested number of characters or fail if there are not enough left.
sortStringArray(String[]) - Static method in class org.bardframework.commons.utils.StringUtils
Sort the given String array if necessary.
SPACE - Static variable in class org.bardframework.commons.utils.StringUtils
 
SPACE_CHAR - Static variable in class org.bardframework.commons.utils.StringUtils
 
split(String) - Static method in class org.bardframework.commons.utils.StringUtils
Splits the provided text into an array, using whitespace as the separator.
split(String, char) - Static method in class org.bardframework.commons.utils.StringUtils
Splits the provided text into an array, separator specified.
split(String, String) - Static method in class org.bardframework.commons.utils.StringUtils
Splits the provided text into an array, separators specified.
split(String, String, int) - Static method in class org.bardframework.commons.utils.StringUtils
Splits the provided text into an array with a maximum length, separators specified.
splitArrayElementsIntoProperties(String[], String) - Static method in class org.bardframework.commons.utils.StringUtils
Take an array of strings and split each element based on the given delimiter.
splitArrayElementsIntoProperties(String[], String, String) - Static method in class org.bardframework.commons.utils.StringUtils
Take an array of strings and split each element based on the given delimiter.
splitByCharacterType(String) - Static method in class org.bardframework.commons.utils.StringUtils
Splits a String by Character type as returned by java.lang.Character.getType(char).
splitByCharacterTypeCamelCase(String) - Static method in class org.bardframework.commons.utils.StringUtils
Splits a String by Character type as returned by java.lang.Character.getType(char).
splitByWholeSeparator(String, String) - Static method in class org.bardframework.commons.utils.StringUtils
Splits the provided text into an array, separator string specified.
splitByWholeSeparator(String, String, int) - Static method in class org.bardframework.commons.utils.StringUtils
Splits the provided text into an array, separator string specified.
splitByWholeSeparatorPreserveAllTokens(String, String) - Static method in class org.bardframework.commons.utils.StringUtils
Splits the provided text into an array, separator string specified.
splitByWholeSeparatorPreserveAllTokens(String, String, int) - Static method in class org.bardframework.commons.utils.StringUtils
Splits the provided text into an array, separator string specified.
splitPreserveAllTokens(String) - Static method in class org.bardframework.commons.utils.StringUtils
Splits the provided text into an array, using whitespace as the separator, preserving all tokens, including empty tokens created by adjacent separators.
splitPreserveAllTokens(String, char) - Static method in class org.bardframework.commons.utils.StringUtils
Splits the provided text into an array, separator specified, preserving all tokens, including empty tokens created by adjacent separators.
splitPreserveAllTokens(String, String) - Static method in class org.bardframework.commons.utils.StringUtils
Splits the provided text into an array, separators specified, preserving all tokens, including empty tokens created by adjacent separators.
splitPreserveAllTokens(String, String, int) - Static method in class org.bardframework.commons.utils.StringUtils
Splits the provided text into an array with a maximum length, separators specified, preserving all tokens, including empty tokens created by adjacent separators.
startsWith(CharSequence, CharSequence) - Static method in class org.bardframework.commons.utils.StringUtils
Check if a CharSequence starts with a specified prefix.
startsWithAny(CharSequence, CharSequence...) - Static method in class org.bardframework.commons.utils.StringUtils
Check if a CharSequence starts with any of the provided case-sensitive prefixes.
startsWithIgnoreCase(String, String) - Static method in class org.bardframework.commons.utils.StringUtils
Test if the given String starts with the specified prefix, ignoring upper/lower case.
startsWithIgnoreCase(CharSequence, CharSequence) - Static method in class org.bardframework.commons.utils.StringUtils
Case insensitive check if a CharSequence starts with a specified prefix.
state(boolean, String) - Static method in class org.bardframework.commons.utils.AssertionUtils
Assert a boolean expression, throwing an IllegalStateException if the expression evaluates to false.
state(boolean, Supplier<String>) - Static method in class org.bardframework.commons.utils.AssertionUtils
Assert a boolean expression, throwing an IllegalStateException if the expression evaluates to false.
StringUtils - Class in org.bardframework.commons.utils
Created by vahid (va.zafari@gmail.com) on 10/30/17.
StringUtils() - Constructor for class org.bardframework.commons.utils.StringUtils
 
strip(String) - Static method in class org.bardframework.commons.utils.StringUtils
Strips whitespace from the start and end of a String.
strip(String, String) - Static method in class org.bardframework.commons.utils.StringUtils
Strips any of a set of characters from the start and end of a String.
stripAccents(String) - Static method in class org.bardframework.commons.utils.StringUtils
Removes diacritics (~= accents) from a string.
stripAll(String...) - Static method in class org.bardframework.commons.utils.StringUtils
Strips whitespace from the start and end of every String in an array.
stripAll(String[], String) - Static method in class org.bardframework.commons.utils.StringUtils
Strips any of a set of characters from the start and end of every String in an array.
stripEnd(String, String) - Static method in class org.bardframework.commons.utils.StringUtils
Strips any of a set of characters from the end of a String.
stripFilenameExtension(String) - Static method in class org.bardframework.commons.utils.StringUtils
Strip the filename extension from the given Java resource path, e.g.
stripStart(String, String) - Static method in class org.bardframework.commons.utils.StringUtils
Strips any of a set of characters from the start of a String.
stripToEmpty(String) - Static method in class org.bardframework.commons.utils.StringUtils
Strips whitespace from the start and end of a String returning an empty String if null input.
stripToNull(String) - Static method in class org.bardframework.commons.utils.StringUtils
Strips whitespace from the start and end of a String returning null if the String is empty ("") after the strip.
subarray(T[], int, int) - Static method in class org.bardframework.commons.utils.ArrayUtils
Produces a new array containing the elements between the start and end indices.
subarray(long[], int, int) - Static method in class org.bardframework.commons.utils.ArrayUtils
Produces a new long array containing the elements between the start and end indices.
subarray(int[], int, int) - Static method in class org.bardframework.commons.utils.ArrayUtils
Produces a new int array containing the elements between the start and end indices.
subarray(short[], int, int) - Static method in class org.bardframework.commons.utils.ArrayUtils
Produces a new short array containing the elements between the start and end indices.
subarray(char[], int, int) - Static method in class org.bardframework.commons.utils.ArrayUtils
Produces a new char array containing the elements between the start and end indices.
subarray(byte[], int, int) - Static method in class org.bardframework.commons.utils.ArrayUtils
Produces a new byte array containing the elements between the start and end indices.
subarray(double[], int, int) - Static method in class org.bardframework.commons.utils.ArrayUtils
Produces a new double array containing the elements between the start and end indices.
subarray(float[], int, int) - Static method in class org.bardframework.commons.utils.ArrayUtils
Produces a new float array containing the elements between the start and end indices.
subarray(boolean[], int, int) - Static method in class org.bardframework.commons.utils.ArrayUtils
Produces a new boolean array containing the elements between the start and end indices.
subSequence(CharSequence, int) - Static method in class org.bardframework.commons.utils.CharSequenceUtils
Returns a new CharSequence that is a subsequence of this sequence starting with the char value at the specified index.
substring(String, int) - Static method in class org.bardframework.commons.utils.StringUtils
Gets a substring from the specified String avoiding exceptions.
substring(String, int, int) - Static method in class org.bardframework.commons.utils.StringUtils
Gets a substring from the specified String avoiding exceptions.
substringAfter(String, String) - Static method in class org.bardframework.commons.utils.StringUtils
Gets the substring after the first occurrence of a separator.
substringAfterLast(String, String) - Static method in class org.bardframework.commons.utils.StringUtils
Gets the substring after the last occurrence of a separator.
substringBefore(String, String) - Static method in class org.bardframework.commons.utils.StringUtils
Gets the substring before the first occurrence of a separator.
substringBeforeLast(String, String) - Static method in class org.bardframework.commons.utils.StringUtils
Gets the substring before the last occurrence of a separator.
substringBetween(String, String) - Static method in class org.bardframework.commons.utils.StringUtils
Gets the String that is nested in between two instances of the same String.
substringBetween(String, String, String) - Static method in class org.bardframework.commons.utils.StringUtils
Gets the String that is nested in between two Strings.
substringMatch(CharSequence, int, CharSequence) - Static method in class org.bardframework.commons.utils.StringUtils
Test whether the given string matches the given substring at the given index.
substringsBetween(String, String, String) - Static method in class org.bardframework.commons.utils.StringUtils
Searches a String for substrings delimited by a start and end tag, returning all matching substrings in an array.
subtract(Fraction) - Method in class org.bardframework.commons.utils.Fraction
Subtracts the value of another fraction from the value of this one, returning the result in reduced form.
swap(Object[], int, int) - Static method in class org.bardframework.commons.utils.ArrayUtils
Swaps two elements in the given array.
swap(long[], int, int) - Static method in class org.bardframework.commons.utils.ArrayUtils
Swaps two elements in the given long array.
swap(int[], int, int) - Static method in class org.bardframework.commons.utils.ArrayUtils
Swaps two elements in the given int array.
swap(short[], int, int) - Static method in class org.bardframework.commons.utils.ArrayUtils
Swaps two elements in the given short array.
swap(char[], int, int) - Static method in class org.bardframework.commons.utils.ArrayUtils
Swaps two elements in the given char array.
swap(byte[], int, int) - Static method in class org.bardframework.commons.utils.ArrayUtils
Swaps two elements in the given byte array.
swap(double[], int, int) - Static method in class org.bardframework.commons.utils.ArrayUtils
Swaps two elements in the given double array.
swap(float[], int, int) - Static method in class org.bardframework.commons.utils.ArrayUtils
Swaps two elements in the given float array.
swap(boolean[], int, int) - Static method in class org.bardframework.commons.utils.ArrayUtils
Swaps two elements in the given boolean array.
swap(boolean[], int, int, int) - Static method in class org.bardframework.commons.utils.ArrayUtils
Swaps a series of elements in the given boolean array.
swap(byte[], int, int, int) - Static method in class org.bardframework.commons.utils.ArrayUtils
Swaps a series of elements in the given byte array.
swap(char[], int, int, int) - Static method in class org.bardframework.commons.utils.ArrayUtils
Swaps a series of elements in the given char array.
swap(double[], int, int, int) - Static method in class org.bardframework.commons.utils.ArrayUtils
Swaps a series of elements in the given double array.
swap(float[], int, int, int) - Static method in class org.bardframework.commons.utils.ArrayUtils
Swaps a series of elements in the given float array.
swap(int[], int, int, int) - Static method in class org.bardframework.commons.utils.ArrayUtils
Swaps a series of elements in the given int array.
swap(long[], int, int, int) - Static method in class org.bardframework.commons.utils.ArrayUtils
Swaps a series of elements in the given long array.
swap(Object[], int, int, int) - Static method in class org.bardframework.commons.utils.ArrayUtils
Swaps a series of elements in the given array.
swap(short[], int, int, int) - Static method in class org.bardframework.commons.utils.ArrayUtils
Swaps a series of elements in the given short array.
swapCase(String) - Static method in class org.bardframework.commons.utils.StringUtils
Swaps the case of a String changing upper and title case to lower case, and lower case to upper case.

T

THREE_FIFTHS - Static variable in class org.bardframework.commons.utils.Fraction
Fraction representation of 3/5.
THREE_QUARTERS - Static variable in class org.bardframework.commons.utils.Fraction
Fraction representation of 3/4.
toArray(T...) - Static method in class org.bardframework.commons.utils.ArrayUtils
Create a type-safe generic array.
toArray(Enumeration<E>, A[]) - Static method in class org.bardframework.commons.utils.CollectionUtils
Marshal the elements from the given enumeration into an array of the given type.
toBufferedReader(Reader) - Static method in class org.bardframework.commons.utils.IOUtils
Returns the given reader if it is a BufferedReader, otherwise creates a BufferedReader from the given reader.
toBufferedReader(Reader, int) - Static method in class org.bardframework.commons.utils.IOUtils
Returns the given reader if it is a BufferedReader, otherwise creates a BufferedReader from the given reader.
toByteArray(InputStream) - Static method in class org.bardframework.commons.utils.IOUtils
Gets the contents of an InputStream as a byte[].
toByteArray(InputStream, long) - Static method in class org.bardframework.commons.utils.IOUtils
Gets contents of an InputStream as a byte[].
toByteArray(InputStream, int) - Static method in class org.bardframework.commons.utils.IOUtils
Gets the contents of an InputStream as a byte[].
toByteArray(Reader, Charset) - Static method in class org.bardframework.commons.utils.IOUtils
Gets the contents of a Reader as a byte[] using the specified character encoding.
toByteArray(Reader, String) - Static method in class org.bardframework.commons.utils.IOUtils
Gets the contents of a Reader as a byte[] using the specified character encoding.
toByteArray(URI) - Static method in class org.bardframework.commons.utils.IOUtils
Gets the contents of a URI as a byte[].
toByteArray(URL) - Static method in class org.bardframework.commons.utils.IOUtils
Gets the contents of a URL as a byte[].
toByteArray(URLConnection) - Static method in class org.bardframework.commons.utils.IOUtils
Gets the contents of a URLConnection as a byte[].
toChar(Character) - Static method in class org.bardframework.commons.utils.CharUtils
Converts the Character to a char throwing an exception for null.
toChar(Character, char) - Static method in class org.bardframework.commons.utils.CharUtils
Converts the Character to a char handling null.
toChar(String) - Static method in class org.bardframework.commons.utils.CharUtils
Converts the String to a char using the first character, throwing an exception on empty Strings.
toChar(String, char) - Static method in class org.bardframework.commons.utils.CharUtils
Converts the String to a char using the first character, defaulting the value on empty Strings.
toCharacterObject(String) - Static method in class org.bardframework.commons.utils.CharUtils
Converts the String to a Character using the first character, returning null for empty Strings.
toCharArray(InputStream, Charset) - Static method in class org.bardframework.commons.utils.IOUtils
Gets the contents of an InputStream as a character array using the specified character encoding.
toCharArray(InputStream, String) - Static method in class org.bardframework.commons.utils.IOUtils
Gets the contents of an InputStream as a character array using the specified character encoding.
toCharArray(Reader) - Static method in class org.bardframework.commons.utils.IOUtils
Gets the contents of a Reader as a character array.
toCharset(String) - Static method in class org.bardframework.commons.utils.CharsetUtils
Returns a Charset for the named charset.
toCharset(Charset) - Static method in class org.bardframework.commons.utils.CharsetUtils
Returns the given Charset or the default Charset if the given Charset is null.
toChronoUnit(TimeUnit) - Static method in class org.bardframework.commons.utils.DateTimeUtils
 
toCodePoints(CharSequence) - Static method in class org.bardframework.commons.utils.StringUtils
Converts a CharSequence into an array of code points.
toEncodedString(byte[], Charset) - Static method in class org.bardframework.commons.utils.StringUtils
Converts a byte[] to a String using the specified character encoding.
toEpochMills(LocalDate) - Static method in class org.bardframework.commons.utils.DateTimeUtils
calculate milliseconds past from the epoch of 1970-01-01T00:00:00Z.
toEpochMills(LocalDateTime) - Static method in class org.bardframework.commons.utils.DateTimeUtils
calculatee milliseconds past from the epoch of 1970-01-01T00:00:00Z.
toEpochMills(OffsetDateTime) - Static method in class org.bardframework.commons.utils.DateTimeUtils
 
toFile(URL) - Static method in class org.bardframework.commons.utils.FileUtils
Convert from a URL to a File.
toFiles(URL...) - Static method in class org.bardframework.commons.utils.FileUtils
Converts each of an array of URL to a File.
toInputStream(CharSequence, Charset) - Static method in class org.bardframework.commons.utils.IOUtils
Converts the specified CharSequence to an input stream, encoded as bytes using the specified character encoding.
toInputStream(CharSequence, String) - Static method in class org.bardframework.commons.utils.IOUtils
Converts the specified CharSequence to an input stream, encoded as bytes using the specified character encoding.
toInputStream(String, Charset) - Static method in class org.bardframework.commons.utils.IOUtils
Converts the specified string to an input stream, encoded as bytes using the specified character encoding.
toInputStream(String, String) - Static method in class org.bardframework.commons.utils.IOUtils
Converts the specified string to an input stream, encoded as bytes using the specified character encoding.
toInt(String, int) - Static method in class org.bardframework.commons.utils.NumberUtils
Convert a String to a int, returning a default value if the conversion fails.
toIntValue(char) - Static method in class org.bardframework.commons.utils.CharUtils
Converts the character to the Integer it represents, throwing an exception if the character is not numeric.
toIntValue(char, int) - Static method in class org.bardframework.commons.utils.CharUtils
Converts the character to the Integer it represents, throwing an exception if the character is not numeric.
toIntValue(Character) - Static method in class org.bardframework.commons.utils.CharUtils
Converts the character to the Integer it represents, throwing an exception if the character is not numeric.
toIntValue(Character, int) - Static method in class org.bardframework.commons.utils.CharUtils
Converts the character to the Integer it represents, throwing an exception if the character is not numeric.
tokenizeToStringArray(String, String) - Static method in class org.bardframework.commons.utils.StringUtils
Tokenize the given String into a String array via a StringTokenizer.
tokenizeToStringArray(String, String, boolean, boolean) - Static method in class org.bardframework.commons.utils.StringUtils
Tokenize the given String into a String array via a StringTokenizer.
toLocalString(LocalDateTime) - Static method in class org.bardframework.commons.utils.DateTimeUtils
convert date to string divided by '/'
toLocalString(LocalDate) - Static method in class org.bardframework.commons.utils.DateTimeUtils
convert date to string divided by '/'
toLong(String, long) - Static method in class org.bardframework.commons.utils.NumberUtils
Convert a String to a long, returning a default value if the conversion fails.
toMap(Object[]) - Static method in class org.bardframework.commons.utils.ArrayUtils
Converts the given array into a Map.
toObject(char[]) - Static method in class org.bardframework.commons.utils.ArrayUtils
Converts an array of primitive chars to objects.
toObject(long[]) - Static method in class org.bardframework.commons.utils.ArrayUtils
Converts an array of primitive longs to objects.
toObject(int[]) - Static method in class org.bardframework.commons.utils.ArrayUtils
Converts an array of primitive ints to objects.
toObject(short[]) - Static method in class org.bardframework.commons.utils.ArrayUtils
Converts an array of primitive shorts to objects.
toObject(byte[]) - Static method in class org.bardframework.commons.utils.ArrayUtils
Converts an array of primitive bytes to objects.
toObject(double[]) - Static method in class org.bardframework.commons.utils.ArrayUtils
Converts an array of primitive doubles to objects.
toObject(float[]) - Static method in class org.bardframework.commons.utils.ArrayUtils
Converts an array of primitive floats to objects.
toObject(boolean[]) - Static method in class org.bardframework.commons.utils.ArrayUtils
Converts an array of primitive booleans to objects.
toObjectArray(Object) - Static method in class org.bardframework.commons.utils.ObjectUtils
Convert the given array (which may be a primitive array) to an object array (if necessary of primitive wrapper objects).
toPrimitive(Character[]) - Static method in class org.bardframework.commons.utils.ArrayUtils
Converts an array of object Characters to primitives.
toPrimitive(Character[], char) - Static method in class org.bardframework.commons.utils.ArrayUtils
Converts an array of object Character to primitives handling null.
toPrimitive(Long[]) - Static method in class org.bardframework.commons.utils.ArrayUtils
Converts an array of object Longs to primitives.
toPrimitive(Long[], long) - Static method in class org.bardframework.commons.utils.ArrayUtils
Converts an array of object Long to primitives handling null.
toPrimitive(Integer[]) - Static method in class org.bardframework.commons.utils.ArrayUtils
Converts an array of object Integers to primitives.
toPrimitive(Integer[], int) - Static method in class org.bardframework.commons.utils.ArrayUtils
Converts an array of object Integer to primitives handling null.
toPrimitive(Short[]) - Static method in class org.bardframework.commons.utils.ArrayUtils
Converts an array of object Shorts to primitives.
toPrimitive(Short[], short) - Static method in class org.bardframework.commons.utils.ArrayUtils
Converts an array of object Short to primitives handling null.
toPrimitive(Byte[]) - Static method in class org.bardframework.commons.utils.ArrayUtils
Converts an array of object Bytes to primitives.
toPrimitive(Byte[], byte) - Static method in class org.bardframework.commons.utils.ArrayUtils
Converts an array of object Bytes to primitives handling null.
toPrimitive(Double[]) - Static method in class org.bardframework.commons.utils.ArrayUtils
Converts an array of object Doubles to primitives.
toPrimitive(Double[], double) - Static method in class org.bardframework.commons.utils.ArrayUtils
Converts an array of object Doubles to primitives handling null.
toPrimitive(Float[]) - Static method in class org.bardframework.commons.utils.ArrayUtils
Converts an array of object Floats to primitives.
toPrimitive(Float[], float) - Static method in class org.bardframework.commons.utils.ArrayUtils
Converts an array of object Floats to primitives handling null.
toPrimitive(Boolean[]) - Static method in class org.bardframework.commons.utils.ArrayUtils
Converts an array of object Booleans to primitives.
toPrimitive(Boolean[], boolean) - Static method in class org.bardframework.commons.utils.ArrayUtils
Converts an array of object Booleans to primitives handling null.
toProperString() - Method in class org.bardframework.commons.utils.Fraction
Gets the fraction as a proper String in the format X Y/Z.
toSet(T...) - Static method in class org.bardframework.commons.utils.CollectionUtils
 
toString(char) - Static method in class org.bardframework.commons.utils.CharUtils
Converts the character to a String that contains the one character.
toString(Character) - Static method in class org.bardframework.commons.utils.CharUtils
Converts the character to a String that contains the one character.
toString() - Method in class org.bardframework.commons.utils.Fraction
Gets the fraction as a String.
toString(InputStream, Charset) - Static method in class org.bardframework.commons.utils.IOUtils
Gets the contents of an InputStream as a String using the specified character encoding.
toString(InputStream, String) - Static method in class org.bardframework.commons.utils.IOUtils
Gets the contents of an InputStream as a String using the specified character encoding.
toString(Reader) - Static method in class org.bardframework.commons.utils.IOUtils
Gets the contents of a Reader as a String.
toString(URI, Charset) - Static method in class org.bardframework.commons.utils.IOUtils
Gets the contents at the given URI.
toString(URI, String) - Static method in class org.bardframework.commons.utils.IOUtils
Gets the contents at the given URI.
toString(URL, Charset) - Static method in class org.bardframework.commons.utils.IOUtils
Gets the contents at the given URL.
toString(URL, String) - Static method in class org.bardframework.commons.utils.IOUtils
Gets the contents at the given URL.
toString(byte[], String) - Static method in class org.bardframework.commons.utils.IOUtils
Gets the contents of a byte[] as a String using the specified character encoding.
toStringArray(Object[]) - Static method in class org.bardframework.commons.utils.ArrayUtils
Returns an array containing the string representation of each element in the argument array.
toStringArray(Object[], String) - Static method in class org.bardframework.commons.utils.ArrayUtils
Returns an array containing the string representation of each element in the argument array handling null elements.
toStringArray(Collection<String>) - Static method in class org.bardframework.commons.utils.StringUtils
Copy the given Collection into a String array.
toStringArray(Enumeration<String>) - Static method in class org.bardframework.commons.utils.StringUtils
Copy the given Enumeration into a String array.
toTimeUnit(ChronoUnit) - Static method in class org.bardframework.commons.utils.DateTimeUtils
 
touch(File) - Static method in class org.bardframework.commons.utils.FileUtils
Implements the same behavior as the "touch" utility on Unix.
toURLs(File...) - Static method in class org.bardframework.commons.utils.FileUtils
Converts each of an array of File to a URL.
trim(String) - Static method in class org.bardframework.commons.utils.StringUtils
Removes control characters (char <= 32) from both ends of this String, handling null by returning null.
trimAllWhitespace(String) - Static method in class org.bardframework.commons.utils.StringUtils
Trim all whitespace from the given String: leading, trailing, and in between characters.
trimArrayElements(String[]) - Static method in class org.bardframework.commons.utils.StringUtils
Trim the elements of the given String array, calling String.trim() on each non-null element.
trimLeadingCharacter(String, char) - Static method in class org.bardframework.commons.utils.StringUtils
Trim all occurrences of the supplied leading character from the given String.
trimLeadingWhitespace(String) - Static method in class org.bardframework.commons.utils.StringUtils
Trim leading whitespace from the given String.
trimToEmpty(String) - Static method in class org.bardframework.commons.utils.StringUtils
Removes control characters (char <= 32) from both ends of this String returning an empty String ("") if the String is empty ("") after the trim or if it is null.
trimToNull(String) - Static method in class org.bardframework.commons.utils.StringUtils
Removes control characters (char <= 32) from both ends of this String returning null if the String is empty ("") after the trim or if it is null.
trimTrailingCharacter(String, char) - Static method in class org.bardframework.commons.utils.StringUtils
Trim all occurrences of the supplied trailing character from the given String.
trimTrailingWhitespace(String) - Static method in class org.bardframework.commons.utils.StringUtils
Trim trailing whitespace from the given String.
trimWhitespace(String) - Static method in class org.bardframework.commons.utils.StringUtils
Trim leading and trailing whitespace from the given String.
truncate(String, int) - Static method in class org.bardframework.commons.utils.StringUtils
Truncates a String.
truncate(String, int, int) - Static method in class org.bardframework.commons.utils.StringUtils
Truncates a String.
TWO_FIFTHS - Static variable in class org.bardframework.commons.utils.Fraction
Fraction representation of 2/5.
TWO_QUARTERS - Static variable in class org.bardframework.commons.utils.Fraction
Fraction representation of 2/4.
TWO_THIRDS - Static variable in class org.bardframework.commons.utils.Fraction
Fraction representation of 2/3.

U

uncapitalize(String) - Static method in class org.bardframework.commons.utils.StringUtils
Uncapitalizes a String, changing the first character to lower case as per Character.toLowerCase(int).
unicodeEscaped(char) - Static method in class org.bardframework.commons.utils.CharUtils
Converts the string to the Unicode format ' '.
unicodeEscaped(Character) - Static method in class org.bardframework.commons.utils.CharUtils
Converts the string to the Unicode format ' '.
unqualify(String) - Static method in class org.bardframework.commons.utils.StringUtils
Unqualify a string qualified by a '.' dot character.
unqualify(String, char) - Static method in class org.bardframework.commons.utils.StringUtils
Unqualify a string qualified by a separator character.
unwrap(String, String) - Static method in class org.bardframework.commons.utils.StringUtils
Unwraps a given string from anther string.
unwrap(String, char) - Static method in class org.bardframework.commons.utils.StringUtils
Unwraps a given string from a character.
unwrapOptional(Object) - Static method in class org.bardframework.commons.utils.ObjectUtils
Unwrap the given object which is potentially a Optional.
upperCase(String) - Static method in class org.bardframework.commons.utils.StringUtils
Converts a String to upper case as per String.toUpperCase().
upperCase(String, Locale) - Static method in class org.bardframework.commons.utils.StringUtils
Converts a String to upper case as per String.toUpperCase(Locale).
uriDecode(String, Charset) - Static method in class org.bardframework.commons.utils.StringUtils
Decode the given encoded URI component value.
urlEncode(String) - Static method in class org.bardframework.commons.utils.EncodingUtils
 
urlEncode(String) - Static method in class org.bardframework.commons.utils.UrlUtils
Url encode a value using UTF-8 encoding.
UrlUtils - Class in org.bardframework.commons.utils
Created by Vahid Zafari on 8/12/2016.

V

valueOf(char[]) - Static method in class org.bardframework.commons.utils.StringUtils
Returns the string representation of the char array or null.

W

waitFor(File, int) - Static method in class org.bardframework.commons.utils.FileUtils
Waits for NFS to propagate a file creation, imposing a timeout.
wrap(String, char) - Static method in class org.bardframework.commons.utils.StringUtils
Wraps a string with a char.
wrap(String, String) - Static method in class org.bardframework.commons.utils.StringUtils
Wraps a String with another String.
wrapIfMissing(String, char) - Static method in class org.bardframework.commons.utils.StringUtils
Wraps a string with a char if that char is missing from the start or end of the given string.
wrapIfMissing(String, String) - Static method in class org.bardframework.commons.utils.StringUtils
Wraps a string with a string if that string is missing from the start or end of the given string.
write(File, CharSequence, Charset) - Static method in class org.bardframework.commons.utils.FileUtils
Writes a CharSequence to a file creating the file if it does not exist.
write(File, CharSequence, Charset, boolean) - Static method in class org.bardframework.commons.utils.FileUtils
Writes a CharSequence to a file creating the file if it does not exist.
write(File, CharSequence, String) - Static method in class org.bardframework.commons.utils.FileUtils
Writes a CharSequence to a file creating the file if it does not exist.
write(File, CharSequence, String, boolean) - Static method in class org.bardframework.commons.utils.FileUtils
Writes a CharSequence to a file creating the file if it does not exist.
write(byte[], OutputStream) - Static method in class org.bardframework.commons.utils.IOUtils
Writes bytes from a byte[] to an OutputStream.
write(byte[], Writer, Charset) - Static method in class org.bardframework.commons.utils.IOUtils
Writes bytes from a byte[] to chars on a Writer using the specified character encoding.
write(byte[], Writer, String) - Static method in class org.bardframework.commons.utils.IOUtils
Writes bytes from a byte[] to chars on a Writer using the specified character encoding.
write(char[], Writer) - Static method in class org.bardframework.commons.utils.IOUtils
Writes chars from a char[] to a Writer
write(char[], OutputStream, Charset) - Static method in class org.bardframework.commons.utils.IOUtils
Writes chars from a char[] to bytes on an OutputStream using the specified character encoding.
write(char[], OutputStream, String) - Static method in class org.bardframework.commons.utils.IOUtils
Writes chars from a char[] to bytes on an OutputStream using the specified character encoding.
write(CharSequence, Writer) - Static method in class org.bardframework.commons.utils.IOUtils
Writes chars from a CharSequence to a Writer.
write(CharSequence, OutputStream, Charset) - Static method in class org.bardframework.commons.utils.IOUtils
Writes chars from a CharSequence to bytes on an OutputStream using the specified character encoding.
write(CharSequence, OutputStream, String) - Static method in class org.bardframework.commons.utils.IOUtils
Writes chars from a CharSequence to bytes on an OutputStream using the specified character encoding.
write(String, Writer) - Static method in class org.bardframework.commons.utils.IOUtils
Writes chars from a String to a Writer.
write(String, OutputStream, Charset) - Static method in class org.bardframework.commons.utils.IOUtils
Writes chars from a String to bytes on an OutputStream using the specified character encoding.
write(String, OutputStream, String) - Static method in class org.bardframework.commons.utils.IOUtils
Writes chars from a String to bytes on an OutputStream using the specified character encoding.
writeByteArrayToFile(File, byte[]) - Static method in class org.bardframework.commons.utils.FileUtils
Writes a byte array to a file creating the file if it does not exist.
writeByteArrayToFile(File, byte[], boolean) - Static method in class org.bardframework.commons.utils.FileUtils
Writes a byte array to a file creating the file if it does not exist.
writeByteArrayToFile(File, byte[], int, int) - Static method in class org.bardframework.commons.utils.FileUtils
Writes len bytes from the specified byte array starting at offset off to a file, creating the file if it does not exist.
writeByteArrayToFile(File, byte[], int, int, boolean) - Static method in class org.bardframework.commons.utils.FileUtils
Writes len bytes from the specified byte array starting at offset off to a file, creating the file if it does not exist.
writeChunked(byte[], OutputStream) - Static method in class org.bardframework.commons.utils.IOUtils
Writes bytes from a byte[] to an OutputStream using chunked writes.
writeChunked(char[], Writer) - Static method in class org.bardframework.commons.utils.IOUtils
Writes chars from a char[] to a Writer using chunked writes.
writeLines(File, Collection<?>) - Static method in class org.bardframework.commons.utils.FileUtils
Writes the toString() value of each item in a collection to the specified File line by line.
writeLines(File, Collection<?>, boolean) - Static method in class org.bardframework.commons.utils.FileUtils
Writes the toString() value of each item in a collection to the specified File line by line.
writeLines(File, Collection<?>, String) - Static method in class org.bardframework.commons.utils.FileUtils
Writes the toString() value of each item in a collection to the specified File line by line.
writeLines(File, Collection<?>, String, boolean) - Static method in class org.bardframework.commons.utils.FileUtils
Writes the toString() value of each item in a collection to the specified File line by line.
writeLines(File, String, Collection<?>) - Static method in class org.bardframework.commons.utils.FileUtils
Writes the toString() value of each item in a collection to the specified File line by line.
writeLines(File, String, Collection<?>, boolean) - Static method in class org.bardframework.commons.utils.FileUtils
Writes the toString() value of each item in a collection to the specified File line by line, optionally appending.
writeLines(File, String, Collection<?>, String) - Static method in class org.bardframework.commons.utils.FileUtils
Writes the toString() value of each item in a collection to the specified File line by line.
writeLines(File, String, Collection<?>, String, boolean) - Static method in class org.bardframework.commons.utils.FileUtils
Writes the toString() value of each item in a collection to the specified File line by line.
writeLines(Collection<?>, String, OutputStream, Charset) - Static method in class org.bardframework.commons.utils.IOUtils
Writes the toString() value of each item in a collection to an OutputStream line by line, using the specified character encoding and the specified line ending.
writeLines(Collection<?>, String, OutputStream, String) - Static method in class org.bardframework.commons.utils.IOUtils
Writes the toString() value of each item in a collection to an OutputStream line by line, using the specified character encoding and the specified line ending.
writeLines(Collection<?>, String, Writer) - Static method in class org.bardframework.commons.utils.IOUtils
Writes the toString() value of each item in a collection to a Writer line by line, using the specified line ending.
writeStringToFile(File, String, Charset) - Static method in class org.bardframework.commons.utils.FileUtils
Writes a String to a file creating the file if it does not exist.
writeStringToFile(File, String, Charset, boolean) - Static method in class org.bardframework.commons.utils.FileUtils
Writes a String to a file creating the file if it does not exist.
writeStringToFile(File, String, String) - Static method in class org.bardframework.commons.utils.FileUtils
Writes a String to a file creating the file if it does not exist.
writeStringToFile(File, String, String, boolean) - Static method in class org.bardframework.commons.utils.FileUtils
Writes a String to a file creating the file if it does not exist.

Y

YEAR_DURATION_MILLS - Static variable in class org.bardframework.commons.utils.DateTimeUtils
 

Z

ZERO - Static variable in class org.bardframework.commons.utils.Fraction
Fraction representation of 0.
A B C D E F G H I J L M N O P Q R S T U V W Y Z 
Skip navigation links

Copyright © 2021. All rights reserved.