- fields() - Method in class igpp.util.Table
-
- File - Class in igpp.util
-
File utilities that augment the standard java.io.File class.
- File() - Constructor for class igpp.util.File
-
- FileComparator - Class in igpp.util
-
A
Comparator
for
File
objects.
- FileComparator() - Constructor for class igpp.util.FileComparator
-
- FileComparator(int) - Constructor for class igpp.util.FileComparator
-
- FileComparator(int, int) - Constructor for class igpp.util.FileComparator
-
- FileLastModified - Static variable in class igpp.util.FileComparator
-
- FileName - Static variable in class igpp.util.FileComparator
-
- find(String[], String) - Static method in class igpp.util.Argument
-
Searches a list contain options specified in a KEYWORD=VALUE
format and locates the option with a given keyword.
- find(String[], String, String) - Static method in class igpp.util.Argument
-
Searches a list contain options specified in a KEYWORD=VALUE
format and locates the option with a given keyword.
- find(String[], String, String, int) - Static method in class igpp.util.Argument
-
Searches a list contain options specified in a KEYWORD=VALUE
format and locates the option with a given keyword.
- find(String[], String) - Static method in class igpp.util.Option
-
Searches a list contain options specified in a KEYWORD=VALUE
format and locates the option with a given keyword.
- find(String[], String, String) - Static method in class igpp.util.Option
-
Searches a list contain options specified in a KEYWORD=VALUE
format and locates the option with a given keyword.
- find(String[], String, String, int) - Static method in class igpp.util.Option
-
Searches a list contain options specified in a KEYWORD=VALUE
format and locates the option with a given keyword.
- find(String, String) - Method in class igpp.util.Table
-
Find all records where the field has a specific value.
- findAndSet(Variable) - Method in class igpp.util.VariableList
-
Finds a variable in the variable list and set its value.
- findAndSet(VariableList) - Method in class igpp.util.VariableList
-
Finds eavery variable in a list and sets it in this list.
- findAndSet(String, String) - Method in class igpp.util.VariableList
-
Finds an item in an array list and set its value.
- findAndSet(String, String, boolean) - Method in class igpp.util.VariableList
-
Finds an item in an array list and set its value.
- findSpec(String) - Static method in class igpp.util.MultiTime
-
Returns the time format specification that matches the given
standard format name.
- findTimePattern(String) - Static method in class igpp.util.Date
-
Returns the time format specification that matches the given
standard format name.
- floor(double) - Static method in class igpp.util.Calc
-
Round a value down to nearest integer and return value as a long.
- format(String) - Method in class igpp.util.MultiTime
-
Formats the time in the requested format and returns the string.
- getBaseName(String) - Static method in class igpp.util.File
-
Extract the base name of the file from a pathname.
- getBooleanValue(String) - Method in class igpp.util.VariableList
-
Finds an item in a variable list and returns its value as an boolean.
- getCalendar(String) - Static method in class igpp.util.Date
-
Parse a standard format time string into a Calendar object.
- getCalendar(long) - Static method in class igpp.util.Date
-
Create a Calendar based on a the number of milliseconds since the epoch (00:00:00 GMT, January 1, 1970).
- getDateFormat() - Static method in class igpp.util.Date
-
Get the current date format used for all date manipulation.
- getDateString(long) - Static method in class igpp.util.Date
-
Create a standard format time string for a long (count of seconds).
- getDateString(Date) - Static method in class igpp.util.Date
-
Create a standard format time string for a Date
- getDateString(Calendar) - Static method in class igpp.util.Date
-
Create a standard format time string for a Calendar
- getDateString(long, String) - Static method in class igpp.util.Date
-
Create a formated time string for a long (count of seconds).
- getDateString(Date, String) - Static method in class igpp.util.Date
-
Create a formated time string for a Date.
- getDateString(Calendar, String) - Static method in class igpp.util.Date
-
Create a formated time string for a Calendar.
- getDateString(String, String) - Static method in class igpp.util.Date
-
Parse a time string using parseISO8601() and create a formated time string.
- getDawn() - Static method in class igpp.util.Date
-
Sets the time to the earliest possible time.
- getDaysInMonth(Calendar) - Static method in class igpp.util.Date
-
Determines the number of days in the month.
- getDefinition() - Method in class igpp.util.TermDef
-
- getEternity() - Static method in class igpp.util.Date
-
Sets the time to the latest possible time.
- getExtension(String) - Static method in class igpp.util.File
-
Extract the extension of the file from a pathname.
- getFile(File, String) - Static method in class igpp.util.Listing
-
Get the
File
object file or folder with a given name located at the location
of a
File
object.
- getFile(String) - Static method in class igpp.util.Text
-
Get the file name portion of a pathname.
- getFileBase(String) - Static method in class igpp.util.Text
-
Get the base portion of a file name.
- getFileList(String) - Static method in class igpp.util.Listing
-
Get the list of files at the current path.
- getFileList(String, String) - Static method in class igpp.util.Listing
-
Get the list of files at the current path that match a particular pattern.
- getFileList(File, String) - Static method in class igpp.util.Listing
-
Get the list of files located at the location specified with
File
object.
- getFileList(File) - Static method in class igpp.util.Listing
-
Get the list of files located at the location specified with
File
object.
- getFileListByExtension(String, String) - Static method in class igpp.util.Listing
-
Get the list of files at the current path that have a particular filename extension.
- getFileListByExtension(File, String) - Static method in class igpp.util.Listing
-
Get the list of files at the current path that have a particular filename extension.
- getFirstFile(File) - Static method in class igpp.util.Listing
-
Get the first file in the sorted file list at the location specified with
File
object.
- getFolderList(String) - Static method in class igpp.util.Listing
-
Get the list of folders at the current path.
- getFolderList(File) - Static method in class igpp.util.Listing
-
Get the list of folders located at the location specified with
File
object.
- getIntValue(String) - Method in class igpp.util.VariableList
-
Finds an item in a variable list and returns its value as an integer.
- getISO8601DateString(long, Date) - Static method in class igpp.util.Date
-
Create a standard ISO-8601 format time string for a long (count of milliseconds).
- getISO8601DateString(long) - Static method in class igpp.util.Date
-
Create a standard ISO-8601 format time string for a long (count of milliseconds).
- getISO8601DateString(double) - Static method in class igpp.util.Date
-
Create a standard ISO-8601 format time string for a fractional count of seconds.
- getISO8601DateString(double, Date) - Static method in class igpp.util.Date
-
Create a standard ISO-8601 format time string for a fractional count of seconds.
- getISO8601DateString(String) - Static method in class igpp.util.Date
-
Create a standard ISO-8601 format time string from a string.
- getISO8601DateString(Calendar) - Static method in class igpp.util.Date
-
Create a standard ISO-8601 format time string for a Calendar.
- getISO8601DateString(Date) - Static method in class igpp.util.Date
-
Create a standard ISO-8601 format time string for a Date.
- getLastFile(File) - Static method in class igpp.util.Listing
-
Get the last file in the sorted file list at the location specified with
File
object.
- getMaskedValue(String, String) - Static method in class igpp.util.Text
-
Returns the non-mask portion of a string.
- getMatchList(String[], ArrayList<String>) - Static method in class igpp.util.Text
-
Create an ArrayList of all words in an array that match words in a list.
- getMatchList(ArrayList<String>, ArrayList<String>) - Static method in class igpp.util.Text
-
Create an ArrayList of all words in a list that match words in a list.
- getMD5(String) - Static method in class igpp.util.File
-
Return the MD5 digest for a file.
- getMemberValue(Object, String) - Static method in class igpp.util.Reflection
-
Call the get() method with a given name suffix and return the value as String
.
- getMethod(Object, String) - Static method in class igpp.util.Reflection
-
Returns the first Method with a given name regardless of
the full signature (arguments) of the method.
- getMethod(Object, String, Class[]) - Static method in class igpp.util.Reflection
-
Returns the first Method with a given name which matches the
the full signature (arguments) of the method.
- getModificationDate(String) - Static method in class igpp.util.File
-
Return the modification date in ISO8601 format for a file.
- getMostRecentFile(File) - Static method in class igpp.util.Listing
-
Get the most recent file placed in at the location specified with
File
object.
- getName(String) - Static method in class igpp.util.File
-
Extract the name of the file from a pathname.
- getNow() - Static method in class igpp.util.Date
-
Return a calendar object set to the current time.
- getOutput() - Method in class igpp.util.Process
-
Retrieve the output from the last run.
- getOutputHTML() - Method in class igpp.util.Process
-
Retrieve the output from the last run formatted for HTML.
- getParent(String) - Static method in class igpp.util.File
-
Extract the parent of the file from a pathname.
- getPath(String) - Static method in class igpp.util.Text
-
Get the path name portion of a pathname.
- getReader(File, String) - Static method in class igpp.util.Listing
-
Obtain a
BufferedReader
for a file at the location of a
File
object.
- getReader(String) - Static method in class igpp.util.Listing
-
Obtain a BufferedReader
for pathname string.
- getSelected() - Method in class igpp.util.TermDef
-
- getSHA1(String) - Static method in class igpp.util.File
-
Return the SHA-1 digest for a file.
- getSHA256(String) - Static method in class igpp.util.File
-
Return the SHA-256 digest for a file.
- getSHA512(String) - Static method in class igpp.util.File
-
Return the SHA-512 digest for a file.
- getSize(String) - Static method in class igpp.util.File
-
Return the size of the file in bytes.
- getSortedList(File[], int, int) - Static method in class igpp.util.Listing
-
Sort an array of
File
items based on an attribute of each file.
- getSortedList(File[], int) - Static method in class igpp.util.Listing
-
Sort an array of
File
items based on an attribute of each file.
- getTerm() - Method in class igpp.util.TermDef
-
- getToken(String, String[]) - Static method in class igpp.util.Text
-
Returns the index of the matching item in a list.
- getTomorrow() - Static method in class igpp.util.Date
-
Return a calendar object set to the current time on tomorrow.
- getURIPath(String) - Static method in class igpp.util.Text
-
Get the path name portion of a URI.
- getURLPath(String) - Static method in class igpp.util.Text
-
Get the path name portion of a URL.
- getValue(String, String) - Static method in class igpp.util.Text
-
Returns a value if set (non-null) or the default if not set.
- getValue(String, boolean) - Static method in class igpp.util.Text
-
Returns a value if set (non-null) or the default if not set.
- getValue(String) - Method in class igpp.util.VariableList
-
Finds a variable in the variable list and returns its value.
- getValue(String, boolean) - Method in class igpp.util.VariableList
-
Finds a variable in the variable list and returns its value.
- getVerbose() - Static method in class igpp.util.Table
-
- getYesNo(boolean) - Static method in class igpp.util.Text
-
Return a string representing the boolean state.
- igpp.util - package igpp.util
-
Various utility classes to simplify common tasks for dates, strings, file system access
and working with XML files.
- interpret(String) - Static method in class igpp.util.Date
-
Convert a string into a Calendar by interpreting the passed value.
- intersection(ArrayList<String>, ArrayList<String>) - Static method in class igpp.util.Text
-
Create an ArrayList of strings containing the intersection of two lists.
- isAfter(String, String) - Static method in class igpp.util.Date
-
Checks if one ISO8601 time is on or after another ISO8601 time.
- isAfter(Calendar, Calendar) - Static method in class igpp.util.Date
-
Checks if one time is on or after another time.
- isBefore(String, String) - Static method in class igpp.util.Date
-
Checks if one ISO8601 time is on or before another ISO8601 time.
- isBefore(Calendar, Calendar) - Static method in class igpp.util.Date
-
Checks if one time is on or before another time.
- isChecked(String, String) - Static method in class igpp.util.Text
-
Compares a value to a sample string.
- isDirectory(String) - Static method in class igpp.util.File
-
Determines if a given pathname is to a directory.
- ISEEDATE - Static variable in class igpp.util.Date
-
83 019 JAN 19 11 45 30.234
- ISEEDATE - Static variable in class igpp.util.MultiTime
-
83 019 JAN 19 11 45 30.234
- isEmpty(String) - Static method in class igpp.util.Date
-
Determines if a date string is "empty".
- isEmpty(String) - Static method in class igpp.util.Text
-
Determine if a string is empty or not defined.
- isFile(String) - Static method in class igpp.util.File
-
Determines if a given pathname is to a file.
- isInList(String, ArrayList<String>) - Static method in class igpp.util.Text
-
Check if an item is in a list
- isInList(String, String[]) - Static method in class igpp.util.Text
-
Check if an item is in a list
- isInPrefixList(String, String[]) - Static method in class igpp.util.Text
-
Check if the term starts with any item in the list.
- isInPrefixList(String, ArrayList<String>) - Static method in class igpp.util.Text
-
Check if the term starts with any item in the list.
- isInSpan(String, String, String, String) - Static method in class igpp.util.Date
-
Checks if a start and end ISO-8601 time is within another start and end
ISO-8601 time.
- isInSpan(Calendar, Calendar, Calendar) - Static method in class igpp.util.Date
-
Checks if a time is within a time span.
- isListEmpty(ArrayList<String>) - Static method in class igpp.util.Text
-
Determine if an ArrayList is empty or not defined.
- isMatch(String, String) - Static method in class igpp.util.Text
-
Compares one string to another and returns true if they match.
- isMatch(ArrayList<String>, ArrayList<String>) - Static method in class igpp.util.Text
-
Compares a list of strings to another and returns true if they match.
- ISO - Static variable in class igpp.util.Date
-
1989-01-19T11:45:30.234
- ISO - Static variable in class igpp.util.MultiTime
-
19890119T114530.234
- ISO8601 - Static variable in class igpp.util.Date
-
1989-01-19T11:45:30.234 or 1989-019T11:45:30.234 with omissions
- isOnOrAfter(String, String) - Static method in class igpp.util.Date
-
Checks if one ISO-8601 time is on or after another ISO-8601 time.
- isOnOrAfter(Calendar, Calendar) - Static method in class igpp.util.Date
-
Checks if one time is on or after another time.
- isOnOrBefore(String, String) - Static method in class igpp.util.Date
-
Checks if one ISO8601 time is on or before another ISO8601 time.
- isOnOrBefore(Calendar, Calendar) - Static method in class igpp.util.Date
-
Checks if one time is on or before another time.
- isSetMatch(String, String) - Static method in class igpp.util.Text
-
Compares one string to another and returns true if they match.
- isSetMatch(ArrayList<String>, ArrayList<String>) - Static method in class igpp.util.Text
-
Compares a list of strings to another and returns true if they match.
- isTrue(String) - Static method in class igpp.util.Text
-
Determine if a string is equivalent to a true/false state.
- isTrue(String, boolean) - Static method in class igpp.util.Text
-
Determine is a string is equivalent to a true/false state.
- iterator() - Method in class igpp.util.TermList
-
- iterator() - Method in class igpp.util.VariableList
-
Returns an Iterator for the variables in the list.
- PACKEDISO - Static variable in class igpp.util.Date
-
19890119T114530.234
- pad(String, int) - Static method in class igpp.util.Text
-
Pad a string with spaces to a fixed width.
- parse(String, String) - Static method in class igpp.util.Date
-
Parses a string into a Date using the given pattern.
- parse(String, String) - Method in class igpp.util.Table
-
Process a flat textual table.
- parseISO8601(String) - Static method in class igpp.util.Date
-
Parses an ISO-8601 formatted time string.
- parseISO8601(String, Boolean) - Static method in class igpp.util.Date
-
Parses an ISO-8601 formatted time string.
- parseISO8601Duration(String) - Static method in class igpp.util.Date
-
Parses an ISO-8601 formatted duration string.
- parseList(String) - Static method in class igpp.util.Text
-
Parse a comma separated list into an array of Strings, trimming extra white space.
- PDS - Static variable in class igpp.util.Date
-
1989-01-19T11:45:30.234 or 1989-019T11:45:30.234 with omissions
- PDS - Static variable in class igpp.util.MultiTime
-
1989-01-19T11:45:30.234 or 1989-019T11:45:30.234 with omissions
- perform(double, String, double) - Static method in class igpp.util.Calc
-
Perform an operation on two arguments.
- perform(String, String, String) - Static method in class igpp.util.Calc
-
Perform an operation on two arguments.
- perform(long, String, String) - Static method in class igpp.util.Calc
-
Perform an operation on two arguments.
- perform(int, String, String) - Static method in class igpp.util.Calc
-
Perform an operation on two arguments.
- perform(double, String, String) - Static method in class igpp.util.Calc
-
Perform an operation on two arguments.
- perform(String, String, double) - Static method in class igpp.util.Calc
-
Perform an operation on two arguments.
- perform(String, String, long) - Static method in class igpp.util.Calc
-
Perform an operation on two arguments.
- perform(String, String, int) - Static method in class igpp.util.Calc
-
Perform an operation on two arguments.
- perform(long, String, long) - Static method in class igpp.util.Calc
-
Perform an operation on two arguments.
- print(PrintStream, String) - Method in class igpp.util.Table
-
Print the map in "keyword = value" format
- print(PrintStream, String, HashMap<String, Object>) - Static method in class igpp.util.Table
-
Print the map in "keyword = value" format
- printCause(Throwable) - Static method in class igpp.util.ExceptionHandler
-
Scans the stack of an exception and prints the first line and any line which begins with "Cause".
- Process - Class in igpp.util
-
Run a command line and collect the output in String buffers.
- Process() - Constructor for class igpp.util.Process
-
- process(String, String) - Static method in class igpp.util.Table
-
Process a flat textual table.
- sanitizeDate(String) - Static method in class igpp.util.Date
-
Replaces any "T" which may appear in an ISO-8601 compliant date string
with a space.
- selectItem(String) - Method in class igpp.util.TermList
-
- setDateFormat(String) - Static method in class igpp.util.Date
-
Sets the date format to use for all date manipulation.
- setDefinition(String) - Method in class igpp.util.TermDef
-
- setLimit(Boolean, Calendar, int) - Static method in class igpp.util.Date
-
Set the maximum (ceil) or minimum (floor) value for a time field.
- setMember(Object, String) - Static method in class igpp.util.Reflection
-
Set a member variable using the syntax "name=value".
- setMember(Object, String, String[]) - Static method in class igpp.util.Reflection
-
Call the set() method with a given name suffix and a String
array
as an argument.
- setMember(Object, String, String) - Static method in class igpp.util.Reflection
-
Call the set() method with a given name suffix passing one argument.
- setMemberString(Object, String, String) - Static method in class igpp.util.Reflection
-
Call the set() method with a given name suffix and a String
as an argument.
- setOwner(String, String, String) - Static method in class igpp.util.File
-
Set the owner and group for a file.
- setSelected(boolean) - Method in class igpp.util.TermDef
-
- setTerm(String) - Method in class igpp.util.TermDef
-
- setVerbose(boolean) - Static method in class igpp.util.Table
-
- showHelp() - Method in class igpp.util.Table
-
Display help information.
- SortAscending - Static variable in class igpp.util.FileComparator
-
- SortAscending - Static variable in class igpp.util.StringListComparator
-
- SortDecending - Static variable in class igpp.util.FileComparator
-
- SortDecending - Static variable in class igpp.util.StringListComparator
-
- span(Calendar, Calendar) - Static method in class igpp.util.Date
-
Returns the number of milliseconds between a time and this time.
- span(MultiTime) - Method in class igpp.util.MultiTime
-
Returns the number of milliseconds between a time and this time.
- splitMixedCase(String) - Static method in class igpp.util.Text
-
Divide a string on capital letters that follow lowercase letters
- sqlEncode(String) - Static method in class igpp.util.Encode
-
Convert a string with convention wild cards to
SQL equivalents.
- startsWith(String, String) - Static method in class igpp.util.Text
-
Check if a string starts with a specific value
- StringListComparator - Class in igpp.util
-
A Comparator
for ArrayList
of String
objects.
- StringListComparator() - Constructor for class igpp.util.StringListComparator
-
- StringListComparator(int) - Constructor for class igpp.util.StringListComparator
-
- StringListComparator(int, int) - Constructor for class igpp.util.StringListComparator
-
- sum(ArrayList<String>) - Static method in class igpp.util.Calc
-
Sum all the values in a list.
- Table - Class in igpp.util
-
- Table() - Constructor for class igpp.util.Table
-
- TermDef - Class in igpp.util
-
Utility class to store terms and definitions.
- TermDef(String, String) - Constructor for class igpp.util.TermDef
-
- TermList - Class in igpp.util
-
Utility class to store and use lists of terms.
- TermList() - Constructor for class igpp.util.TermList
-
- Text - Class in igpp.util
-
Methods to parse, interpret and manipulate strings.
- Text() - Constructor for class igpp.util.Text
-
- ThreadedReader - Class in igpp.util
-
Collects output from a thread and stores it in
interanl buffers.
- ThreadedReader(BufferedReader, ArrayList<String>) - Constructor for class igpp.util.ThreadedReader
-
Create an instance of a ThreadedReader attached to a buffered reader
and place all content in an String ArrayList.
- toArrayList(String[]) - Static method in class igpp.util.Text
-
Convert an String
array to an array list of strings.
- toBytes(String) - Static method in class igpp.util.Text
-
Convert a string with a unitized to a byte count.
- toBytes(String, String) - Static method in class igpp.util.Text
-
Convert a string and units to a byte count.
- toDouble(String) - Static method in class igpp.util.Text
-
Converts a string to a double.
- toDuration(long) - Static method in class igpp.util.Text
-
Format a count of milliseconds into a HH:mm:ss.SSS duration string.
- toImproperCase(String) - Static method in class igpp.util.Text
-
Convert a string to "improper" case by converting the
first letter to lower case.
- toInt(String) - Static method in class igpp.util.Text
-
Converts a string to a int.
- token(String) - Method in class igpp.util.Argument
-
Searches the list of options and returns the ID of the first match found.
- token(String) - Method in class igpp.util.Option
-
Searches the list of options and returns the ID of the first match found.
- toLowerCase(String) - Static method in class igpp.util.Text
-
Convert a string to lower case.
- toProperCase(String) - Static method in class igpp.util.Text
-
Convert a string to proper case by capitalizing the first letter.
- toThousands(long) - Static method in class igpp.util.Text
-
Convert a long value into a thousands delimited string.
- toTitleCase(String) - Static method in class igpp.util.Text
-
Convert a string to title case by capitalizing the first letter of each word.
- toUnitizedBytes(long) - Static method in class igpp.util.Text
-
Converts a count of bytes into a concise count string with
units like KB, MB, GB.
- toUpperCase(String) - Static method in class igpp.util.Text
-
Convert a string to upper case.
- translateISO8601Duration(String) - Static method in class igpp.util.Date
-
Parses an ISO-8601 formatted duration string and
describe it in human terms.
- trim(String) - Static method in class igpp.util.Text
-
Trim the leading and trailing spaces from a string and return the result.