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

A

add(FirstObject, SecondObject) - Method in class net.kd8rho.util.data.PairedList
Adds an object to both lists at the same index
add(FirstObject, SecondObject, int) - Method in class net.kd8rho.util.data.PairedList
Adds an object to both lists at the same index
addArgument(String) - Method in class net.kd8rho.util.CommandLineArgument
Adds an argument to this object
addOption(String) - Method in class net.kd8rho.util.CommandLineArgument
Adds an option
addOption(String) - Method in class net.kd8rho.util.TextMenu
Adds an option to the list

C

CommandLineArgument - Class in net.kd8rho.util
Created by Steven on 9/7/2014.
CommandLineArgument(String) - Constructor for class net.kd8rho.util.CommandLineArgument
Instantiates new CommandLineArgument with a single argument/switch
CommandLineArgument(String, String) - Constructor for class net.kd8rho.util.CommandLineArgument
Instantiates new CommandLineArgument with a single argument/switch and description
CommandLineArgument(ArrayList<String>) - Constructor for class net.kd8rho.util.CommandLineArgument
Instantiates new CommandLineArgument with multiple arguments/switches
CommandLineArgument(ArrayList<String>, String) - Constructor for class net.kd8rho.util.CommandLineArgument
Instantiates new CommandLineArgument with multiple arguments/switches and a description
CommandLineArgumentParser - Class in net.kd8rho.util
Created by Steven on 9/7/2014.
CommandLineArgumentParser(ArrayList<CommandLineArgument>) - Constructor for class net.kd8rho.util.CommandLineArgumentParser
Instantiates new CommandLineArgumentParser with the given args as a parameter
concatStringArray(Collection<String>, String) - Static method in class net.kd8rho.util.Utility
Concatenates the strings in an Array using the default separator of a single space
concatStringArray(Collection<String>) - Static method in class net.kd8rho.util.Utility
Concatenates the strings in an Array using the default separator of a single space
concatStringArray(String[]) - Static method in class net.kd8rho.util.Utility
Concatenates the strings in an Array using the default separator of a single space
concatStringArray(String[], String) - Static method in class net.kd8rho.util.Utility
Concatenates the strings in an Array using the given separator
Credential - Class in net.kd8rho.util
Credential storage container.
Credential(String, String, Credential.StorageType) - Constructor for class net.kd8rho.util.Credential
 
Credential.StorageType - Enum in net.kd8rho.util
Storage type of credentials - indicates how the credentials are stored.

D

DBL_DEFAULT_ERROR - Variable in class net.kd8rho.util.SJIO
Default error message for double prompt
DEFAULT_PROMPT - Variable in class net.kd8rho.util.SJIO
Default prompt
displayMenu() - Method in class net.kd8rho.util.TextMenu
The real workhorse of the class, this method displays the menu and gets user input.
displayMenu(String) - Method in class net.kd8rho.util.TextMenu
The real workhorse of the class, this method displays the menu and gets user input.

F

findOption(String) - Method in class net.kd8rho.util.TextMenu
Finds the index of the given option.
firstList - Variable in class net.kd8rho.util.data.PairedList
 

G

getArg(String) - Method in class net.kd8rho.util.CommandLineArgumentParser
Gets an argument by name
getCurrentCharset() - Method in class net.kd8rho.util.SJFIO
 
getDouble() - Method in class net.kd8rho.util.SJIO
Gets a double and performs error checking.
getErrorCode() - Method in class net.kd8rho.util.data.HTTPError
 
getErrorMessage() - Method in class net.kd8rho.util.data.HTTPError
 
getFilePath() - Method in class net.kd8rho.util.SJFIO
Gets path of file
getFirst() - Method in class net.kd8rho.util.data.Name
Gets the first name
getFirstList() - Method in class net.kd8rho.util.data.PairedList
Gets the first list.
getFirstListMatchSecond(SecondObject) - Method in class net.kd8rho.util.data.PairedList
Returns an object from the first list from the same index in the second list as the given object
getInnerDirectoryName(String) - Static method in class net.kd8rho.util.Utility
Gets inner directory name, by removing everything before a path seperator "/ or \" Should be platform independent, ignores spaces and other cruft.
getInt() - Method in class net.kd8rho.util.SJIO
Gets an int and performs error checking.
getInt(int, int) - Method in class net.kd8rho.util.SJIO
Gets an int and performs error checking, ensuring it is between min and max.
getLast() - Method in class net.kd8rho.util.data.Name
Gets the last name
getLine() - Method in class net.kd8rho.util.SJIO
Gets a valid String line.
getLogFile() - Method in class net.kd8rho.util.SJIO
Gets the location of the logfile.
getMax() - Method in class net.kd8rho.util.TextMenu
Returns the maximum valid choice.
getMiddle() - Method in class net.kd8rho.util.data.Name
Gets the middle name/middle initial
getName() - Method in class net.kd8rho.util.Preference
Gets the name
getOptions() - Method in class net.kd8rho.util.CommandLineArgument
Gets the options set for this argument
getPassword() - Method in class net.kd8rho.util.Credential
 
getPlainTextPassword() - Method in class net.kd8rho.util.Credential
 
getPreference(String) - Method in class net.kd8rho.util.Preferences
Gets the preference with the name equal to the given string.
getPreference(String, Preference) - Method in class net.kd8rho.util.Preferences
Gets the preference with the name equal to the given string.
getPrefix() - Method in class net.kd8rho.util.data.Name
Gets the prefix
getPrompt() - Method in class net.kd8rho.util.TextMenu
Gets the prompt to use in the menu
getSecondList() - Method in class net.kd8rho.util.data.PairedList
Gets the second list
getSecondListMatchFirst(FirstObject) - Method in class net.kd8rho.util.data.PairedList
Returns an object from the second list from the same index in the first list as the given object
getSeperator() - Method in class net.kd8rho.util.TextMenu
Gets the seperator to use when displaying the menu
getSettingFileLocation() - Method in class net.kd8rho.util.Preferences
Gets the location the settings file is being saved to
getStorageType() - Method in class net.kd8rho.util.Credential
 
getString() - Method in class net.kd8rho.util.SJIO
Gets a valid String.
getSuffix() - Method in class net.kd8rho.util.data.Name
Gets the suffix
getTheArguments() - Method in class net.kd8rho.util.CommandLineArgument
Gets the arguments
getTheDescription() - Method in class net.kd8rho.util.CommandLineArgument
gets the description
getTheDescription() - Method in class net.kd8rho.util.CommandLineArgumentParser
Gets the description of the program
getThePreferences() - Method in class net.kd8rho.util.Preferences
Get an arraylist of preferences
getUnrecognizedArgument() - Method in exception net.kd8rho.util.UnrecognizedArgumentException
 
getURLTextToArray(String, int, boolean, String, int) - Static method in class net.kd8rho.util.Web
Gets text from URL and returns it as an ArrayList
getURLTextToArray(String) - Static method in class net.kd8rho.util.Web
Gets text from URL and returns it as an ArrayList
getURLTextToArray(String, String, String) - Static method in class net.kd8rho.util.Web
Gets text from a URL protected by HTTP authentication, using the given username and password
getURLTextToArray(String, String, String, int, boolean, String, int) - Static method in class net.kd8rho.util.Web
Gets text from a URL protected by HTTP authentication, using the given username and password
getUsername() - Method in class net.kd8rho.util.Credential
 
getValue() - Method in class net.kd8rho.util.Preference
 

H

HTTPError - Class in net.kd8rho.util.data
Created by Steven on 8/14/2014.
HTTPError(int, String) - Constructor for class net.kd8rho.util.data.HTTPError
 

I

INT_DEFAULT_ERROR - Variable in class net.kd8rho.util.SJIO
Default error message for int prompt
io - Static variable in class net.kd8rho.util.Web
 
isActive() - Method in class net.kd8rho.util.CommandLineArgument
Returns true if the command line argument has been set "active"
isAutoLog() - Method in class net.kd8rho.util.SJIO
Gets if autolog is on.
isDebugging() - Static method in class net.kd8rho.util.SJIO
Gets if the util is in DEBUG mode.
isLogToFileOnly() - Method in class net.kd8rho.util.SJIO
Returns if the lib is set to only log to file
isReady() - Method in class net.kd8rho.util.TextMenu
Tests if the menu is ready.
isWriteToLog() - Method in class net.kd8rho.util.SJIO
Returns if output to write to log file

L

last_error - Static variable in class net.kd8rho.util.Web
 
loadFromFile() - Method in class net.kd8rho.util.Preferences
Loads settings from set file.
loadFromFile(boolean) - Method in class net.kd8rho.util.Preferences
Loads settings from set file, with the option to not overwrite existing data
loadFromFile(String) - Method in class net.kd8rho.util.Preferences
Loads settings from given file, overwriting existing data
loadFromFile(String, boolean) - Method in class net.kd8rho.util.Preferences
Loads settings from given file giving the option to overwrite existing data
log(String, String, String, SJIO.LEVEL) - Method in class net.kd8rho.util.SJIO
Logs any error message from INFO to WARN
log(String, String, String, SJIO.LEVEL, boolean) - Method in class net.kd8rho.util.SJIO
Logs any error message from INFO to WARN
log(String, String, String, String) - Method in class net.kd8rho.util.SJIO
Deprecated.
log(String, String, String, String, boolean) - Method in class net.kd8rho.util.SJIO
Deprecated.

N

Name - Class in net.kd8rho.util.data
POJO to store names.
Name(String, String) - Constructor for class net.kd8rho.util.data.Name
Constructor with first and last
Name(String, String, String) - Constructor for class net.kd8rho.util.data.Name
Constructor with first, last, and middle name
Name(String, String, String, String, String) - Constructor for class net.kd8rho.util.data.Name
Constructor with prefix, first name, middle name, last name, and suffix
Name() - Constructor for class net.kd8rho.util.data.Name
Default constructor to initialize empty Name
name - Variable in class net.kd8rho.util.Preference
 
net.kd8rho.util - package net.kd8rho.util
 
net.kd8rho.util.data - package net.kd8rho.util.data
 
NotYetImplementedException - Exception in net.kd8rho.util
Exception to indicate a method, constructor, or functionality is not yet implemented.
NotYetImplementedException(Class, String, String) - Constructor for exception net.kd8rho.util.NotYetImplementedException
 

P

PairedList<FirstObject,SecondObject> - Class in net.kd8rho.util.data
Created by Steven on 8/14/2014.
PairedList(ArrayList<FirstObject>, ArrayList<SecondObject>) - Constructor for class net.kd8rho.util.data.PairedList
Constructor that sets the lists.
PairedList(FirstObject[], SecondObject[]) - Constructor for class net.kd8rho.util.data.PairedList
Constructor that sets the lists.
parse(String[]) - Method in class net.kd8rho.util.CommandLineArgumentParser
 
parseName(String, boolean) - Static method in class net.kd8rho.util.data.Name
Attempts to parse a given string into a first, last, and possibly MI
Preference - Class in net.kd8rho.util
A POJO to store a single Preference with a string value Created by Steven on 6/26/2014.
Preference(String) - Constructor for class net.kd8rho.util.Preference
Constructor that parses a given string into a Preference
Preference(String, String) - Constructor for class net.kd8rho.util.Preference
Constructor that builds a Preference out of a given name and value/
Preferences - Class in net.kd8rho.util
Preference manager.
Preferences() - Constructor for class net.kd8rho.util.Preferences
Default constructor, reads from "settings.cfg"
Preferences(String) - Constructor for class net.kd8rho.util.Preferences
Constructor that takes a String as a filename to read from and write to
Preferences(ArrayList<Preference>) - Constructor for class net.kd8rho.util.Preferences
Constructor that takes an ArrayList of Preferences to preload data with
Preferences(String, ArrayList<Preference>) - Constructor for class net.kd8rho.util.Preferences
Constructor that takes a location for a settings file and an ArrayList of Preferences to preload data with
printUsage() - Method in class net.kd8rho.util.CommandLineArgumentParser
Prints the usage to the stdout buffer
promptDouble(String) - Method in class net.kd8rho.util.SJIO
Prompts for an double and returns only a valid double.
promptDouble(String, String) - Method in class net.kd8rho.util.SJIO
Prompts for an double and returns only a valid double.
promptDouble(String, String, String) - Method in class net.kd8rho.util.SJIO
Prompts for an double and returns only a valid double.
promptInt(String) - Method in class net.kd8rho.util.SJIO
Prompts for an int and returns only a valid int.
promptInt(String, String) - Method in class net.kd8rho.util.SJIO
Prompts for an int and returns only a valid int.
promptInt(String, String, int, int) - Method in class net.kd8rho.util.SJIO
Prompts for an int and returns only a valid int between min and max.
promptInt(String, String, String) - Method in class net.kd8rho.util.SJIO
Prompts for an int and returns only a valid int between min and max.
promptLine(String) - Method in class net.kd8rho.util.SJIO
Gets a valid String.
promptString(String) - Method in class net.kd8rho.util.SJIO
Gets a valid String.

R

read() - Method in class net.kd8rho.util.SJFIO
Read file to theFileInMem, not throwing FileNotFoundException if it's not found
read(boolean) - Method in class net.kd8rho.util.SJFIO
Read file to theFileInMem
removeOption(int) - Method in class net.kd8rho.util.TextMenu
Removes an option.

S

saveToFile() - Method in class net.kd8rho.util.Preferences
Saves settings to the set file
saveToFile(boolean) - Method in class net.kd8rho.util.Preferences
Saves settings to the set file, giving the option to append if needed
saveToFile(String) - Method in class net.kd8rho.util.Preferences
Saves settings to the given file
saveToFile(String, boolean) - Method in class net.kd8rho.util.Preferences
Saves settings to the set file, giving the option to append if needed
secondList - Variable in class net.kd8rho.util.data.PairedList
 
setActive(boolean) - Method in class net.kd8rho.util.CommandLineArgument
Sets if the argument is active
setAutoLog(boolean) - Method in class net.kd8rho.util.SJIO
Sets autolog.
setCurrentCharset(Charset) - Method in class net.kd8rho.util.SJFIO
 
setDebugging(boolean) - Static method in class net.kd8rho.util.SJIO
 
setErrorCode(int) - Method in class net.kd8rho.util.data.HTTPError
 
setErrorMessage(String) - Method in class net.kd8rho.util.data.HTTPError
 
setErrorPrompt(String) - Method in class net.kd8rho.util.TextMenu
Sets the error prompt to display on bad user input.
setFilePath(String) - Method in class net.kd8rho.util.SJFIO
Changes filepath
setFirst(String) - Method in class net.kd8rho.util.data.Name
Sets the first name
setFormat(String) - Method in class net.kd8rho.util.TextMenu
Sets an extra valid format to be used for user input (for things such as secret functions...)
setLast(String) - Method in class net.kd8rho.util.data.Name
Sets the last name
setLists(ArrayList<FirstObject>, ArrayList<SecondObject>) - Method in class net.kd8rho.util.data.PairedList
Sets the lists.
setLists(FirstObject[], SecondObject[]) - Method in class net.kd8rho.util.data.PairedList
Sets the lists.
setLogFile(String) - Method in class net.kd8rho.util.SJIO
sets a logfile to use in addition to the console.
setLogFile(String, boolean) - Method in class net.kd8rho.util.SJIO
sets a logfile to use in addition to the console.
setLogToFileOnly(boolean) - Method in class net.kd8rho.util.SJIO
Sets whether to only log to file (Make sure to set a file to log to, or nothing will get logged!)
setMiddle(String) - Method in class net.kd8rho.util.data.Name
Sets the middle name/middle initial
setName(String) - Method in class net.kd8rho.util.Preference
Sets the name
setOptions(ArrayList<String>) - Method in class net.kd8rho.util.CommandLineArgument
Sets the options for this argument
setPassword(String) - Method in class net.kd8rho.util.Credential
 
setPreference(String, String) - Method in class net.kd8rho.util.Preferences
Set a specific preference.
setPreference(Preference) - Method in class net.kd8rho.util.Preferences
Set a specific preference.
setPrefix(String) - Method in class net.kd8rho.util.data.Name
Sets the prefix
setPrompt(String) - Method in class net.kd8rho.util.TextMenu
Sets the prompt to use in the menu
setSeperator(String) - Method in class net.kd8rho.util.TextMenu
Sets the seperator to use when displaying the menu
setSettingFileLocation(String) - Method in class net.kd8rho.util.Preferences
Sets the location the settings file is being saved to
setStorageType(Credential.StorageType) - Method in class net.kd8rho.util.Credential
 
setSuffix(String) - Method in class net.kd8rho.util.data.Name
Sets the suffix
setTheArguments(ArrayList<String>) - Method in class net.kd8rho.util.CommandLineArgument
Sets the arguments
setTheDescription(String) - Method in class net.kd8rho.util.CommandLineArgument
Sets the description
setTheDescription(String) - Method in class net.kd8rho.util.CommandLineArgumentParser
Sets the description of the program
setUsername(String) - Method in class net.kd8rho.util.Credential
 
setValue(String) - Method in class net.kd8rho.util.Preference
 
setWriteToLog(boolean) - Method in class net.kd8rho.util.SJIO
Sets output to write to log file, if set.
SJFIO - Class in net.kd8rho.util
Class to write to and read from a file.
SJFIO(String) - Constructor for class net.kd8rho.util.SJFIO
Constructor
SJIO - Class in net.kd8rho.util
Input-output class to work with STDIO and other IO streams.
SJIO(InputStream, OutputStream) - Constructor for class net.kd8rho.util.SJIO
Constructor Takes inputsteam and initializes SJIO scanner to it.
SJIO(Scanner, OutputStream) - Constructor for class net.kd8rho.util.SJIO
Constructor Takes inputsteam and initializes SJIO scanner to it.
SJIO(InputStream) - Constructor for class net.kd8rho.util.SJIO
Constructor Takes inputsteam and initializes SJIO scanner to it.
SJIO() - Constructor for class net.kd8rho.util.SJIO
Default Constructor Initializes scanner to System.in OK for most purposes
SJIO.LEVEL - Enum in net.kd8rho.util
Log levels

T

TextMenu - Class in net.kd8rho.util
This is a text menu that can be used to display options and get user input.
TextMenu() - Constructor for class net.kd8rho.util.TextMenu
Default constructor.
TextMenu(String, String[]) - Constructor for class net.kd8rho.util.TextMenu
Constructor with options and prompt.
TextMenu(String, ArrayList<String>) - Constructor for class net.kd8rho.util.TextMenu
Constructor with options and prompt.
TextMenu(String) - Constructor for class net.kd8rho.util.TextMenu
Constructor with just a prompt - need to add options too
theFileInMem - Variable in class net.kd8rho.util.SJFIO
The ArrayList that stores the data from the file
TIMED_OUT - Static variable in class net.kd8rho.util.Web
 
toFormattedString(String) - Method in class net.kd8rho.util.data.Name
Returns a string of the name, formatted.
toLine() - Method in class net.kd8rho.util.Preference
 
toString() - Method in class net.kd8rho.util.data.Name
Returns the full name, with prefix first middle last suffix

U

UnrecognizedArgumentException - Exception in net.kd8rho.util
Created by Steven on 9/7/2014.
UnrecognizedArgumentException(String) - Constructor for exception net.kd8rho.util.UnrecognizedArgumentException
 
Utility - Class in net.kd8rho.util
Contains convenience methods.
Utility() - Constructor for class net.kd8rho.util.Utility
 

V

value - Variable in class net.kd8rho.util.Preference
 
valueOf(String) - Static method in enum net.kd8rho.util.Credential.StorageType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.kd8rho.util.SJIO.LEVEL
Returns the enum constant of this type with the specified name.
values() - Static method in enum net.kd8rho.util.Credential.StorageType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.kd8rho.util.SJIO.LEVEL
Returns an array containing the constants of this enum type, in the order they are declared.

W

Web - Class in net.kd8rho.util
Web class designed to allow for easy downloading of data from Web sites.
Web() - Constructor for class net.kd8rho.util.Web
 
write() - Method in class net.kd8rho.util.SJFIO
Writes theFileInMem to the file.
write(String) - Method in class net.kd8rho.util.SJIO
Writes a message, no newline
writeLine(String) - Method in class net.kd8rho.util.SJIO
Writes a message with a newline following it
writeLogFile() - Method in class net.kd8rho.util.SJIO
Writes current log to logfile.
A C D F G H I L N P R S T U V W 
Skip navigation links