- get(Object) - Method in class org.brains2b.collection.SortedMap
-
Overwritten the default get for performance reasons
We bypass the entrySet() while it will sort the collection
first.
- getArgument() - Method in exception org.brains2b.console.ArgumentException
-
Gets the Argument for which the Exception was thrown
- getArgument(String) - Method in class org.brains2b.console.Main
-
gets the value of an argument defined by name.
- getArgumentMap() - Method in class org.brains2b.console.Main
-
gets the ArgumentMap.
- getBrightness(Color) - Static method in class org.brains2b.util.GuiHelper
-
get a float representing the brightness of a Color
- getDateFormat() - Method in class org.brains2b.util.DateHelper.ThreadSafeDateFormat
-
convenience method for return DateFormat from ThreadLocal.get()
- getExtension(String) - Static method in class org.brains2b.util.FileHelper
-
get the the extension of a filename or path
- getID() - Method in class org.brains2b.task.TaskEvent
-
- getKey() - Method in class org.brains2b.collection.MapEntry
-
- getList(String[]) - Method in class org.brains2b.console.ArgumentMap
-
gets the Map of all arguments supplied through String[] args
mapped to their argument name.
- getLocale(String) - Static method in class org.brains2b.util.LocaleHelper
-
gets Locale from a String representing a Locale
- getLogger() - Static method in class org.brains2b.log.Logger
-
get the default TwelBox logger
- getMax() - Method in class org.brains2b.task.DefaultTask
-
Gets the maximum position.
- getMax() - Method in class org.brains2b.task.TaskEvent
-
Gets the maximum position.
- getMessages() - Method in class org.brains2b.task.DefaultTask
-
- getMessages() - Method in interface org.brains2b.task.Task
-
get the Stack of messages with either errors or warnings generated by this Task
- getMin() - Method in class org.brains2b.task.DefaultTask
-
Gets the mininum position.
- getMin() - Method in class org.brains2b.task.TaskEvent
-
Gets the minimum position .
- getName(String) - Static method in enum org.brains2b.enums.OsName
-
get OsName from String.
- getName() - Static method in enum org.brains2b.enums.OsName
-
get the current OsName for the running system
- getNameWithoutExt(String) - Static method in class org.brains2b.util.FileHelper
-
get the filename without the extension and path
- getNextAvailableFile(File) - Static method in class org.brains2b.util.FileHelper
-
from the give file will make the next file in a sequence given that it does not exist
- getNonBaseCharacter(String) - Static method in class org.brains2b.util.StringHelper
-
get the first non-base character (not A-Z,a-z,0-9) from the start of the String
- getNonBaseCharacter(String, int) - Static method in class org.brains2b.util.StringHelper
-
get the first non-base character (not A-Z,a-z,0-9) from start
- getPattern() - Method in class org.brains2b.util.DateHelper.ThreadSafeDateFormat
-
get the Pattern/Mask for this DateFormat
- getPosition() - Method in class org.brains2b.task.DefaultTask
-
Gets the position.
- getPosition() - Method in class org.brains2b.task.TaskEvent
-
Gets the position.
- getResult() - Method in class org.brains2b.task.DefaultTask
-
- getResult() - Method in interface org.brains2b.task.Task
-
- getReverseCamel(String) - Static method in class org.brains2b.util.JavaHelper
-
return the string with _ separator from a CamelCase String
- getSortOrder() - Method in class org.brains2b.collection.SortedMap
-
gets the sort order.
- getValue() - Method in class org.brains2b.collection.MapEntry
-
- getVersion(String) - Static method in enum org.brains2b.enums.JavaVersion
-
get the correct enum value from the java runtime information
- getVersion() - Static method in enum org.brains2b.enums.JavaVersion
-
get the current java version as an enum
- getWidth(String) - Static method in class org.brains2b.util.GuiHelper
-
- getWidth(String, int) - Static method in class org.brains2b.util.GuiHelper
-
- GuiHelper - Class in org.brains2b.util
-
Static help function for GUI related items
- indexOfWord(String, String, int) - Static method in class org.brains2b.util.StringHelper
-
get the index of the start of word within the String
- INFO - Static variable in class org.brains2b.log.Logger
-
INFO
- initCaps(String, char) - Static method in class org.brains2b.util.StringHelper
-
Capitalize the first Letter in a String and
all letters following the char.
- initialValue() - Method in class org.brains2b.util.DateHelper.ThreadSafeDateFormat
-
- isColor(String) - Static method in class org.brains2b.util.GuiHelper
-
check if a value supplied as a String contains
the information to be used as a Color
- isCountry(String) - Static method in class org.brains2b.util.LocaleHelper
-
Determines if a two letter combination is a valid ISO country code.
- isEmpty() - Method in class org.brains2b.collection.SortedMap
-
- isEmpty(String) - Static method in class org.brains2b.util.StringHelper
-
check if a String is empty, meaning a String of length zero or null
- isFinished() - Method in class org.brains2b.task.DefaultTask
-
- isFinished() - Method in interface org.brains2b.task.Task
-
indicate the Task has finished
- isFinished() - Method in class org.brains2b.task.TaskEvent
-
True if Task has finished
- isFont(String) - Static method in class org.brains2b.util.GuiHelper
-
check if a value supplied as a String contains
the information to be used as a Font
- isLanguage(String) - Static method in class org.brains2b.util.LocaleHelper
-
Determines if a two letter combination is a valid ISO language code.
- isNumber(String) - Static method in class org.brains2b.util.StringHelper
-
check if the given String is a number.
- ISO_DATE - Static variable in class org.brains2b.util.DateHelper
-
a Thread safe implementation of DateFormat for an ISO date
- isoFromDate(Date, boolean) - Static method in class org.brains2b.util.DateHelper
-
Writes a date to an ISO-string, either with or without time
- isoFromDate(Date) - Static method in class org.brains2b.util.DateHelper
-
Writes a date to an ISO-string without time
- isoToDate(String) - Static method in class org.brains2b.util.DateHelper
-
Convert an ISO-date String into a Date
- isQuoteCharacter(char) - Static method in class org.brains2b.util.StringHelper
-
check is a character is a quote: " or &
- Main - Class in org.brains2b.console
-
Main is a class for applications that are depending on commandline argument,
like console applications.
- Main() - Constructor for class org.brains2b.console.Main
-
Constructor for Main.
- makeArgumentList(String[]) - Method in class org.brains2b.console.Main
-
Makes the argument list on the basis of a defined ArgumentMap and the supplied
array of arguments
- MapEntry<K,V> - Class in org.brains2b.collection
-
A straightforward implementation of the Map.Entry interface outside the Map class
- MapEntry() - Constructor for class org.brains2b.collection.MapEntry
-
Default Constructor for MapEntry.
- MapEntry(K) - Constructor for class org.brains2b.collection.MapEntry
-
Constructor for MapEntry.
- MapEntry(K, V) - Constructor for class org.brains2b.collection.MapEntry
-
Constructor for MapEntry.
- matchBracket(char, String) - Static method in class org.brains2b.util.StringHelper
-
Finds the matching bracket for the first character given by left in
String line.
- matchBracket(int, String) - Static method in class org.brains2b.util.StringHelper
-
Finds the matching bracket for the bracket character at pos
in line.
- max(Date, Date) - Static method in class org.brains2b.util.DateHelper
-
Return the last Date for two compared Dates
- memberName(String) - Static method in class org.brains2b.util.JavaHelper
-
Makes a valid java member name by first making it into
a javaName and then appending 'm_' to it.
- min(Date, Date) - Static method in class org.brains2b.util.DateHelper
-
Return the first Date for two compared Dates
- MISSING_ARGUMENT - Static variable in exception org.brains2b.console.ArgumentException
-
Constant for error message A required argument is missing
- PANIC - Static variable in class org.brains2b.log.Logger
-
PANIC
- paramString() - Method in class org.brains2b.collection.EntryImpl
-
Method paramString is used for testing purposes.
- print(Object) - Static method in class org.brains2b.log.Logger
-
Prints the Object to the standard or defined output,
irrespective of the level
- print(Object, int) - Static method in class org.brains2b.log.Logger
-
Prints the Object to the standard or defined output,
if the level given is smaller or equal to the Logger.level
- printException(String, Exception) - Static method in class org.brains2b.log.Logger
-
Writes the message to the standard or defined error stream if the level of
logger is greater or equal to ERROR, writes the complete stack trace underneath
if the logger is set to DEBUG or DEBUG_VERBOSE.
- printException(Exception) - Static method in class org.brains2b.log.Logger
-
Uses printException(String,Exception) to write the Exception message to the standard or defined error stream if the level of
logger is greater or equal to ERROR, and writing the complete stack trace underneath
if the logger is set to DEBUG or DEBUG_VERBOSE.
- println(String) - Static method in class org.brains2b.log.Logger
-
Prints the String to the standard or defined output,
irrespective of the level
- println(String, int) - Static method in class org.brains2b.log.Logger
-
Prints the String to the standard or defined output,
if the level given is smaller or equal to the Logger.level
- progress() - Method in class org.brains2b.task.DefaultTask
-
Progresses the position by one, until the maximum given
by max.
- progress(int) - Method in class org.brains2b.task.DefaultTask
-
Progresses the position by value, until the maximum given
by max.
- put(Object, Object) - Method in class org.brains2b.collection.SortedMap
-
SortedMap does not allow null for keys or values
- putAll(Map) - Method in class org.brains2b.collection.SortedMap
-
- setArgument(String, String) - Method in class org.brains2b.console.Main
-
set arguments to the list of arguments.
- setArgumentMap(ArgumentMap) - Method in class org.brains2b.console.Main
-
Sets the ArgumentMap.
- setFinished(boolean) - Method in class org.brains2b.task.DefaultTask
-
- setFinished(boolean) - Method in interface org.brains2b.task.Task
-
set the task finished
- setFinished(boolean) - Method in class org.brains2b.task.TaskEvent
-
set to true if task has finished
- setKey(K) - Method in class org.brains2b.collection.MapEntry
-
sets the Key
- setLevel(int) - Static method in class org.brains2b.log.Logger
-
sets the Logger level programmatically.
- setMax(int) - Method in class org.brains2b.task.DefaultTask
-
Sets the maximum position
- setMiddle(Rectangle, Rectangle) - Static method in class org.brains2b.util.GuiHelper
-
Calculates Middle for a target from a source
- setMin(int) - Method in class org.brains2b.task.DefaultTask
-
Sets the minimum position
- setResult(int) - Method in class org.brains2b.task.DefaultTask
-
- setSortOrder(int) - Method in class org.brains2b.collection.SortedMap
-
sets the sort order for this SortedMap
- setValue(Object) - Method in class org.brains2b.collection.MapEntry
-
- singleName(String) - Static method in class org.brains2b.util.JavaHelper
-
Returns the single objectName from possible plural name
use this only with English plurals!
- size() - Method in class org.brains2b.collection.SortedMap
-
- SortedMap<A,B> - Class in org.brains2b.collection
-
Map implementation that can be sorted defined by a given sort order
Possible sort orders are
KEY
VALUE
NO_SORT
Not sorted is the default implementation.
- SortedMap(int) - Constructor for class org.brains2b.collection.SortedMap
-
Constructor for SortedMap.
- SortedMap() - Constructor for class org.brains2b.collection.SortedMap
-
Constructor for SortedMap.
- SortedMap(Map, int) - Constructor for class org.brains2b.collection.SortedMap
-
Constructor for SortedMap.
- SortedMap(Map) - Constructor for class org.brains2b.collection.SortedMap
-
Constructor for SortedMap.
- SortedMap(Hashtable) - Constructor for class org.brains2b.collection.SortedMap
-
Constructor for SortedMap.
- StampedFormatter() - Constructor for class org.brains2b.log.Logger.StampedFormatter
-
Constructor for StampedFormatter
- StringHelper - Class in org.brains2b.util
-
Some static functions that help with Stringmanipulation.
- stripper(String, char) - Static method in class org.brains2b.util.StringHelper
-
Strips a character from a String.