Skip navigation links
A B C D E F G H I K L M N P R S T U W 

A

addCauseMethodName(String) - Static method in class edu.internet2.middleware.morphString.MorphStringUtils
Adds to the list of method names used in the search for Throwable objects.
assertDirExists(String) - Static method in class edu.internet2.middleware.morphString.MorphStringUtils
make sure a directory exists, if not, create it

B

Base64 - Class in edu.internet2.middleware.morphString.apache.codec.binary
Provides Base64 encoding and decoding as defined by RFC 2045.
Base64() - Constructor for class edu.internet2.middleware.morphString.apache.codec.binary.Base64
 
BinaryDecoder - Interface in edu.internet2.middleware.morphString.apache.codec
Defines common decoding methods for byte array decoders.
BinaryEncoder - Interface in edu.internet2.middleware.morphString.apache.codec
Defines common encoding methods for byte array encoders.

C

className(Object) - Static method in class edu.internet2.middleware.morphString.MorphStringUtils
null safe classname method
closeQuietly(Writer) - Static method in class edu.internet2.middleware.morphString.MorphStringUtils
close a writer quietly
closeQuietly(Reader) - Static method in class edu.internet2.middleware.morphString.MorphStringUtils
Unconditionally close an Reader.
closeQuietly(OutputStream) - Static method in class edu.internet2.middleware.morphString.MorphStringUtils
Unconditionally close an OutputStream.
closeQuietly(InputStream) - Static method in class edu.internet2.middleware.morphString.MorphStringUtils
Unconditionally close an InputStream.
collectionLength(Collection) - Static method in class edu.internet2.middleware.morphString.MorphStringUtils
Null safe arrayList length
computeUrl(String, boolean) - Static method in class edu.internet2.middleware.morphString.MorphStringUtils
compute a url of a resource
CONFIG_CACHE_DIR_NAME - Static variable in class edu.internet2.middleware.morphString.MorphStringUtils
fast config cache dir name (subdir from log dir)
contains(String, String) - Static method in class edu.internet2.middleware.morphString.MorphStringUtils
Checks if String contains a search String, handling null.
copy(InputStream, Writer, String) - Static method in class edu.internet2.middleware.morphString.MorphStringUtils
Copy and convert bytes from an InputStream to chars on a Writer, using the specified encoding.
copy(Reader, Writer) - Static method in class edu.internet2.middleware.morphString.MorphStringUtils
Copy chars from a Reader to a Writer.
createDefaultCipher() - Method in class edu.internet2.middleware.morphString.Crypto
Create the default cipher
Crypto - Class in edu.internet2.middleware.morphString
The purpose of this class is to provide encryption and decryption using standard Java libraries, for potentially large amounts of data.
Crypto() - Constructor for class edu.internet2.middleware.morphString.Crypto
Default crypto object
Crypto(String) - Constructor for class edu.internet2.middleware.morphString.Crypto
Default crypto object

D

decode(Object) - Method in class edu.internet2.middleware.morphString.apache.codec.binary.Base64
Decodes an Object using the base64 algorithm.
decode(byte[]) - Method in class edu.internet2.middleware.morphString.apache.codec.binary.Base64
Decodes a byte[] containing containing characters in the Base64 alphabet.
decode(byte[]) - Method in interface edu.internet2.middleware.morphString.apache.codec.BinaryDecoder
Decodes a byte array and returns the results as a byte array.
decode(Object) - Method in interface edu.internet2.middleware.morphString.apache.codec.Decoder
Decodes an "encoded" Object and returns a "decoded" Object.
decodeBase64(byte[]) - Static method in class edu.internet2.middleware.morphString.apache.codec.binary.Base64
Decodes Base64 data into octects
Decoder - Interface in edu.internet2.middleware.morphString.apache.codec
Provides the highest level of abstraction for Decoders.
DecoderException - Exception in edu.internet2.middleware.morphString.apache.codec
Thrown when a Decoder has encountered a failure condition during a decode.
DecoderException(String) - Constructor for exception edu.internet2.middleware.morphString.apache.codec.DecoderException
Creates a DecoderException
decrypt(String) - Method in class edu.internet2.middleware.morphString.Crypto
Decrypt the string
decrypt(InputStream) - Method in class edu.internet2.middleware.morphString.Crypto
the decrypted input stream
decrypt(OutputStream) - Method in class edu.internet2.middleware.morphString.Crypto
the decrypted output stream
decrypt(String) - Static method in class edu.internet2.middleware.morphString.Morph
This will decrypt a string from an external file if a slash is there.
decryptIfFile(String) - Static method in class edu.internet2.middleware.morphString.Morph
This will decrypt a string from an external file if a slash is there.

E

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

F

fastClassLoader() - Static method in class edu.internet2.middleware.morphString.MorphStringUtils
fast class loader
fileCanonicalPath(File) - Static method in class edu.internet2.middleware.morphString.MorphStringUtils
get canonical path of file
fileFromResourceNameHelper(String, StringBuffer, boolean, boolean) - Static method in class edu.internet2.middleware.morphString.MorphStringUtils
get a file name from a resource name

G

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

H

hasWhitespace(String) - Static method in class edu.internet2.middleware.morphString.MorphStringUtils
Checks if the String contains any whitespace.

I

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

K

key() - Static method in class edu.internet2.middleware.morphString.Morph
 

L

lastModifiedResources(Object) - Static method in class edu.internet2.middleware.morphString.MorphStringUtils
find the most recently modified resource
length(Object) - Static method in class edu.internet2.middleware.morphString.MorphStringUtils
Null safe array length or map
listFilesByExtension(File, String) - Static method in class edu.internet2.middleware.morphString.MorphStringUtils
list files with a certain extension
listFilesByExtensionRecursive(File, String) - Static method in class edu.internet2.middleware.morphString.MorphStringUtils
list files with a certain extension.
listFilesByPrefix(File, String) - Static method in class edu.internet2.middleware.morphString.MorphStringUtils
list files with a certain prefix
listSubdirs(File) - Static method in class edu.internet2.middleware.morphString.MorphStringUtils
get the subdirs of a dir (not ..)

M

main(String[]) - Static method in class edu.internet2.middleware.morphString.Encrypt
if an arg is dontMask, then it wont try the fancy masking stuff
mkdirs(File) - Static method in class edu.internet2.middleware.morphString.MorphStringUtils
Create directories, throw exception if not possible.
Morph - Class in edu.internet2.middleware.morphString
 
MORPH_STRING_PROPERTIES - Static variable in class edu.internet2.middleware.morphString.MorphPropertyFileUtils
property file resource name
MorphPropertyFileUtils - Class in edu.internet2.middleware.morphString
If you need a property file, this will help cache and retrieve properties.
MorphPropertyFileUtils() - Constructor for class edu.internet2.middleware.morphString.MorphPropertyFileUtils
 
MorphStringUtils - Class in edu.internet2.middleware.morphString
ExceptionUtils from commons, and some other useful classes, used for websec in oracle and other external plugin type java programs
MorphStringUtils() - Constructor for class edu.internet2.middleware.morphString.MorphStringUtils
 

N

next(Object, Iterator, int) - Static method in class edu.internet2.middleware.morphString.MorphStringUtils
If array, get the element based on index, if Collection, get it based on iterator.

P

packInts(int, int) - Static method in class edu.internet2.middleware.morphString.MorphStringUtils
pack two ints into a long.
password(InputStream, String) - Static method in class edu.internet2.middleware.morphString.Encrypt
 
printRootCauseStackTrace(Throwable) - Static method in class edu.internet2.middleware.morphString.MorphStringUtils
Prints a compact stack trace for the root cause of a throwable to System.err.
printRootCauseStackTrace(Throwable, PrintStream) - Static method in class edu.internet2.middleware.morphString.MorphStringUtils
Prints a compact stack trace for the root cause of a throwable.
printRootCauseStackTrace(Throwable, PrintWriter) - Static method in class edu.internet2.middleware.morphString.MorphStringUtils
Prints a compact stack trace for the root cause of a throwable.

R

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

S

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)

T

TEMP_DIR_NAME - Static variable in class edu.internet2.middleware.morphString.MorphStringUtils
fast temp dir name (subdir from log dir)
testMorphKey - Static variable in class edu.internet2.middleware.morphString.Morph
if testing, and not relying on morph key being there, use this
toString(InputStream, String) - Static method in class edu.internet2.middleware.morphString.MorphStringUtils
Get the contents of an InputStream as a String.
trim(String) - Static method in class edu.internet2.middleware.morphString.MorphStringUtils
Removes control characters (char <= 32) from both ends of this String, handling null by returning null.
trimToEmpty(String) - Static method in class edu.internet2.middleware.morphString.MorphStringUtils
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 edu.internet2.middleware.morphString.MorphStringUtils
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.

U

unpackInt(long, boolean) - Static method in class edu.internet2.middleware.morphString.MorphStringUtils
take a long

W

writeStringToFile(File, String, String) - Static method in class edu.internet2.middleware.morphString.MorphStringUtils
Writes data to a file.
A B C D E F G H I K L M N P R S T U W 
Skip navigation links

Copyright © 2016 Internet2. All rights reserved.