- edu.internet2.middleware.morphString - package edu.internet2.middleware.morphString
-
Rijndael contains thrid party code for a symmetric encryption
algorithm.
- edu.internet2.middleware.morphString.apache.codec - package edu.internet2.middleware.morphString.apache.codec
-
A small set of interfaces used by
the various implementations in the sub-packages.
- edu.internet2.middleware.morphString.apache.codec.binary - package edu.internet2.middleware.morphString.apache.codec.binary
-
Base64, Binary, and Hexadecimal String encoding and decoding.
- EMPTY - Static variable in class edu.internet2.middleware.morphString.MorphStringUtils
-
The empty String "".
- encode(Object) - Method in class edu.internet2.middleware.morphString.apache.codec.binary.Base64
-
Encodes an Object using the base64 algorithm.
- encode(byte[]) - Method in class edu.internet2.middleware.morphString.apache.codec.binary.Base64
-
Encodes a byte[] containing binary data, into a byte[] containing
characters in the Base64 alphabet.
- encode(byte[]) - Method in interface edu.internet2.middleware.morphString.apache.codec.BinaryEncoder
-
Encodes a byte array and return the encoded data
as a byte array.
- encode(Object) - Method in interface edu.internet2.middleware.morphString.apache.codec.Encoder
-
Encodes an "Object" and returns the encoded content
as an Object.
- encodeBase64(byte[]) - Static method in class edu.internet2.middleware.morphString.apache.codec.binary.Base64
-
Encodes binary data using the base64 algorithm but
does not chunk the output.
- encodeBase64(byte[], boolean) - Static method in class edu.internet2.middleware.morphString.apache.codec.binary.Base64
-
Encodes binary data using the base64 algorithm, optionally
chunking the output into 76 character blocks.
- encodeBase64Chunked(byte[]) - Static method in class edu.internet2.middleware.morphString.apache.codec.binary.Base64
-
Encodes binary data using the base64 algorithm and chunks
the encoded output into 76 character blocks
- encodeForUrl(String) - Static method in class edu.internet2.middleware.morphString.MorphStringUtils
-
encode a param that will go in a url
- Encoder - Interface in edu.internet2.middleware.morphString.apache.codec
-
Provides the highest level of abstraction for Encoders.
- EncoderException - Exception in edu.internet2.middleware.morphString.apache.codec
-
Thrown when there is a failure condition during the encoding process.
- EncoderException(String) - Constructor for exception edu.internet2.middleware.morphString.apache.codec.EncoderException
-
Creates a new instance of this exception with an useful message.
- encrypt(String) - Method in class edu.internet2.middleware.morphString.Crypto
-
Encrypt the string
- encrypt(InputStream) - Method in class edu.internet2.middleware.morphString.Crypto
-
Get the encrypted input stream
- encrypt(OutputStream) - Method in class edu.internet2.middleware.morphString.Crypto
-
the encrypted output stream
- Encrypt - Class in edu.internet2.middleware.morphString
-
from sh or bat file to encrypt a string
- Encrypt() - Constructor for class edu.internet2.middleware.morphString.Encrypt
-
- encrypt(String) - Static method in class edu.internet2.middleware.morphString.Morph
-
- ENCRYPT_KEY - Static variable in class edu.internet2.middleware.morphString.Morph
-
- encryptInput(boolean) - Static method in class edu.internet2.middleware.morphString.Encrypt
-
encrypt user input, perhaps dont mask
- equals(String, String) - Static method in class edu.internet2.middleware.morphString.MorphStringUtils
-
Compares two Strings, returning true if they are equal.
- equalsIgnoreCase(String, String) - Static method in class edu.internet2.middleware.morphString.MorphStringUtils
-
Compares two Strings, returning true if they are equal ignoring
the case.
- execCommand(String) - Static method in class edu.internet2.middleware.morphString.MorphStringUtils
-
execute a command and return the output
- executeMethod(Object, String) - Static method in class edu.internet2.middleware.morphString.MorphStringUtils
-
call reflection on an object with no arg method
- executeMethod(Object, String, Class, Object) - Static method in class edu.internet2.middleware.morphString.MorphStringUtils
-
call reflection on an object with no arg method
- generateKeyBytes(String, Integer) - Static method in class edu.internet2.middleware.morphString.Crypto
-
Generate a key.
- get(Object, int) - Static method in class edu.internet2.middleware.morphString.MorphStringUtils
-
Get a specific index of an array or collection (note for collections and iterating,
it is more efficient to get an iterator and iterate
- getCause(Throwable) - Static method in class edu.internet2.middleware.morphString.MorphStringUtils
-
Introspects the Throwable to obtain the cause.
- getCause(Throwable, String[]) - Static method in class edu.internet2.middleware.morphString.MorphStringUtils
-
Introspects the Throwable to obtain the cause.
- getFullStackTrace(Throwable) - Static method in class edu.internet2.middleware.morphString.MorphStringUtils
-
A way to get the entire nested stack-trace of an throwable.
- getRootCause(Throwable) - Static method in class edu.internet2.middleware.morphString.MorphStringUtils
-
Introspects the Throwable to obtain the root cause.
- getRootCauseStackTrace(Throwable) - Static method in class edu.internet2.middleware.morphString.MorphStringUtils
-
Creates a compact stack trace for the root cause of the supplied
Throwable.
- getStackFrameList(Throwable) - Static method in class edu.internet2.middleware.morphString.MorphStringUtils
-
Produces a List of stack frames - the message
is not included.
- getStackFrames(Throwable) - Static method in class edu.internet2.middleware.morphString.MorphStringUtils
-
Captures the stack trace associated with the specified
Throwable object, decomposing it into a list of
stack frames.
- getStackFrames(String) - Static method in class edu.internet2.middleware.morphString.MorphStringUtils
-
Returns an array where each element is a line from the argument.
- getStackTrace(Throwable) - Static method in class edu.internet2.middleware.morphString.MorphStringUtils
-
Gets the stack trace from a Throwable as a String.
- getThreadLocalCrypto() - Static method in class edu.internet2.middleware.morphString.Crypto
-
- getThrowableCount(Throwable) - Static method in class edu.internet2.middleware.morphString.MorphStringUtils
-
Counts the number of Throwable objects in the
exception chain.
- getThrowables(Throwable) - Static method in class edu.internet2.middleware.morphString.MorphStringUtils
-
Returns the list of Throwable objects in the
exception chain.
- growArrayOrList(Object, int) - Static method in class edu.internet2.middleware.morphString.MorphStringUtils
-
If you want to grow an array (or shrink it) to a certain size
- indexOf(Object[], Object) - Static method in class edu.internet2.middleware.morphString.MorphStringUtils
-
Find the index of the given object in the array.
- indexOf(Object[], Object, int) - Static method in class edu.internet2.middleware.morphString.MorphStringUtils
-
Find the index of the given object in the array starting at the given index.
- indexOfThrowable(Throwable, Class) - Static method in class edu.internet2.middleware.morphString.MorphStringUtils
-
Returns the (zero based) index of the first Throwable
that matches the specified class (exactly) in the exception chain.
- indexOfThrowable(Throwable, Class, int) - Static method in class edu.internet2.middleware.morphString.MorphStringUtils
-
Returns the (zero based) index of the first Throwable
that matches the specified type in the exception chain from
a specified index.
- indexOfType(Throwable, Class) - Static method in class edu.internet2.middleware.morphString.MorphStringUtils
-
Returns the (zero based) index of the first Throwable
that matches the specified class or subclass in the exception chain.
- indexOfType(Throwable, Class, int) - Static method in class edu.internet2.middleware.morphString.MorphStringUtils
-
Returns the (zero based) index of the first Throwable
that matches the specified type in the exception chain from
a specified index.
- init(String) - Method in class edu.internet2.middleware.morphString.Crypto
-
initialize the key and cipher
- initFile(File) - Static method in class edu.internet2.middleware.morphString.MorphStringUtils
-
make sure parent dirs exist etc
- isArrayByteBase64(byte[]) - Static method in class edu.internet2.middleware.morphString.apache.codec.binary.Base64
-
Tests a given byte array to see if it contains
only valid characters within the Base64 alphabet.
- isBlank(String) - Static method in class edu.internet2.middleware.morphString.MorphStringUtils
-
Checks if a String is whitespace, empty ("") or null.
- isCauseMethodName(String) - Static method in class edu.internet2.middleware.morphString.MorphStringUtils
-
Tests if the list of method names used in the search for Throwable
objects include the given name.
- isEmpty(String) - Static method in class edu.internet2.middleware.morphString.MorphStringUtils
-
Checks if a String is empty ("") or null.
- isNestedThrowable(Throwable) - Static method in class edu.internet2.middleware.morphString.MorphStringUtils
-
Checks whether this Throwable class can store a cause.
- isNewline(char) - Static method in class edu.internet2.middleware.morphString.MorphStringUtils
-
return true if newline or formfeed
- isNotEmpty(String) - Static method in class edu.internet2.middleware.morphString.MorphStringUtils
-
Checks if a String is not empty ("") and not null.
- isThrowableNested() - Static method in class edu.internet2.middleware.morphString.MorphStringUtils
-
Checks if the Throwable class has a getCause method.
- isWindows() - Static method in class edu.internet2.middleware.morphString.MorphStringUtils
-
see if we are running on windows
- iterator(Object) - Static method in class edu.internet2.middleware.morphString.MorphStringUtils
-
null safe iterator getter if the type if collection
- readFileIntoString(File) - Static method in class edu.internet2.middleware.morphString.MorphStringUtils
-
- readFileToString(File, String) - Static method in class edu.internet2.middleware.morphString.MorphStringUtils
-
Reads the contents of a file into a String.
- readFromFileIfFile(String) - Static method in class edu.internet2.middleware.morphString.MorphStringUtils
-
if the input is a file, read string from file.
- readFromFileIfFile(String, boolean) - Static method in class edu.internet2.middleware.morphString.MorphStringUtils
-
if the input is a file, read string from file.
- removeCauseMethodName(String) - Static method in class edu.internet2.middleware.morphString.MorphStringUtils
-
Removes from the list of method names used in the search for Throwable
objects.
- removeCommonFrames(List, List) - Static method in class edu.internet2.middleware.morphString.MorphStringUtils
-
Removes common frames from the cause trace given the two stack traces.
- replace(String, String, String) - Static method in class edu.internet2.middleware.morphString.MorphStringUtils
-
Replaces all occurrences of a String within another String.
- replace(String, String, String, int) - Static method in class edu.internet2.middleware.morphString.MorphStringUtils
-
Replaces a String with another String inside a larger String,
for the first max values of the search String.
- replace(StringBuffer, String, Object, Object, boolean) - Static method in class edu.internet2.middleware.morphString.MorphStringUtils
-
replace a string or strings from a string, and put the output in a string buffer
- replace(StringBuffer, String, Object, Object) - Static method in class edu.internet2.middleware.morphString.MorphStringUtils
-
replace a string or strings from a string, and put the output in a string buffer.
- replace(Writer, String, Object, Object, boolean) - Static method in class edu.internet2.middleware.morphString.MorphStringUtils
-
replace a string or strings from a string, and put the output in a string buffer
- replace(Writer, String, Object, Object) - Static method in class edu.internet2.middleware.morphString.MorphStringUtils
-
replace a string or strings from a string, and put the output in a string buffer.
- replace(String, Object, Object, boolean) - Static method in class edu.internet2.middleware.morphString.MorphStringUtils
-
replace a string or strings from a string, and put the output in a string buffer
- replace(String, Object, Object) - Static method in class edu.internet2.middleware.morphString.MorphStringUtils
-
replace a string or strings from a string, and put the output in a string buffer.
- retrieveProperties() - Static method in class edu.internet2.middleware.morphString.MorphPropertyFileUtils
-
retrieve a property from the properties file
- retrievePropertiesFromFile(String) - Static method in class edu.internet2.middleware.morphString.MorphPropertyFileUtils
-
retrieve a property from the properties file
- retrievePropertyBoolean(String, boolean) - Static method in class edu.internet2.middleware.morphString.MorphPropertyFileUtils
-
retrieve a property, it must exist in the properties file
- retrievePropertyString(String) - Static method in class edu.internet2.middleware.morphString.MorphPropertyFileUtils
-
retrieve a property, it must exist in the properties file
- saveStringIntoFile(File, String) - Static method in class edu.internet2.middleware.morphString.MorphStringUtils
-
save a string into a file, file does not have to exist
- set(Object, int, Object) - Static method in class edu.internet2.middleware.morphString.MorphStringUtils
-
safely assign an object to a list (add if not exist)
- specialChars(String, boolean) - Static method in class edu.internet2.middleware.morphString.MorphStringUtils
-
Unsubstitute special chars from inputs (at least used for regex).
- split(String) - Static method in class edu.internet2.middleware.morphString.MorphStringUtils
-
Splits the provided text into an array, using whitespace as the
separator.
- split(String, char) - Static method in class edu.internet2.middleware.morphString.MorphStringUtils
-
Splits the provided text into an array, separator specified.
- split(String, String) - Static method in class edu.internet2.middleware.morphString.MorphStringUtils
-
Splits the provided text into an array, separators specified.
- split(String, String, int) - Static method in class edu.internet2.middleware.morphString.MorphStringUtils
-
Splits the provided text into an array with a maximum length,
separators specified.
- splitByWholeSeparator(String, String) - Static method in class edu.internet2.middleware.morphString.MorphStringUtils
-
Splits the provided text into an array, separator string specified.
- splitByWholeSeparator(String, String, int) - Static method in class edu.internet2.middleware.morphString.MorphStringUtils
-
Splits the provided text into an array, separator string specified.
- splitTrim(String, String) - Static method in class edu.internet2.middleware.morphString.MorphStringUtils
-
split a string based on a separator into an array, and trim each entry (see
the Commons Util StringUtils.trim for more details)