A B C D E F G H I J K L M N O P Q R S T U V W

A

add(Object) - Method in class org.pfsw.text.json.JsonArray
Adds the given element if it is a valid JSON object type.
add(String...) - Method in class org.pfsw.text.StringCollectionFilter
Add the given strings to the internal string collection.
add(StringPattern) - Method in class org.pfsw.text.StringPatternCollection
Adds the given pattern to the collection of patterns, if it is not yet there
add(String) - Method in class org.pfsw.text.StringPatternCollection
Adds the given pattern as pattern to the collection of patterns, if it is not yet there.
addAll(Collection<StringPattern>, StringPattern[]) - Method in class org.pfsw.text.MatchGroup
 
addAll(Collection<String>, String...) - Method in class org.pfsw.text.StringUtil
Adds all given strings to the specified collection.
addAll(Collection<String>, String[], boolean) - Method in class org.pfsw.text.StringUtil
Adds all given strings to the specified collection.
addAllNew(Collection<String>, String...) - Method in class org.pfsw.text.StringUtil
Adds all given strings to the specified collection, if they are not already in the collection.
addElement(MatchElement) - Method in class org.pfsw.text.MatchGroup
Add the specified element to the group.
addElement(int) - Method in class org.pfsw.text.Version
 
addElements(Object...) - Method in class org.pfsw.text.json.JsonArray
Adds all given elements if they are valid JSON object types, which are: JsonObject JsonArray String Boolean Integer Long BigDecimal null Objects of other types will cause an exception.
addElementToCurrentGroup(LdapMatchRuleVisitor.ElementInfo, boolean) - Method in class org.pfsw.text.LdapMatchRuleVisitor
 
addFilters(IStringFilter...) - Method in class org.pfsw.text.StringFilterCollection
Adds all given filters to this collection.
addOption(String) - Method in class org.pfsw.text.CommandLineArguments
Adds the given option to the command line.
addOptionWithArgument(String, String) - Method in class org.pfsw.text.CommandLineArguments
Adds the given option to the command line.
addOptionWithValue(Map<String, String[]>, String, String) - Method in class org.pfsw.text.CommandLineArguments
 
addOptionWithValues(Map<String, String[]>, String, List<String>) - Method in class org.pfsw.text.CommandLineArguments
 
addPatterns(String) - Method in class org.pfsw.text.StringPatternCollection
Adds all patterns in the given string which must be separated by ';'.
addPatterns(String, String) - Method in class org.pfsw.text.StringPatternCollection
Adds all patterns in the given string which must be separated by ';'.
addPatterns(Collection<String>) - Method in class org.pfsw.text.StringPatternCollection
Adds all patterns strings in the given collection.
addPatterns(StringPatternCollection) - Method in class org.pfsw.text.StringPatternCollection
Adds all patterns from the given pattern collection.
addPatterns(String[]) - Method in class org.pfsw.text.StringPatternCollection
Adds all patterns in the given array.
addSingleString(String) - Method in class org.pfsw.text.StringCollectionFilter
Add the given string to the internal string collection.
allParts(String, String) - Method in class org.pfsw.text.StringUtil
Returns an array of substrings of the given text.
allParts(String, String, char) - Method in class org.pfsw.text.StringUtil
Returns an array of substrings of the given text.
allParts(String, String, char[]) - Method in class org.pfsw.text.StringUtil
Returns an array of substrings of the given text.
allSubstrings(String, String) - Method in class org.pfsw.text.StringUtil
Returns the given text split up into an array of strings, at the occurrences of the separator string.
append(char) - Method in class org.pfsw.text.FormattedTextWriter
 
append(CharSequence) - Method in class org.pfsw.text.FormattedTextWriter
 
append(CharSequence, int, int) - Method in class org.pfsw.text.FormattedTextWriter
 
append(String[], String) - Method in class org.pfsw.text.StringUtil
Returns the given string array extended by one element that hold the specified string.
append(String[], String[]) - Method in class org.pfsw.text.StringUtil
Returns an array of strings that contains all strings given by the first and second string array.
append_IN(String, String[]) - Method in class org.pfsw.text.SqlMatchRuleVisitor
 
appendAsJSONString(Appendable) - Method in class org.pfsw.text.json.JsonArray
 
appendAsJSONString(Appendable) - Method in class org.pfsw.text.json.JsonObject
 
appendAsJSONString(Appendable) - Method in class org.pfsw.text.StringPair
Appends the internal state as JSON string representation to the given buffer.
appendAsJSONString(Appendable) - Method in class org.pfsw.text.StringPattern
 
appendAsJSONString(Appendable) - Method in class org.pfsw.text.StringPatternCollection
 
appendAttribute(LdapMatchRuleVisitor.AttributeInfo) - Method in class org.pfsw.text.LdapMatchRuleVisitor
 
appendAttribute(String, MatchRuleCompareOperator, String[], boolean) - Method in class org.pfsw.text.LdapMatchRuleVisitor
 
appendAttribute(String, MatchRuleCompareOperator, String) - Method in class org.pfsw.text.LdapMatchRuleVisitor
 
appendAttribute(String, MatchRuleCompareOperator, String) - Method in class org.pfsw.text.SqlMatchRuleVisitor
 
appendAttributeValues(String, MatchRuleCompareOperator, String[]) - Method in class org.pfsw.text.SqlMatchRuleVisitor
 
appendGroup(LdapMatchRuleVisitor.GroupInfo) - Method in class org.pfsw.text.LdapMatchRuleVisitor
 
appendGroup(MatchGroup) - Method in class org.pfsw.text.MatchRule
 
appendGroupElement(LdapMatchRuleVisitor.ElementInfo) - Method in class org.pfsw.text.LdapMatchRuleVisitor
 
appendGroupElements(List<LdapMatchRuleVisitor.ElementInfo>, boolean) - Method in class org.pfsw.text.LdapMatchRuleVisitor
 
appendIfNotThere(String[], String) - Method in class org.pfsw.text.StringUtil
Returns an array of strings that contains all strings given in the first plus the specified string to append, if it is not already in the given array.
appendIfNotThere(String[], String[]) - Method in class org.pfsw.text.StringUtil
Returns an array of strings that contains all strings given in the first plus all strings of the second array that are not already in the first array.
appendJSONArray(Appendable, Object...) - Method in class org.pfsw.text.json.JsonUtil
Appends the given object array to the given output in a valid JSON string representation.
appendJSONConvertible(Appendable, IJSONConvertible) - Method in class org.pfsw.text.json.JsonUtil
Converts the given object to a valid JSON string representation and appends it to the given buffer.
appendJSONMap(Appendable, Map<String, Object>) - Method in class org.pfsw.text.json.JsonUtil
Adds the given map to the buffer as JSON representation.
appendJSONObject(Appendable, Object) - Method in class org.pfsw.text.json.JsonUtil
Appends the given object to the output as a valid JSON string.
appendJSONPair(Appendable, String, Object) - Method in class org.pfsw.text.json.JsonUtil
Appends the given name and value as JSON pair member to the given buffer.
appendJsonPair(Appendable, String, Object) - Method in class org.pfsw.text.json.JsonUtil
Appends the given name and value as JSON pair member to the given buffer.
appendJsonPair(Appendable, String, Object, boolean) - Method in class org.pfsw.text.json.JsonUtil
Appends the given name and value as JSON pair member to the given output.
appendJSONString(Appendable, String) - Method in class org.pfsw.text.json.JsonUtil
Appends the given string to the buffer as a valid JSON string literal.
appendOperators(boolean, boolean) - Method in class org.pfsw.text.MatchRulePrinter
 
appendOperators(boolean, boolean) - Method in class org.pfsw.text.SqlMatchRuleVisitor
 
appendUpToPosition(StringBuffer, int) - Method in class org.pfsw.text.StringExaminer
Appends all characters from the current position up to the specified position of the examined string to the given buffer.
appendUpToPosition(StringBuffer, int, boolean) - Method in class org.pfsw.text.StringExaminer
Returns the a string containing all characters from the current position up to the specified position of the examined string.
appendValue(String) - Method in class org.pfsw.text.MatchRulePrinter
 
appendValue(String) - Method in class org.pfsw.text.SqlMatchRuleVisitor
 
appendValueList(String[]) - Method in class org.pfsw.text.MatchRulePrinter
 
apply(MatchRuleVisitor) - Method in class org.pfsw.text.MatchAttribute
 
apply(MatchRuleVisitor) - Method in class org.pfsw.text.MatchElement
 
apply(MatchRuleVisitor) - Method in class org.pfsw.text.MatchGroup
 
apply(MatchRuleVisitor) - Method in class org.pfsw.text.MatchRule
Iterates through all elements of the rule and calls the appropriate methods of the given visitor.
applyDatatypes(Map<String, Class<?>>) - Method in class org.pfsw.text.MatchAttribute
 
applyDatatypes(Map<String, Class<?>>) - Method in class org.pfsw.text.MatchElement
 
applyDatatypes(Map<String, Class<?>>) - Method in class org.pfsw.text.MatchGroup
 
areEqual(String[], String[]) - Method in class org.pfsw.text.StringUtil
Returns true if all elements of the first given array are in the second given array and the length of both arrays are equal.
areEqualIgnoreCase(String[], String[]) - Method in class org.pfsw.text.StringUtil
Returns true if all elements of the first given array are in the second given array and the length of both arrays are equal.
arguments() - Method in class org.pfsw.text.CommandLineArguments
 
arguments(String[]) - Method in class org.pfsw.text.CommandLineArguments
 
arrayToJSON(Object...) - Method in class org.pfsw.text.json.JsonUtil
Converts the given object array to a valid JSON string representation.
asArray() - Method in class org.pfsw.text.StringPair
Returns both strings of this pair in a String array.
asBytes() - Method in class org.pfsw.text.ByteSizeValue
Returns the value in BYTES.
asConfigSettings(Map<String, String>) - Method in class org.pfsw.text.StringUtil
Converts the given map to an object that conforms to interface IConfigSettings.
asConfigSettings(Properties) - Method in class org.pfsw.text.StringUtil
Converts the given properties to an object that conforms to interface IConfigSettings.
asConfigSettings(String) - Method in class org.pfsw.text.StringUtil
Returns a new IConfigSettings object that contains all key-value pairs of the specified string.
asConfigSettings(String, String, String) - Method in class org.pfsw.text.StringUtil
Returns a new IConfigSettings object that contains all key-value pairs of the specified string.
asExaBytes() - Method in class org.pfsw.text.ByteSizeValue
Returns the value in EXA_BYTES.
asGigaBytes() - Method in class org.pfsw.text.ByteSizeValue
Returns the value in GIGA_BYTES.
asHours() - Method in class org.pfsw.text.TimeValue
Returns the underlying time in hours.
asInteger() - Method in class org.pfsw.text.NaturalNumber
 
asInteger(String, int) - Method in class org.pfsw.text.StringUtil
Converts the given string to an int or returns the given default value if the string does not represent a valid integer value.
asKiloBytes() - Method in class org.pfsw.text.ByteSizeValue
Returns the value in KILO_BYTES.
asList(Class<T>) - Method in class org.pfsw.text.json.JsonArray
Returns a copy of this JsonArray as list of elements with the same type.
asList() - Method in class org.pfsw.text.StringFilterCollection
Returns a list with all currently held filters.
asList(String...) - Method in class org.pfsw.text.StringUtil
Returns a new List initialized with the given strings.
asLong() - Method in class org.pfsw.text.NaturalNumber
 
asLong(String, long) - Method in class org.pfsw.text.StringUtil
Converts the given string to a long or returns the given default value if the string does not represent a valid long value.
asMap(String[][]) - Method in class org.pfsw.text.StringUtil
Converts the given array of string arrays to a map.
asMap(String) - Method in class org.pfsw.text.StringUtil
Returns a new map object that contains all key-value pairs of the specified string.
asMap(String, String) - Method in class org.pfsw.text.StringUtil
Returns a new map object that contains all key-value pairs of the specified string.
asMap(String, String, String) - Method in class org.pfsw.text.StringUtil
Returns a new map object that contains all key-value pairs of the specified string.
asMegaBytes() - Method in class org.pfsw.text.ByteSizeValue
Returns the value in MEGA_BYTES.
asMilliseconds() - Method in class org.pfsw.text.TimeValue
 
asMinutes() - Method in class org.pfsw.text.TimeValue
 
asPetaBytes() - Method in class org.pfsw.text.ByteSizeValue
Returns the value in PETA_BYTES.
asProperties(String) - Method in class org.pfsw.text.StringUtil
Adds all key-value pairs of the given string to a new properties object.
asReadOnlyNamedValues(Properties) - Method in class org.pfsw.text.StringUtil
Converts the given properties to an object that conforms to interface IReadOnlyNamedValues.
asReadOnlyNamedValues(Map<String, T>) - Method in class org.pfsw.text.StringUtil
Converts the given map to an object that conforms to interface IReadOnlyNamedValues.
asSearchString(MatchRule) - Method in class org.pfsw.text.LdapMatchRuleVisitor
Converts the given match rule into a LDAP search string compliant to RFC 1558.
asSeconds() - Method in class org.pfsw.text.TimeValue
 
asSortedString(String[]) - Method in class org.pfsw.text.StringUtil
Returns a string that contains all given strings sorted (in ascending order), concatenated and separated by the specified separator.
asSortedString(String[], String) - Method in class org.pfsw.text.StringUtil
Returns a string that contains all given strings sorted (in ascending order), concatenated and separated by the specified separator.
asSortedString(String[], String, boolean) - Method in class org.pfsw.text.StringUtil
Returns a string that contains all given strings sorted, concatenated and separated by the specified separator.
asSortedString(String[], String, Comparator<String>) - Method in class org.pfsw.text.StringUtil
Returns a string that contains all given strings sorted, concatenated and separated by the specified separator.
asSqlClause(MatchRule) - Method in class org.pfsw.text.SqlMatchRuleVisitor
Converts the given match rule into a SQL conditional clause.
asString() - Method in class org.pfsw.text.json.JsonArray
Returns the JSON string representation of this object.
asString() - Method in class org.pfsw.text.json.JsonObject
Returns the JSON string representation of this object.
asString(MatchRule) - Method in class org.pfsw.text.MatchRulePrinter
Returns the specified match rule as a string.
asString() - Method in class org.pfsw.text.NaturalNumber
 
asString() - Method in enum org.pfsw.text.NewLine
 
asString() - Method in class org.pfsw.text.StringPair
Returns the string representation of the pair with the default separator.
asString(String) - Method in class org.pfsw.text.StringPair
Returns the two strings as one string separated by the given separator.
asString() - Method in class org.pfsw.text.StringPattern
 
asString(Object) - Method in class org.pfsw.text.StringUtil
Returns a string representation of the given object.
asString(String[]) - Method in class org.pfsw.text.StringUtil
Returns a string that contains all given strings concatenated and separated by comma.
asString(String[], String) - Method in class org.pfsw.text.StringUtil
Returns a string that contains all given strings concatenated and separated by the specified separator.
asString(Collection<String>) - Method in class org.pfsw.text.StringUtil
Returns a string that contains all strings from the given collection concatenated and separated by comma.
asString(Collection<String>, String) - Method in class org.pfsw.text.StringUtil
Returns a string that contains all strings from the given collection concatenated and separated by the specified separator.
asString(Map, String, String) - Method in class org.pfsw.text.StringUtil
Converts the given map to a string utilizing the given separators.
asString(Map<?, ?>, String) - Method in class org.pfsw.text.StringUtil
Converts the given map to a string utilizing the given separator.
asString(Map<?, ?>) - Method in class org.pfsw.text.StringUtil
Converts the given map to a string.
asString(char) - Method in class org.pfsw.text.StringUtil
Returns a new string that contains only the given character.
asString() - Method in class org.pfsw.text.Version
Returns the version as string.
asStringEnclosed(Collection<String>, String, String, String) - Method in class org.pfsw.text.StringUtil
Returns a string that contains all strings from the given collection concatenated and separated by the specified separator.
asStrings(Collection<String>) - Method in class org.pfsw.text.StringUtil
Returns a string array containing all elements of the given collection.
asStrings(Enumeration<String>) - Method in class org.pfsw.text.StringUtil
Returns a string array containing all elements of the given enumeration.
asTeraBytes() - Method in class org.pfsw.text.ByteSizeValue
Returns the value in TERA_BYTES.
asTimeValue(Long, TimeUnit) - Method in class org.pfsw.text.json.JsonObjectAccessor
 
AStringFilter - Class in org.pfsw.text
Subclasses of this abstract string filter class usually must override only method matches(String).
AStringFilter() - Constructor for class org.pfsw.text.AStringFilter
 
atEnd(char) - Method in class org.pfsw.text.BaseMatchRuleParser
Returns true, if the given character indicates the end of a scanned string.
atEnd() - Method in class org.pfsw.text.StringScanner
Returns true, if the scanner has reached the end and a further invocation of nextChar() would return the END_REACHED character.
attribute(String, MatchRuleCompareOperator, String[], boolean, boolean) - Method in class org.pfsw.text.LdapMatchRuleVisitor
This method will be called for each attribute.
attribute(String, MatchRuleCompareOperator, String[], boolean, boolean) - Method in class org.pfsw.text.MatchRulePrinter
This method will be called for each attribute.
attribute(String, MatchRuleCompareOperator, String[], boolean, boolean) - Method in interface org.pfsw.text.MatchRuleVisitor
This method will be called for each attribute.
attribute(String, MatchRuleCompareOperator, String[], boolean, boolean) - Method in class org.pfsw.text.SqlMatchRuleVisitor
This method will be called for each attribute.

B

BaseMatchRuleParser - Class in org.pfsw.text
Abstract superclass for parsers that produce a MatchRule from any specific syntax.
BaseMatchRuleParser() - Constructor for class org.pfsw.text.BaseMatchRuleParser
Initialize the new instance with default values
BaseMatchRuleParser(String) - Constructor for class org.pfsw.text.BaseMatchRuleParser
Initialize the new instance with the given rule.
BEGIN_ARRAY - Static variable in interface org.pfsw.text.json.JsonConstants
 
BEGIN_OBJECT - Static variable in interface org.pfsw.text.json.JsonConstants
 
buffer - Variable in class org.pfsw.text.StringScanner
 
ByteSizeUnit - Enum in org.pfsw.text
This enum provides several memory size units with an associated factor that is useful to calculate the number of bytes from a value given in a different memory size unit.
ByteSizeValue - Class in org.pfsw.text
Represents a number-of-bytes value and provides parsing of strings and various different getters for various byte size units.
ByteSizeValue(BigDecimal) - Constructor for class org.pfsw.text.ByteSizeValue
Initialize the new instance with a value in bytes.
ByteSizeValue(long) - Constructor for class org.pfsw.text.ByteSizeValue
Initialize the new instance with a value in bytes.
ByteSizeValue(BigDecimal, ByteSizeUnit) - Constructor for class org.pfsw.text.ByteSizeValue
Initialize the new instance with a value and unit.
ByteSizeValue(long, ByteSizeUnit) - Constructor for class org.pfsw.text.ByteSizeValue
Initialize the new instance with a value and unit.
ByteSizeValue(String, ByteSizeUnit) - Constructor for class org.pfsw.text.ByteSizeValue
Initialize the new instance with a string that must contain digits, an optional decimal point and optionally followed by the prefix name of a unit (ByteSizeUnit).
ByteSizeValue(String) - Constructor for class org.pfsw.text.ByteSizeValue
Initialize the new instance with a string that must contain digits, an optional decimal point and optionally followed by the prefix name of a unit (ByteSizeUnit).
ByteSizeValue() - Constructor for class org.pfsw.text.ByteSizeValue
Creates a new instance with the value: 0 bytes.
bytesToHex(byte...) - Method in class org.pfsw.text.StringUtil
Converts the given bytes to a string with a hex representation for each byte.
bytesToHex(String, byte...) - Method in class org.pfsw.text.StringUtil
Converts the given bytes to a string with a hex representation for each byte.

C

canBeInOperator(MatchRuleCompareOperator, String[]) - Method in class org.pfsw.text.SqlMatchRuleVisitor
 
center(String, int) - Method in class org.pfsw.text.StringUtil
Returns the given string filled (on the right and right) up to the specified length with spaces.
centerCh(String, int, char) - Method in class org.pfsw.text.StringUtil
Returns the given string filled equally left and right up to the specified length with the given character.
CH_CR - Static variable in class org.pfsw.text.StringUtil
Constant for the carriage return character
CH_NEWLINE - Static variable in class org.pfsw.text.StringUtil
Constant for the new line character
CH_SPACE - Static variable in class org.pfsw.text.StringUtil
Constant for the space character
CH_TAB - Static variable in class org.pfsw.text.StringUtil
Constant for the tabulator character
charsAreEqual(char, char) - Method in class org.pfsw.text.StringExaminer
 
charsAreEqual(char, char) - Method in class org.pfsw.text.StringPattern
 
CheckedCharsetName - Class in org.pfsw.text
This is a helper class that represents a character encoding name that has already been checked if it is supported by the platform.
CheckedCharsetName(String) - Constructor for class org.pfsw.text.CheckedCharsetName
Initialize the new instance with an encoding name (e.g.
checkEncoding(String) - Static method in class org.pfsw.text.CheckedCharsetName
Checks whether or not the given encoding is supported.
checkExpectedEnd(char) - Method in class org.pfsw.text.BaseMatchRuleParser
 
checkNextClosingParenthesis() - Method in class org.pfsw.text.LdapFilterParser
 
checkNextMandatoryToken(char) - Method in class org.pfsw.text.json.SimpleJsonParser
 
checkNextOpeningParenthesis() - Method in class org.pfsw.text.LdapFilterParser
 
checkOpenState() - Method in class org.pfsw.text.FormattedTextWriter
 
checkUnexpectedEnd(char) - Method in class org.pfsw.text.BaseMatchRuleParser
 
clear() - Method in class org.pfsw.text.StringFilterCollection
 
close() - Method in class org.pfsw.text.FormattedTextWriter
 
CLOSE_PARENTHESIS - Static variable in class org.pfsw.text.SqlMatchRuleVisitor
 
closeQuietly() - Method in class org.pfsw.text.TextFileReader
Closes this reader and swallows any IOException that might occur.
closeQuietly() - Method in class org.pfsw.text.TextFileWriter
Closes this writer and swallows any IOException that might occur.
closeUnchecked() - Method in class org.pfsw.text.TextFileReader
Closes this reader and throws an IORuntimeException wrapping any IOException that might occur.
closeUnchecked() - Method in class org.pfsw.text.TextFileWriter
Closes this writer and throws an IORuntimeException wrapping any IOException that might occur.
CollatorComparator - Class in org.pfsw.text
A wrapper around a collator which allows to use it as a Comparator rather than a Comparator.
CollatorComparator() - Constructor for class org.pfsw.text.CollatorComparator
Creates a new instance based on a collator for the default locale.
CollatorComparator(Locale) - Constructor for class org.pfsw.text.CollatorComparator
Creates a new instance based on a collator for the given locale.
CollatorComparator(Collator) - Constructor for class org.pfsw.text.CollatorComparator
Creates a new instance based on the given collator.
collectParts(List<String>, StringTokenizer) - Method in class org.pfsw.text.StringUtil
 
collectParts(List<String>, StringTokenizer, String) - Method in class org.pfsw.text.StringUtil
 
COMMA - Static variable in class org.pfsw.text.SqlMatchRuleVisitor
 
CommandLineArguments - Class in org.pfsw.text
Utility class for easy evaluation of command line arguments.
CommandLineArguments() - Constructor for class org.pfsw.text.CommandLineArguments
Initialize the new instance with no arguments.
CommandLineArguments(boolean) - Constructor for class org.pfsw.text.CommandLineArguments
Initialize the new instance to handle arguments with separated option flag and option value.
CommandLineArguments(String[]) - Constructor for class org.pfsw.text.CommandLineArguments
Initialize the new instance with an array of arguments.
CommandLineArguments(String[], boolean) - Constructor for class org.pfsw.text.CommandLineArguments
Initialize the new instance with an array of arguments.
CommandLineArguments(String[], String) - Constructor for class org.pfsw.text.CommandLineArguments
Initialize the new instance with an array of arguments and a prefix indicator for options.
CommandLineArguments(String[], String, boolean) - Constructor for class org.pfsw.text.CommandLineArguments
Initialize the new instance with an array of arguments and a prefix indicator for options.
CommandLineArguments(String[], String, boolean, boolean) - Constructor for class org.pfsw.text.CommandLineArguments
Initialize the new instance with an array of arguments and a prefix indicator for options.
compare(String, String) - Method in class org.pfsw.text.CollatorComparator
 
compare(String, String, boolean) - Method in class org.pfsw.text.MatchAttribute
Returns true if the given value compared by using the current operator to the rule value evaluates to true.
compare(Integer, String) - Method in class org.pfsw.text.MatchAttribute
Returns true if the given value compared by using the current operator to the rule value evaluates to true.
compare(T, T) - Method in class org.pfsw.text.ReverseComparator
Compares its two arguments for order.
compareIntegers(int, int) - Method in class org.pfsw.text.MatchAttribute
 
compareTo(NaturalNumber) - Method in class org.pfsw.text.NaturalNumber
Compares two NaturalNumber objects numerically.
compareTo(TimeValue) - Method in class org.pfsw.text.TimeValue
 
compareTo(Object) - Method in class org.pfsw.text.Version
Compares this object with the specified object for order.
concat(String...) - Method in class org.pfsw.text.StringUtil
Creates a string from the given elements, all separated by comma (',').
contains(String, char) - Method in class org.pfsw.text.StringUtil
Returns whether or not the specified string contains the given character.
contains(String[], String, boolean) - Method in class org.pfsw.text.StringUtil
Returns whether or not the specified string can be found in the given string array.
contains(String[], StringPattern) - Method in class org.pfsw.text.StringUtil
Returns whether or not a string can be found in the given string array that matches the specified string pattern.
contains(String[], String) - Method in class org.pfsw.text.StringUtil
Returns whether or not the specified string can be found in the given string array.
containsAll(String[], String...) - Method in class org.pfsw.text.StringUtil
Returns whether or not the specified strings can all be found in the specified string array.
containsAll(String[], boolean, String...) - Method in class org.pfsw.text.StringUtil
Returns whether or not the specified strings can all be found in the specified string array.
containsAllIgnoreCase(String[], String...) - Method in class org.pfsw.text.StringUtil
Returns whether or not the specified strings can all be found in the specified string array.
containsAny(String...) - Method in class org.pfsw.text.CommandLineArguments
Returns true one of the given argument names has been specified on the command line.
containsArgument(String) - Method in class org.pfsw.text.CommandLineArguments
Returns whether or not the given argument was specified in the command line.
containsIgnoreCase(String[], String) - Method in class org.pfsw.text.StringUtil
Returns whether or not the specified string can be found in the given string array.
containsSpecialCharacter(String) - Method in class org.pfsw.text.MatchRulePrinter
 
containsWildcard(String) - Static method in class org.pfsw.text.StringPattern
Returns true if the given string contains a single or multi character wildcard.
convert(T) - Method in class org.pfsw.text.DefaultStringConverter
Returns the string representation of the given object.
convertTo(ByteSizeUnit) - Method in class org.pfsw.text.ByteSizeValue
Returns the value converted to the specified unit.
convertTo(TimeUnit) - Method in class org.pfsw.text.TimeValue
Returns the value converted to the specified unit.
convertToBigDecimal(String[]) - Method in class org.pfsw.text.MatchAttribute
 
convertToDate(String[], SimpleDateFormat) - Method in class org.pfsw.text.MatchAttribute
 
convertToDouble(String[]) - Method in class org.pfsw.text.MatchAttribute
 
convertToFloat(String[]) - Method in class org.pfsw.text.MatchAttribute
 
convertToInteger(String[]) - Method in class org.pfsw.text.MatchAttribute
 
convertToJSON(IJSONConvertible) - Method in class org.pfsw.text.json.JsonUtil
Converts the given object to a valid JSON string representation.
convertToLong(String[]) - Method in class org.pfsw.text.MatchAttribute
 
convertToType(Object) - Method in class org.pfsw.text.MatchAttribute
 
copy() - Method in class org.pfsw.text.CommandLineArguments
Returns a copy of this object, with all internal state being the same as in the original.
copy() - Method in class org.pfsw.text.StringPattern
Returns a copy of this pattern.
copy() - Method in class org.pfsw.text.StringPatternCollection
Returns a copy of this pattern collection.
copy(String[], IStringFilter) - Method in class org.pfsw.text.StringUtil
Returns a new array that contains all strings of the given array that matched the specified filter.
copy(String...) - Method in class org.pfsw.text.StringUtil
Returns a copy (new array) that contains all the strings of the given array
copy(Collection<String>, IStringFilter) - Method in class org.pfsw.text.StringUtil
Returns a new array that contains all strings of the given array that matched the specified filter.
copy() - Method in class org.pfsw.text.Version
Returns a new version object with the same value as this one.
copyFrom(String[], int) - Method in class org.pfsw.text.StringUtil
Returns all elements of string array from in a new array from index start up to the end.
copyFrom(String[], int, int) - Method in class org.pfsw.text.StringUtil
Returns all elements of string array from in a new array from index start up to index end (inclusive).
copyLowerCase(String[]) - Method in class org.pfsw.text.StringUtil
Returns a copy of the given string array where all elements are converted to lower case.
copyMapToProperties(Map<String, String>, Properties) - Method in class org.pfsw.text.StringUtil
Copies all entries from the given map to the given properties object.
copyOfArguments() - Method in class org.pfsw.text.CommandLineArguments
Returns a copy of the original arguments.
copyStrings(Class<T>, String[], IStringFilter, boolean) - Method in class org.pfsw.text.StringUtil
 
copyUpperCase(String[]) - Method in class org.pfsw.text.StringUtil
Returns a copy of the given string array where all elements are converted to upper case.
copyWithout(String[], IStringFilter) - Method in class org.pfsw.text.StringUtil
Returns a new array that contains all strings of the given array that do NOT match the specified filter.
copyWithout(Collection<String>, IStringFilter) - Method in class org.pfsw.text.StringUtil
Returns a new collection that contains all strings of the given collection that do NOT match the specified filter.
count(String, String) - Method in class org.pfsw.text.StringUtil
Returns how often the given sub string occurs in the source String.
create(String) - Static method in class org.pfsw.text.CheckedCharsetName
Creates a new instance based on the given encoding name.
create(String...) - Static method in class org.pfsw.text.CommandLineArguments
Convenience method with varargs to create a new instance.
create() - Static method in class org.pfsw.text.DefaultMatchRuleParser
Returns a new parser that generates rules which treat the multi-char wildcard (i.e. '*') in a way that it matches empty strings.
create(MatchRuleChars) - Static method in class org.pfsw.text.DefaultMatchRuleParser
Returns a new parser that generates rules which treat the multi-char wildcard (i.e. '*') in a way that it matches empty strings.
create() - Static method in class org.pfsw.text.DefaultStringConverter
Returns a new instance of this class.
create(Appendable) - Static method in class org.pfsw.text.FormattedTextWriter
Creates a new instance that writes to the given output object.
create(Appendable, int) - Static method in class org.pfsw.text.FormattedTextWriter
Creates a new instance that writes to the given output object an indentation size.
create(Appendable, int, NewLine) - Static method in class org.pfsw.text.FormattedTextWriter
Creates a new instance that writes to the given output object, indentation size and newline characters.
create(File, Charset) - Static method in class org.pfsw.text.FormattedTextWriter
Creates a new instance that writes to the given output file with the specified character encoding.
create(File) - Static method in class org.pfsw.text.FormattedTextWriter
Creates a new instance that writes to the given output file with UTF-8 character encoding.
create(JsonObject) - Static method in class org.pfsw.text.json.JsonObjectAccessor
 
create() - Static method in class org.pfsw.text.json.SimpleJsonParser
Creates a new parser.
create(String...) - Static method in class org.pfsw.text.StringCollectionFilter
A factory method that supports a variable number of strings.
create(String, boolean) - Static method in class org.pfsw.text.StringPattern
Returns a new instance with the string pattern and the selection, if case should be ignored when comparing characters.
create(String, char) - Static method in class org.pfsw.text.StringPattern
Returns anew instance with the string pattern and a digit wildcard character.
create(String, boolean, char) - Static method in class org.pfsw.text.StringPattern
Returns a new instance with the string pattern and the selection, if case should be ignored when comparing characters plus a wildcard character for digits.
create(String) - Static method in class org.pfsw.text.StringPattern
Returns a new instance with the string pattern.
create(String, boolean) - Static method in class org.pfsw.text.StringPatternCollection
Returns a new instance with the given string patterns and the selection, if case should be ignored when comparing characters.
create(String[], boolean) - Static method in class org.pfsw.text.StringPatternCollection
Returns a new instance with the given string patterns and the selection, if case should be ignored when comparing characters.
create(long) - Static method in class org.pfsw.text.TimeValue
Creates a new instance with the given milliseconds value.
create(long, TimeUnit) - Static method in class org.pfsw.text.TimeValue
Creates a new instance with the given value and time unit.
create(NaturalNumber, TimeUnit) - Static method in class org.pfsw.text.TimeValue
Creates a new instance with the given value and time unit.
create(String, TimeUnit) - Static method in class org.pfsw.text.TimeValue
Creates a new instance with a string that must contain digits, optionally followed by the short name of a unit (@see TimeUnit.
create(String) - Static method in class org.pfsw.text.TimeValue
Creates a the new instance with a string that must contain digits, optionally followed by the short name of a unit (@see TimeUnit.
create(File, Charset) - Static method in class org.pfsw.text.UncheckedTextFileWriter
Creates a new UncheckedTextFileWriter, given the File to write to with the encoding specified by the given charset.
create(File) - Static method in class org.pfsw.text.UncheckedTextFileWriter
Creates a new UncheckedTextFileWriter, given the File to write to with the default character encoding (UTF-8).
create(String, Charset) - Static method in class org.pfsw.text.UncheckedTextFileWriter
Creates a new UncheckedTextFileWriter on the file with the given filename to write to with the encoding specified by the given charset.
create(String) - Static method in class org.pfsw.text.UncheckedTextFileWriter
Creates a new UncheckedTextFileWriter on the file with the given filename to write to with the default character encoding (UTF-8).
createArray() - Method in class org.pfsw.text.json.SimpleJsonParser
 
createGroup() - Method in class org.pfsw.text.LdapMatchRuleVisitor
 
createMatchRuleOn(MatchGroup) - Method in class org.pfsw.text.DefaultMatchRuleParser
 
createMatchRuleOn(MatchGroup) - Method in class org.pfsw.text.LdapFilterParser
 
createObject() - Method in class org.pfsw.text.json.SimpleJsonParser
 
createTypeConversionException(String, Class<?>) - Method in class org.pfsw.text.MatchAttribute
 
current() - Static method in class org.pfsw.text.json.JsonUtil
Returns the only instance this class supports (design pattern "Singleton")
current() - Static method in class org.pfsw.text.StringUtil
Returns the one and only instance of this class.
currentGroup() - Method in class org.pfsw.text.LdapMatchRuleVisitor
 
cutHead(String, String) - Method in class org.pfsw.text.StringUtil
Returns the portion of the given string that comes after the last occurrence of the specified separator.
cutTail(String, String) - Method in class org.pfsw.text.StringUtil
Returns the portion of the given string that comes before the last occurrence of the specified separator.

D

DEFAULT - Static variable in class org.pfsw.text.CheckedCharsetName
The platform default file encoding.
DEFAULT_CHARSET - Static variable in interface org.pfsw.text.json.JsonConstants
 
DEFAULT_CHARSET - Static variable in class org.pfsw.text.TextFileReader
The default character encoding used by this class.
DEFAULT_CHARSET - Static variable in class org.pfsw.text.TextFileWriter
The default character encoding used by this class.
DEFAULT_LENGTH - Static variable in class org.pfsw.text.ObjectIdGenerator
 
DEFAULT_LENGTH - Static variable in class org.pfsw.text.RandomStringGenerator
The default length (10) being used if not specified differently.
DEFAULT_MULTICHAR_WILDCARD - Static variable in class org.pfsw.text.StringPattern
 
DEFAULT_NEWLINE - Static variable in class org.pfsw.text.TextFileWriter
The default newline definition used by this class.
DEFAULT_OPERATION - Static variable in class org.pfsw.text.StringFilterCollection
 
DEFAULT_PAD_CHAR - Static variable in class org.pfsw.text.ObjectIdGenerator
 
DEFAULT_PATTERN_SEPARATOR - Static variable in class org.pfsw.text.StringPatternCollection
 
DEFAULT_SINGLECHAR_WILDCARD - Static variable in class org.pfsw.text.StringPattern
 
DEFAULT_START_ID - Static variable in class org.pfsw.text.ObjectIdGenerator
 
DEFAULT_SWITCH_INDICATOR - Static variable in class org.pfsw.text.CommandLineArguments
 
DEFAULT_TEXT_DELIMITERS - Static variable in class org.pfsw.text.StringUtil
Defines the delimiter string pair for two apostrophes: ' '
DefaultMatchRuleParser - Class in org.pfsw.text
This parser translates the match-rule syntax to a MatchRule object.
DefaultMatchRuleParser() - Constructor for class org.pfsw.text.DefaultMatchRuleParser
Initialize the new instance with default values.
DefaultMatchRuleParser(MatchRuleChars) - Constructor for class org.pfsw.text.DefaultMatchRuleParser
Initialize the new instance with a set of rule characters.
DefaultStringConverter<T> - Class in org.pfsw.text
Default string converter for any object.
DefaultStringConverter() - Constructor for class org.pfsw.text.DefaultStringConverter
 
DELIMITER_APOS - Static variable in class org.pfsw.text.StringUtil
Defines the delimiter string pair for two apostrophes: ' '
DELIMITER_QUOTE - Static variable in class org.pfsw.text.StringUtil
Defines the delimiter string pair for two quotes: " "
digitWildcard() - Method in class org.pfsw.text.StringPattern
 
digitWildcard(Character) - Method in class org.pfsw.text.StringPattern
 
digitWildcardChar() - Method in class org.pfsw.text.StringPattern
 
doBigDecimalMatch(Object) - Method in class org.pfsw.text.MatchAttribute
 
doDateMatch(Object) - Method in class org.pfsw.text.MatchAttribute
 
doDoubleMatch(Object) - Method in class org.pfsw.text.MatchAttribute
 
doFloatMatch(Object) - Method in class org.pfsw.text.MatchAttribute
 
doIntegerMatch(Object) - Method in class org.pfsw.text.MatchAttribute
 
doLongMatch(Object) - Method in class org.pfsw.text.MatchAttribute
 
doMatch(Map<String, ?>) - Method in class org.pfsw.text.MatchAttribute
 
doMatch(Map<String, ?>) - Method in class org.pfsw.text.MatchElement
 
doMatch(Map<String, ?>) - Method in class org.pfsw.text.MatchGroup
 
doTypedMatch(Object) - Method in class org.pfsw.text.MatchAttribute
 
doubleValue() - Method in class org.pfsw.text.NaturalNumber
 

E

elementCount() - Method in class org.pfsw.text.MatchGroup
Returns the current number of elements in this group.
EMPTY_ARRAY - Static variable in class org.pfsw.text.StringPair
 
EMPTY_STRING - Static variable in class org.pfsw.text.StringUtil
An empty String to avoid multiple creation of such an object
EMPTY_STRING_ARRAY - Static variable in class org.pfsw.text.StringUtil
An empty String array to avoid multiple creation of such an object
END_ARRAY - Static variable in interface org.pfsw.text.json.JsonConstants
 
END_OBJECT - Static variable in interface org.pfsw.text.json.JsonConstants
 
END_QUOTE - Static variable in class org.pfsw.text.SqlMatchRuleVisitor
 
END_REACHED - Static variable in class org.pfsw.text.StringScanner
 
endGroup() - Method in class org.pfsw.text.LdapMatchRuleVisitor
This method will be called for each group end occurrence.
endGroup() - Method in class org.pfsw.text.MatchRulePrinter
This method will be called for each group end occurence.
endGroup() - Method in interface org.pfsw.text.MatchRuleVisitor
This method will be called for each group end occurence.
endGroup() - Method in class org.pfsw.text.SqlMatchRuleVisitor
This method will be called for each group end occurrence.
endNotReached(char) - Method in class org.pfsw.text.StringPattern
 
endNotReached(char) - Method in class org.pfsw.text.StringScanner
Returns true, if the given character does not indicate that the end of the scanned string si reached.
endReached(char) - Method in class org.pfsw.text.StringPattern
 
endReached(char) - Method in class org.pfsw.text.StringScanner
Returns true, if the given character indicates that the end of the scanned string is reached.
equals(Object) - Method in class org.pfsw.text.ByteSizeValue
 
equals(Object) - Method in class org.pfsw.text.CheckedCharsetName
 
equals(Object) - Method in class org.pfsw.text.NaturalNumber
 
equals(Object) - Method in class org.pfsw.text.StringPair
Returns true if the given object is an IStringPair and its both strings are equal to the corresponding two strings of this object.
equals(Object) - Method in class org.pfsw.text.StringPattern
Returns true if the given object is equal to the receiver.
equals(String[], String[], boolean) - Method in class org.pfsw.text.StringUtil
Returns true if all elements of the first array are in the second array and the length of both arrays are equal.
equals(Object) - Method in class org.pfsw.text.TimeValue
 
equals(Object) - Method in class org.pfsw.text.Version
Returns true if this version is equal to the given object.
ESCAPE - Static variable in interface org.pfsw.text.json.JsonConstants
 
eventuallyMatched(char, char, StringExaminer) - Method in class org.pfsw.text.StringPattern
 

F

FALSE - Static variable in interface org.pfsw.text.json.JsonConstants
 
findByPrefix(String) - Static method in enum org.pfsw.text.ByteSizeUnit
Returns the ByteSiteUnit enum value that matches the given string.
findInString1(IStringPair[], char, boolean) - Method in class org.pfsw.text.StringUtil
Returns the string pair of the specified array that's first string starts with the specified character.
findOptionValue(String) - Method in class org.pfsw.text.CommandLineArguments
 
findPositionOf(String) - Method in class org.pfsw.text.StringExaminer
Returns the position index of the given match string starting to look for it from the current position.
findValues(String) - Method in class org.pfsw.text.CommandLineArguments
 
floatValue() - Method in class org.pfsw.text.NaturalNumber
 
FormattedTextWriter - Class in org.pfsw.text
This is a wrapper on an Appendable object.
FormattedTextWriter(Appendable) - Constructor for class org.pfsw.text.FormattedTextWriter
Creates a new instance that writes to the given output object.
FormattedTextWriter(File, Charset) - Constructor for class org.pfsw.text.FormattedTextWriter
Creates a new instance that writes to the given output file with the specified character encoding.
FormattedTextWriter(File) - Constructor for class org.pfsw.text.FormattedTextWriter
Creates a new instance that writes to the given output file with UTF-8 character encoding.

G

generateString() - Method in class org.pfsw.text.ObjectIdGenerator
Returns a new string.
generateString(int) - Method in class org.pfsw.text.ObjectIdGenerator
Generates a new string (i.e. identifier) with the specified length.
generateString(int) - Method in class org.pfsw.text.RandomStringGenerator
 
generateString() - Method in class org.pfsw.text.RandomStringGenerator
 
generateString() - Method in interface org.pfsw.text.StringGenerator
Generates a new string.
generateString(int) - Method in interface org.pfsw.text.StringGenerator
Generates a new string with the specified length.
getAllowedCharacters() - Method in class org.pfsw.text.RandomStringGenerator
Returns the set of characters that are used as base for the string generation.
getAllowedCharsArray() - Method in class org.pfsw.text.RandomStringGenerator
 
getAnd() - Method in class org.pfsw.text.MatchElement
 
getAndChar() - Method in class org.pfsw.text.DefaultMatchRuleParser
Returns the character for AND operations ( DEFAULT = '&' )
getAndChar() - Method in class org.pfsw.text.MatchRuleChars
Returns the character for AND operations ( DEFAULT = '&' )
getAndChar() - Method in class org.pfsw.text.MatchRulePrinter
Returns the character for AND operations ( DEFAULT = '&' )
getArgumentAt(int) - Method in class org.pfsw.text.CommandLineArguments
Returns the argument at the specified index or null if the index is outside the bounds of the argument list.
getArguments() - Method in class org.pfsw.text.CommandLineArguments
Returns a string array containing all arguments.
getArgumentValue(String, String) - Method in class org.pfsw.text.CommandLineArguments
Returns the value following the specified option.
getArgumentValue(String) - Method in class org.pfsw.text.CommandLineArguments
Returns the value following the specified option.
getArgumentValues(String) - Method in class org.pfsw.text.CommandLineArguments
Returns all values that are found for the specified option.
getArgumentValues(String, String...) - Method in class org.pfsw.text.CommandLineArguments
Returns the values following the specified option.
getAttributeName() - Method in class org.pfsw.text.MatchAttribute
Returns the name of the attribute that will be checked by this rule element
getBigDecimal(int) - Method in class org.pfsw.text.json.JsonArray
Returns the value for the given index as BigDecimal (if it is one).
getBigDecimal(String) - Method in class org.pfsw.text.json.JsonObject
Returns the value for the given name as BigDecimal (if it is one).
getBigDecimal(IStringConstant) - Method in class org.pfsw.text.json.JsonObject
Returns the value for the given name as BigDecimal (if it is one).
getBoolean(int) - Method in class org.pfsw.text.json.JsonArray
Returns the value for the given index as Boolean (if it is one).
getBoolean(String) - Method in class org.pfsw.text.json.JsonObject
Returns the value for the given name as Boolean (if it is one).
getBoolean(IStringConstant) - Method in class org.pfsw.text.json.JsonObject
Returns the value for the given name as Boolean (if it is one).
getBuffer() - Method in class org.pfsw.text.LdapMatchRuleVisitor
 
getBuffer() - Method in class org.pfsw.text.MatchRulePrinter
 
getBuffer() - Method in class org.pfsw.text.SqlMatchRuleVisitor
 
getBytes(String) - Method in class org.pfsw.text.CheckedCharsetName
Returns the bytes of the given string as array encoded to the charset this instance represents, avoiding the unnecessary exception handling (UnsupportedEncodingException).
getBytesFactor() - Method in enum org.pfsw.text.ByteSizeUnit
Returns the multiplication factor for this unit to convert a corresponding value to its number of bytes.
getCharEscaper() - Method in class org.pfsw.text.json.SimpleJsonParser
 
getCharset() - Method in class org.pfsw.text.CheckedCharsetName
Returns the corresponding charset object.
getCollator() - Method in class org.pfsw.text.CollatorComparator
 
getCommonnName() - Method in enum org.pfsw.text.ByteSizeUnit
Returns the commonly used (but incorrect) name of the unit.
getCommonPrefix() - Method in enum org.pfsw.text.ByteSizeUnit
Returns the commonly used (but incorrect) short name of the unit.
getComparator() - Method in class org.pfsw.text.ReverseComparator
 
getCurrentStringRegion(int, int) - Method in class org.pfsw.text.json.SimpleJsonParser
Just for debugging purposes!
getCurrentUnit() - Method in class org.pfsw.text.ByteSizeValue
 
getDefaultLength() - Method in class org.pfsw.text.ObjectIdGenerator
 
getDefaultLength() - Method in class org.pfsw.text.RandomStringGenerator
 
getDefaultMultiCharWildcard() - Static method in class org.pfsw.text.StringPattern
Returns the character that is used to specify any number of any character.
getDefaultPadChar() - Method in class org.pfsw.text.ObjectIdGenerator
 
getDefaultPatternSeparator() - Method in class org.pfsw.text.StringPatternCollection
Returns the default separators for patterns
getDefaultSeparator() - Method in class org.pfsw.text.StringPair
Returns the default separator (here ":").
getDefaultSingleCharWildcard() - Static method in class org.pfsw.text.StringPattern
Returns the character that is used to specify any single character.
getDefaultStartId() - Method in class org.pfsw.text.ObjectIdGenerator
 
getDelimitedSubstring(String, IStringPair...) - Method in class org.pfsw.text.StringUtil
Returns the first substring that is enclosed by one of the specified delimiter pairs.
getDelimitedSubstring(String, IStringPair) - Method in class org.pfsw.text.StringUtil
Returns the first substring that is enclosed by the specified delimiter pair.
getDelimitedSubstring(String, String, String) - Method in class org.pfsw.text.StringUtil
Returns the first substring that is enclosed by the specified delimiters.
getDelimitedSubstring(String, String) - Method in class org.pfsw.text.StringUtil
Returns the first substring that is enclosed by the specified delimiter.
getElement(int) - Method in class org.pfsw.text.MatchGroup
 
getElement(int) - Method in class org.pfsw.text.Version
 
getElements() - Method in class org.pfsw.text.MatchGroup
 
getElements() - Method in class org.pfsw.text.Version
 
getEqualsChar() - Method in class org.pfsw.text.DefaultMatchRuleParser
Returns the character for equals comparisons ( DEFAULT = '=' )
getEqualsChar() - Method in class org.pfsw.text.MatchRuleChars
Returns the character that is used to compare if two values are equal ( DEFAULT = '=' )
getFactor() - Method in enum org.pfsw.text.ByteSizeUnit
Returns the multiplication factor for this unit to convert a corresponding value to its number of bytes as long value.
getFilterList() - Method in class org.pfsw.text.StringFilterCollection
 
getFirstFoundValue(String...) - Method in class org.pfsw.text.CommandLineArguments
Returns the value following the first option found that matches one of the specified options.
getFullLength() - Method in class org.pfsw.text.ObjectIdGenerator
Returns the full length of the generated identifiers.
getGreaterChar() - Method in class org.pfsw.text.DefaultMatchRuleParser
Returns the character for greater than comparisons ( DEFAULT = '>' )
getGreaterChar() - Method in class org.pfsw.text.MatchRuleChars
Returns the character that is used to compare if a value is greater than another ( DEFAULT = '>' )
getGroupEndChar() - Method in class org.pfsw.text.DefaultMatchRuleParser
Returns the character that ends a logical group ( DEFAULT = ')' )
getGroupEndChar() - Method in class org.pfsw.text.MatchRuleChars
Returns the character that ends a logical group ( DEFAULT = ')' )
getGroupEndChar() - Method in class org.pfsw.text.MatchRulePrinter
Returns the character that ends a logical group ( DEFAULT = ')' )
getGroupStartChar() - Method in class org.pfsw.text.DefaultMatchRuleParser
Returns the character that starts a logical group ( DEFAULT = '(' )
getGroupStartChar() - Method in class org.pfsw.text.MatchRuleChars
Returns the character that starts a logical group ( DEFAULT = '(' )
getGroupStartChar() - Method in class org.pfsw.text.MatchRulePrinter
Returns the character that starts a logical group ( DEFAULT = '(' )
getIEEE1541Name() - Method in enum org.pfsw.text.ByteSizeUnit
Returns the standardized IEEE 1541 name of the unit.
getIEEE1541Prefix() - Method in enum org.pfsw.text.ByteSizeUnit
Returns the standardized IEEE 1541 prefix of the unit.
getIgnoreCase() - Method in class org.pfsw.text.MatchRule
 
getIgnoreCase() - Method in class org.pfsw.text.StringCollectionFilter
Returns true if the string comparison is done case-insensitive
getIgnoreCase() - Method in class org.pfsw.text.StringPattern
Returns whether or not the pattern matching ignores upper and lower case
getIgnoreCase() - Method in class org.pfsw.text.StringPatternCollection
Returns whether or not the pattern matching ignores upper and lower case Might return null if not specified.
getIgnoreCaseInNames() - Method in class org.pfsw.text.DefaultMatchRuleParser
Returns true, if the parser produces MatchRules that treat attribute names case-insensitive.
getIgnoreCaseInNames() - Method in class org.pfsw.text.MatchRule
Returns true, if the parser produces MatchRules that treat attribute names case-insensitive.
getIgnoreCaseInValues() - Method in class org.pfsw.text.DefaultMatchRuleParser
Returns true, if the parser produces MatchRules that are case-insensitive when comparing values.
getIndentLevel() - Method in class org.pfsw.text.FormattedTextWriter
 
getIndentSize() - Method in class org.pfsw.text.FormattedTextWriter
Returns the number of spaces to be used for indentation per indentation level.
getInnerFilter() - Method in class org.pfsw.text.NegativeStringFilter
 
getInteger(int) - Method in class org.pfsw.text.json.JsonArray
Returns the value for the given index as Integer (if it is one).
getInteger(String) - Method in class org.pfsw.text.json.JsonObject
Returns the value for the given name as Integer (if it is one).
getInteger(IStringConstant) - Method in class org.pfsw.text.json.JsonObject
Returns the value for the given name as Integer (if it is one).
getInternalStrings() - Method in class org.pfsw.text.StringCollectionFilter
 
getIntValueOfElement(int) - Method in class org.pfsw.text.Version
 
getJavaBaseVersion() - Static method in class org.pfsw.text.Version
Returns the version of the current JVM with out the patch level.
getJavaVersion() - Static method in class org.pfsw.text.Version
Returns the version of the current JVM.
getJsonArray(int) - Method in class org.pfsw.text.json.JsonArray
Returns the value at the given index as JsonArray (if it is one).
getJsonArray(String) - Method in class org.pfsw.text.json.JsonObject
Returns the value for the given name as JsonArray (if it is one).
getJsonArray(IStringConstant) - Method in class org.pfsw.text.json.JsonObject
Returns the value for the given name as JsonArray (if it is one).
getJsonObject(int) - Method in class org.pfsw.text.json.JsonArray
Returns the value at the given index as JsonObject (if it is one).
getJsonObject(String) - Method in class org.pfsw.text.json.JsonObject
Returns the value for the given name as JsonObject (if it is one).
getJsonObject(IStringConstant) - Method in class org.pfsw.text.json.JsonObject
Returns the value for the given name as JsonObject (if it is one).
getJsonObject() - Method in class org.pfsw.text.json.JsonObjectAccessor
 
getLastElement() - Method in class org.pfsw.text.Version
 
getLastPosition() - Method in class org.pfsw.text.json.SimpleJsonParser
 
getLength() - Method in class org.pfsw.text.ObjectIdGenerator
Returns the length to which the IDs (the numeric part without prefix)) are filled up (left padded).
getLessChar() - Method in class org.pfsw.text.DefaultMatchRuleParser
Returns the character for less than comparisons ( DEFAULT = '<' )
getLessChar() - Method in class org.pfsw.text.MatchRuleChars
Returns the character that is used to compare if a value is less than another ( DEFAULT = '<' )
getLong(int) - Method in class org.pfsw.text.json.JsonArray
Returns the value for the given index as Long (if it is one).
getLong(String) - Method in class org.pfsw.text.json.JsonObject
Returns the value for the given name as Long (if it is one).
getLong(IStringConstant) - Method in class org.pfsw.text.json.JsonObject
Returns the value for the given name as Long (if it is one).
getLongName() - Method in enum org.pfsw.text.TimeUnit
Returns the string long name of the unit.
getLongValueOf(String) - Method in class org.pfsw.text.json.JsonObjectAccessor
 
getLongValueOf(String, String) - Method in class org.pfsw.text.json.JsonObjectAccessor
 
getMajorVersion() - Method in class org.pfsw.text.Version
Returns the major version (the most left part) or -1 if this element is not available or is not numeric.
getMaxIndentSize() - Method in class org.pfsw.text.FormattedTextWriter
 
getMicroVersion() - Method in class org.pfsw.text.Version
Returns the micro version (the third from left part) or -1 if this element is not available or is not numeric.
getMilliseconds() - Method in class org.pfsw.text.TimeValue
 
getMinorVersion() - Method in class org.pfsw.text.Version
Returns the minor version (the second from left part) or -1 if this element is not available or is not numeric.
getMsFactor() - Method in enum org.pfsw.text.TimeUnit
Returns the multiplication factor for this unit to convert a corresponding value to milliseconds.
getMultiCharWildcard() - Method in class org.pfsw.text.MatchRuleChars
Returns the character that is used as placeholder for multiple characters.
getMultiCharWildcard() - Method in class org.pfsw.text.StringPattern
Returns the wildcard character that is used as placeholder for zero to many occurances of any character(s).
getMultiCharWildcardMatchesEmptyString() - Method in class org.pfsw.text.DefaultMatchRuleParser
Returns true, if this parser creates match rules that allow empty strings at the position of the multi character wildcard ('*').
getMultiCharWildcardMatchesEmptyString() - Method in class org.pfsw.text.MatchRule
Returns true, if this match rule allows empty strings at the position of the multi character wildcard ('*').
getName() - Method in class org.pfsw.text.CheckedCharsetName
Returns the pure upper case encoding name (e.g.
getNames() - Method in class org.pfsw.text.json.JsonObject
 
getNaturalNumberValueOf(String) - Method in class org.pfsw.text.json.JsonObjectAccessor
 
getNewline() - Method in class org.pfsw.text.FormattedTextWriter
Returns the new line character(s) used by this writer.
getNewline() - Method in class org.pfsw.text.TextFileWriter
Returns the new line definition used by this writer.
getNextId() - Method in class org.pfsw.text.ObjectIdGenerator
Returns the next identifier value without incrementing.
getNextIdHolder() - Method in class org.pfsw.text.ObjectIdGenerator
 
getNot() - Method in class org.pfsw.text.MatchElement
 
getNotChar() - Method in class org.pfsw.text.DefaultMatchRuleParser
Returns the character for NOT operations ( DEFAULT = '!'
getNotChar() - Method in class org.pfsw.text.MatchRuleChars
Returns the character for NOT operations ( DEFAULT = '!'
getNotChar() - Method in class org.pfsw.text.MatchRulePrinter
Returns the character for NOT operations ( DEFAULT = '!'
getNumber(int) - Method in class org.pfsw.text.json.JsonArray
Returns the value for the given index as Number (if it is one).
getNumber(String) - Method in class org.pfsw.text.json.JsonObject
Returns the value for the given name as Number (if it is one).
getNumber(IStringConstant) - Method in class org.pfsw.text.json.JsonObject
Returns the value for the given name as Number (if it is one).
getNumberOfIndentSpaces() - Method in class org.pfsw.text.FormattedTextWriter
 
getNumberValue() - Method in class org.pfsw.text.NaturalNumber
 
getOperation() - Method in class org.pfsw.text.StringFilterCollection
 
getOptionalBigDecimalValue(IStringConstant) - Method in class org.pfsw.text.json.JsonObjectAccessor
 
getOptionalBigDecimalValue(String) - Method in class org.pfsw.text.json.JsonObjectAccessor
 
getOptionalBooleanValue(IStringConstant) - Method in class org.pfsw.text.json.JsonObjectAccessor
 
getOptionalBooleanValue(String) - Method in class org.pfsw.text.json.JsonObjectAccessor
 
getOptionalIntegerValue(IStringConstant) - Method in class org.pfsw.text.json.JsonObjectAccessor
 
getOptionalIntegerValue(String) - Method in class org.pfsw.text.json.JsonObjectAccessor
 
getOptionalJsonArrayValue(IStringConstant) - Method in class org.pfsw.text.json.JsonObjectAccessor
 
getOptionalJsonArrayValue(String) - Method in class org.pfsw.text.json.JsonObjectAccessor
 
getOptionalJsonObjectAccessorValue(IStringConstant) - Method in class org.pfsw.text.json.JsonObjectAccessor
 
getOptionalJsonObjectAccessorValue(String) - Method in class org.pfsw.text.json.JsonObjectAccessor
 
getOptionalJsonObjectValue(IStringConstant) - Method in class org.pfsw.text.json.JsonObjectAccessor
 
getOptionalJsonObjectValue(String) - Method in class org.pfsw.text.json.JsonObjectAccessor
 
getOptionalLongValue(IStringConstant) - Method in class org.pfsw.text.json.JsonObjectAccessor
 
getOptionalLongValue(String) - Method in class org.pfsw.text.json.JsonObjectAccessor
 
getOptionalNaturalNumberValue(IStringConstant) - Method in class org.pfsw.text.json.JsonObjectAccessor
 
getOptionalNaturalNumberValue(String) - Method in class org.pfsw.text.json.JsonObjectAccessor
 
getOptionalRawValue(IStringConstant) - Method in class org.pfsw.text.json.JsonObjectAccessor
 
getOptionalRawValue(String) - Method in class org.pfsw.text.json.JsonObjectAccessor
 
getOptionalStringArrayValue(IStringConstant) - Method in class org.pfsw.text.json.JsonObjectAccessor
 
getOptionalStringArrayValue(String) - Method in class org.pfsw.text.json.JsonObjectAccessor
 
getOptionalStringValue(IStringConstant) - Method in class org.pfsw.text.json.JsonObjectAccessor
 
getOptionalStringValue(String) - Method in class org.pfsw.text.json.JsonObjectAccessor
 
getOptionalTimeValue(IStringConstant, TimeUnit) - Method in class org.pfsw.text.json.JsonObjectAccessor
Returns the value at the specified field name as a TimeValue with the specified TimeUnit.
getOptionalTimeValue(String, TimeUnit) - Method in class org.pfsw.text.json.JsonObjectAccessor
Returns the value at the specified field name as a TimeValue with the specified TimeUnit.
getOptionalTypedValue(IStringConstant, Class<T>) - Method in class org.pfsw.text.json.JsonObjectAccessor
 
getOptionalTypedValue(String, Class<T>) - Method in class org.pfsw.text.json.JsonObjectAccessor
 
getOptionsWithValues() - Method in class org.pfsw.text.CommandLineArguments
 
getOptionValues(String) - Method in class org.pfsw.text.CommandLineArguments
Returns all values after the given option which do NOT start with the configured switch indicator.
getOrChar() - Method in class org.pfsw.text.DefaultMatchRuleParser
Returns the character for OR operations ( DEFAULT = '|' )
getOrChar() - Method in class org.pfsw.text.MatchRuleChars
Returns the character for OR operations ( DEFAULT = '|' )
getOrChar() - Method in class org.pfsw.text.MatchRulePrinter
Returns the character for OR operations ( DEFAULT = '|' )
getOutput() - Method in class org.pfsw.text.FormattedTextWriter
 
getPackageName(String) - Method in class org.pfsw.text.StringUtil
Returns the package name of the given full qualified class name.
getPadChar() - Method in class org.pfsw.text.ObjectIdGenerator
Return the character that is used to fill up the IDs to the full length.
getParser() - Method in class org.pfsw.text.MatchRule
 
getParseString() - Method in exception org.pfsw.text.MatchRuleParseException
Returns the string in which caused the parsing exception.
getPattern() - Method in class org.pfsw.text.RegexPattern
 
getPattern() - Method in class org.pfsw.text.StringPattern
Returns the pattern as string.
getPatternChar(StringExaminer, char) - Method in class org.pfsw.text.StringPattern
 
getPatterns() - Method in class org.pfsw.text.MatchAttribute
Returns the value pattern(s) against that will be matched
getPatterns() - Method in class org.pfsw.text.StringPatternCollection
 
getPatternStrings() - Method in class org.pfsw.text.StringPatternCollection
Returns an array with all pattern strings contained in this object.
getPosition() - Method in exception org.pfsw.text.MatchRuleParseException
Returns the position in the string where the exception was caused.
getPosition() - Method in class org.pfsw.text.StringScanner
Returns the current position in the string
getPowerOf1024() - Method in enum org.pfsw.text.ByteSizeUnit
Returns the power of 1024 (bytes) this unit represents.
getPrefix() - Method in class org.pfsw.text.ObjectIdGenerator
Returns the prefix that will be prepended to every generated ID.
getPrefixLength() - Method in class org.pfsw.text.ObjectIdGenerator
 
getRandom() - Method in class org.pfsw.text.RandomStringGenerator
 
getRawValueOf(IStringConstant, boolean) - Method in class org.pfsw.text.json.JsonObjectAccessor
 
getRawValueOf(String, boolean) - Method in class org.pfsw.text.json.JsonObjectAccessor
 
getRequiredBigDecimalValue(IStringConstant) - Method in class org.pfsw.text.json.JsonObjectAccessor
 
getRequiredBigDecimalValue(String) - Method in class org.pfsw.text.json.JsonObjectAccessor
 
getRequiredBooleanValue(IStringConstant) - Method in class org.pfsw.text.json.JsonObjectAccessor
 
getRequiredBooleanValue(String) - Method in class org.pfsw.text.json.JsonObjectAccessor
 
getRequiredIntegerValue(IStringConstant) - Method in class org.pfsw.text.json.JsonObjectAccessor
 
getRequiredIntegerValue(String) - Method in class org.pfsw.text.json.JsonObjectAccessor
 
getRequiredJsonArrayValue(IStringConstant) - Method in class org.pfsw.text.json.JsonObjectAccessor
 
getRequiredJsonArrayValue(String) - Method in class org.pfsw.text.json.JsonObjectAccessor
 
getRequiredJsonObjectAccessorValue(IStringConstant) - Method in class org.pfsw.text.json.JsonObjectAccessor
 
getRequiredJsonObjectAccessorValue(String) - Method in class org.pfsw.text.json.JsonObjectAccessor
 
getRequiredJsonObjectValue(IStringConstant) - Method in class org.pfsw.text.json.JsonObjectAccessor
 
getRequiredJsonObjectValue(String) - Method in class org.pfsw.text.json.JsonObjectAccessor
 
getRequiredLongValue(IStringConstant) - Method in class org.pfsw.text.json.JsonObjectAccessor
 
getRequiredLongValue(String) - Method in class org.pfsw.text.json.JsonObjectAccessor
 
getRequiredNaturalNumberValue(IStringConstant) - Method in class org.pfsw.text.json.JsonObjectAccessor
 
getRequiredNaturalNumberValue(String) - Method in class org.pfsw.text.json.JsonObjectAccessor
 
getRequiredRawValue(IStringConstant) - Method in class org.pfsw.text.json.JsonObjectAccessor
 
getRequiredRawValue(String) - Method in class org.pfsw.text.json.JsonObjectAccessor
 
getRequiredStringArrayValue(IStringConstant) - Method in class org.pfsw.text.json.JsonObjectAccessor
 
getRequiredStringArrayValue(String) - Method in class org.pfsw.text.json.JsonObjectAccessor
 
getRequiredStringValue(IStringConstant) - Method in class org.pfsw.text.json.JsonObjectAccessor
 
getRequiredStringValue(String) - Method in class org.pfsw.text.json.JsonObjectAccessor
 
getRequiredTimeValue(IStringConstant, TimeUnit) - Method in class org.pfsw.text.json.JsonObjectAccessor
 
getRequiredTimeValue(String, TimeUnit) - Method in class org.pfsw.text.json.JsonObjectAccessor
 
getRequiredTypedValue(IStringConstant, Class<T>) - Method in class org.pfsw.text.json.JsonObjectAccessor
 
getRequiredTypedValue(String, Class<T>) - Method in class org.pfsw.text.json.JsonObjectAccessor
 
getRootGroup() - Method in class org.pfsw.text.LdapMatchRuleVisitor
 
getRootGroup() - Method in class org.pfsw.text.MatchRule
 
getRuleChars() - Method in class org.pfsw.text.DefaultMatchRuleParser
 
getRuleChars() - Method in class org.pfsw.text.MatchRulePrinter
 
getShortName() - Method in enum org.pfsw.text.TimeUnit
Returns the string short name of the unit.
getSingleCharWildcard() - Method in class org.pfsw.text.MatchRuleChars
Returns the character that is used as placeholder for a single character.
getSingleCharWildcard() - Method in class org.pfsw.text.StringPattern
Returns the wildcard character that is used as placeholder for a single occurance of any character.
getSizeInBytes() - Method in class org.pfsw.text.ByteSizeValue
Returns the value in BYTES.
getSpecialNameCharacters() - Method in class org.pfsw.text.DefaultMatchRuleParser
Returns the special character allowed in attribute names
getSpecialNameCharacters() - Method in class org.pfsw.text.MatchRuleChars
Returns all extra charcters, that are allowed in attribute names.
getStack() - Method in class org.pfsw.text.LdapMatchRuleVisitor
 
getString(int) - Method in class org.pfsw.text.json.JsonArray
Returns the value for the given index as String (if it is one).
getString(String) - Method in class org.pfsw.text.json.JsonObject
Returns the value for the given name as String (if it is one).
getString(IStringConstant) - Method in class org.pfsw.text.json.JsonObject
Returns the value for the given name as String (if it is one).
getString(String) - Method in class org.pfsw.text.StringUtil
Returns a string that does not contain the optional enclosing delimiters " or '.
getString(String, IStringPair) - Method in class org.pfsw.text.StringUtil
Returns a string that does not contain the optional enclosing delimiters specified in the second parameter.
getString(String, IStringPair[]) - Method in class org.pfsw.text.StringUtil
Returns a string that does not contain the optional enclosing delimiters specified in the second parameter.
getString1() - Method in class org.pfsw.text.StringPair
 
getString2() - Method in class org.pfsw.text.StringPair
 
getStringArray(String, boolean) - Method in class org.pfsw.text.json.JsonObjectAccessor
 
getStringDelimiter() - Method in class org.pfsw.text.json.SimpleJsonParser
 
getStringExaminer() - Method in class org.pfsw.text.json.SimpleJsonParser
 
getSupportQuotedArguments() - Method in class org.pfsw.text.CommandLineArguments
Returns whether or not quoted arguments are supported.
getSwitchAndValuesMustBeSeparated() - Method in class org.pfsw.text.CommandLineArguments
 
getSwitchIndicator() - Method in class org.pfsw.text.CommandLineArguments
Returns the prefix which must proceed each command line switch (option).
getTypedElement(int, Class<T>) - Method in class org.pfsw.text.json.JsonArray
 
getTypedElement(String, Class<T>) - Method in class org.pfsw.text.json.JsonObject
 
getTypedValueOf(IStringConstant, Class<T>, boolean) - Method in class org.pfsw.text.json.JsonObjectAccessor
 
getTypedValueOf(String, Class<T>, boolean) - Method in class org.pfsw.text.json.JsonObjectAccessor
 
getTypeOf(Object) - Method in class org.pfsw.text.MatchAttribute
Returns the type of the given object or if it is an array or a list the type of its first element.
getUnqualifiedClassName(String) - Method in class org.pfsw.text.StringUtil
Returns the class name without the package name.
getValue() - Method in class org.pfsw.text.ByteSizeValue
 
getValue(String) - Method in class org.pfsw.text.json.JsonObject
 
getValue(IStringConstant) - Method in class org.pfsw.text.json.JsonObject
 
getValueDelimiterChar() - Method in class org.pfsw.text.DefaultMatchRuleParser
Returns the character that is used to enclose a value ( DEFAULT = '\'' )
getValueDelimiterChar() - Method in class org.pfsw.text.MatchRuleChars
Returns the character that is used to enclose a value ( DEFAULT = '\'' )
getValueEndChar() - Method in class org.pfsw.text.DefaultMatchRuleParser
Returns the character ends a list of values ( DEFAULT = '}' )
getValueEndChar() - Method in class org.pfsw.text.MatchRuleChars
Returns the character ends a list of values ( DEFAULT = '}' )
getValueEndChar() - Method in class org.pfsw.text.MatchRulePrinter
Returns the character ends a list of values ( DEFAULT = '}' )
getValueOfType(int, Class<T>) - Method in class org.pfsw.text.json.JsonArray
Returns the value for the given index as type of the given class.
getValueOfType(String, Class<T>) - Method in class org.pfsw.text.json.JsonObject
Returns the value for the given name as type of the given class.
getValueOfType(IStringConstant, Class<T>) - Method in class org.pfsw.text.json.JsonObject
Returns the value for the given name as type of the given class.
getValueSeparatorChar() - Method in class org.pfsw.text.DefaultMatchRuleParser
Returns the character for separation of values ( DEFAULT = ',' )
getValueSeparatorChar() - Method in class org.pfsw.text.MatchRuleChars
Returns the character for separation of values ( DEFAULT = ',' )
getValueSeparatorChar() - Method in class org.pfsw.text.MatchRulePrinter
Returns the character for separation of values ( DEFAULT = ',' )
getValueStartChar() - Method in class org.pfsw.text.DefaultMatchRuleParser
Returns the character that starts a list of values ( DEFAULT = '{' )
getValueStartChar() - Method in class org.pfsw.text.MatchRuleChars
Returns the character that starts a list of values ( DEFAULT = '{' )
getValueStartChar() - Method in class org.pfsw.text.MatchRulePrinter
Returns the character that starts a list of values ( DEFAULT = '{' )
getValueType() - Method in class org.pfsw.text.MatchAttribute
 
getVersionElements() - Method in class org.pfsw.text.Version
Returns an array where all sub-elements are contained.
groupStarted() - Method in class org.pfsw.text.MatchRulePrinter
 
groupStarted(boolean) - Method in class org.pfsw.text.MatchRulePrinter
 
groupStarted() - Method in class org.pfsw.text.SqlMatchRuleVisitor
 
groupStarted(boolean) - Method in class org.pfsw.text.SqlMatchRuleVisitor
 

H

hasDigitWildcard() - Method in class org.pfsw.text.StringPattern
 
hashCode() - Method in class org.pfsw.text.ByteSizeValue
 
hashCode() - Method in class org.pfsw.text.CheckedCharsetName
 
hashCode() - Method in class org.pfsw.text.NaturalNumber
 
hashCode() - Method in class org.pfsw.text.StringPair
Returns a hash built over the two contained strings.
hashCode() - Method in class org.pfsw.text.StringPattern
Returns a hash code value for the object.
hashCode() - Method in class org.pfsw.text.TimeValue
 
hashCode() - Method in class org.pfsw.text.Version
Returns a hash code
hasNext() - Method in class org.pfsw.text.StringScanner
Returns true, if the scanner has not yet reached the end.
hasPadding() - Method in class org.pfsw.text.ObjectIdGenerator
Returns whether or not padding for the identifiers is activated.
hasPrefix() - Method in class org.pfsw.text.ObjectIdGenerator
Returns whether or not a prefix is defined.
hasWildcard() - Method in class org.pfsw.text.StringPattern
Returns true if the pattern contains any '*' or '?'
hexToBytes(String) - Method in class org.pfsw.text.StringUtil
Converts the given hex string to a byte array.
hexToBytes(String, String) - Method in class org.pfsw.text.StringUtil
Converts the given hex string to a byte array.

I

ignoreCase(boolean) - Method in class org.pfsw.text.MatchAttribute
 
ignoreCase(boolean) - Method in class org.pfsw.text.MatchElement
 
ignoreCase(boolean) - Method in class org.pfsw.text.MatchGroup
 
ignoreCase(boolean) - Method in class org.pfsw.text.MatchRule
Defines whether or not the case of characters in value comparison must be ignored.
ignoreCase() - Method in class org.pfsw.text.StringExaminer
 
ignoreCase(boolean) - Method in class org.pfsw.text.StringExaminer
 
ignoreCaseAsString() - Method in class org.pfsw.text.StringPattern
 
ignoreCaseInName() - Method in class org.pfsw.text.MatchAttribute
Returns true, if the attribute name should be treated not case-sensitive.
ignoreCaseInName(boolean) - Method in class org.pfsw.text.MatchAttribute
Sets whether the attribute name should be treated not case-sensitive.
ignoreCaseInName(boolean) - Method in class org.pfsw.text.MatchElement
 
ignoreCaseInName(boolean) - Method in class org.pfsw.text.MatchGroup
Defines whether or not the case of characters in attribute names must be ignored.
ignoreCaseInNames(boolean) - Method in class org.pfsw.text.MatchRule
Defines whether or not the case of characters in attribute names must be ignored.
indent() - Method in class org.pfsw.text.FormattedTextWriter
Increases the indentation level by 1.
indentationRequired() - Method in class org.pfsw.text.FormattedTextWriter
 
indexOf(String[], StringPattern) - Method in class org.pfsw.text.StringUtil
Returns the index of the first string in the given string array that matches the specified string pattern.
indexOf(String[], String) - Method in class org.pfsw.text.StringUtil
Returns the index of the specified string in the given string array.
indexOf(char[], char, boolean) - Method in class org.pfsw.text.StringUtil
Returns the index of the specified character in the given char array.
indexOfIgnoreCase(String[], String) - Method in class org.pfsw.text.StringUtil
Returns the index of the specified string in the given string array.
indexOfString(String[], String, boolean) - Method in class org.pfsw.text.StringUtil
Returns the index of the specified string in the given string array.
init() - Method in class org.pfsw.text.CommandLineArguments
 
inspectString() - Method in class org.pfsw.text.StringPattern
 
intValue() - Method in class org.pfsw.text.NaturalNumber
 
isAnyNullOrBlank(String...) - Method in class org.pfsw.text.StringUtil
Returns true if any one of the given strings is null or blank.
isArray() - Method in class org.pfsw.text.json.JsonArray
Returns true because this is a JSON array representation (in Java).
isArray() - Method in class org.pfsw.text.json.JsonObject
Returns false because this is no JSON array representation (in Java).
isArray() - Method in interface org.pfsw.text.json.JsonType
Returns true if this is a JSON array representation (in Java).
isArrayEnd(char) - Method in class org.pfsw.text.json.SimpleJsonParser
 
isArrayStart(char) - Method in class org.pfsw.text.json.SimpleJsonParser
 
isAttribute() - Method in class org.pfsw.text.MatchAttribute
Returns true, if the element is an attribute element.
isAttribute() - Method in class org.pfsw.text.MatchElement
 
isCorrectType(Object) - Method in class org.pfsw.text.MatchAttribute
 
isEmpty() - Method in class org.pfsw.text.CommandLineArguments
Returns true if no argument is set.
isEmpty() - Method in class org.pfsw.text.StringFilterCollection
 
isEmpty() - Method in class org.pfsw.text.StringPatternCollection
Returns true if no pattern definition is currently in this collection
isEqual(String, String) - Method in class org.pfsw.text.StringPair
 
isEqualTo(String) - Method in class org.pfsw.text.Version
Returns true if this version is equal to the version represented by the given string.
isEscape(char) - Method in class org.pfsw.text.json.SimpleJsonParser
 
isFalse(String) - Method in class org.pfsw.text.StringUtil
Returns true if the given string represents a false setting.
isFirstGroup() - Method in class org.pfsw.text.LdapMatchRuleVisitor
 
isGreaterOrEqual(Version) - Method in class org.pfsw.text.Version
Returns if this version is greater or equal compared to the given version.
isGreaterOrEqual(String) - Method in class org.pfsw.text.Version
Returns if this version is greater or equal compared to the given version.
isGreaterThan(Version) - Method in class org.pfsw.text.Version
Returns if this version is greater than the specified version.
isGreaterThan(String) - Method in class org.pfsw.text.Version
Returns if this version is greater than the given version.
isGroup() - Method in class org.pfsw.text.MatchElement
 
isGroup() - Method in class org.pfsw.text.MatchGroup
Returns always true, because this is a group.
isGroupEnd(char) - Method in class org.pfsw.text.DefaultMatchRuleParser
 
isInteger(String) - Method in class org.pfsw.text.StringUtil
Returns true if the given value is a string containing only digits and optionally a leading minus ('-') and is in the range of a valid integer Integer.MIN_VALUE <= value <= Integer.MAX_VALUE.
isLessOrEqual(Version) - Method in class org.pfsw.text.Version
Returns if this version is less or equal compared to the given version.
isLessOrEqual(String) - Method in class org.pfsw.text.Version
Returns if this version is less or equal compared to the given version.
isLessThan(Version) - Method in class org.pfsw.text.Version
Returns if this version is less than the given version.
isLessThan(String) - Method in class org.pfsw.text.Version
Returns if this version is less than the specified version.
isLiteral(char) - Method in class org.pfsw.text.LdapFilterParser
 
isLong(String) - Method in class org.pfsw.text.StringUtil
Returns true if the given value is a string containing only digits and optionally a leading minus ('-') and is in the range of a valid long - Long.MIN_VALUE <= value <= Long.MAX_VALUE.
isNegative() - Method in class org.pfsw.text.NaturalNumber
Returns true if this number is less than 0.
isNoneNullOrBlank(String...) - Method in class org.pfsw.text.StringUtil
Returns true if none of the given strings is null or blank.
isNotOperator(char) - Method in class org.pfsw.text.LdapFilterParser
 
isNullOrBlank(String) - Method in class org.pfsw.text.StringUtil
Returns true if the given string is null or empty or consists of whitespace characters only.
isNullOrEmpty(String[]) - Method in class org.pfsw.text.StringUtil
Returns true if the given string array is null or empty
isNullOrEmpty(String) - Method in class org.pfsw.text.StringUtil
Returns true if the given string is null or empty
isNumberStart(char) - Method in class org.pfsw.text.json.SimpleJsonParser
 
isNumeric() - Method in class org.pfsw.text.Version
Returns true if this version contains only positive numeric sub parts.
ISO_8859_1 - Static variable in class org.pfsw.text.CheckedCharsetName
The pre-defined constant for Java standard charset ISO-8859-1.
isObject() - Method in class org.pfsw.text.json.JsonArray
Returns false because this is no JSON object representation (in Java).
isObject() - Method in class org.pfsw.text.json.JsonObject
Returns true because this is a JSON object representation (in Java).
isObject() - Method in interface org.pfsw.text.json.JsonType
Returns true if this is a JSON object representation (in Java).
isObjectEnd(char) - Method in class org.pfsw.text.json.SimpleJsonParser
 
isObjectStart(char) - Method in class org.pfsw.text.json.SimpleJsonParser
 
isOperator(char) - Method in class org.pfsw.text.DefaultMatchRuleParser
 
isOperator(char) - Method in class org.pfsw.text.LdapFilterParser
 
isOption(String) - Method in class org.pfsw.text.CommandLineArguments
 
isOptionSet(String) - Method in class org.pfsw.text.CommandLineArguments
Returns whether or not the specified option is set in the command line arguments.
isPartOfValue(char) - Method in class org.pfsw.text.DefaultMatchRuleParser
Returns true if the given character can be part of a value.
isPositive() - Method in class org.pfsw.text.NaturalNumber
Returns true if this number is greater than 0.
isPositiveInteger(String) - Method in class org.pfsw.text.StringUtil
Returns true if the given string represents a valid positive integer.
isPositiveLong(String) - Method in class org.pfsw.text.StringUtil
Returns true if the given string represents a valid positive long.
isStringEnd(char) - Method in class org.pfsw.text.json.SimpleJsonParser
 
isStringStart(char) - Method in class org.pfsw.text.json.SimpleJsonParser
 
isTrue(String) - Method in class org.pfsw.text.StringUtil
Returns true if the given string represents a true setting.
isTyped() - Method in class org.pfsw.text.MatchAttribute
 
isValid() - Method in class org.pfsw.text.Version
Returns true if this version contains only valid sub parts.
isValidAttributeNameCharacter(char) - Method in class org.pfsw.text.LdapFilterParser
 
isValidCompareOperator(char) - Method in class org.pfsw.text.DefaultMatchRuleParser
 
isValidJsonType(Class<?>) - Method in class org.pfsw.text.json.JsonUtil
Returns true if the given class one of the supported JSON object types.
isValidJsonTypeInstance(Object) - Method in class org.pfsw.text.json.JsonUtil
Returns true if the given object is null or an instance of one of the supported JSON object types.
isValidNameCharacter(char) - Method in class org.pfsw.text.DefaultMatchRuleParser
 
isValidVersion(String) - Static method in class org.pfsw.text.Version
Returns true if the given string represents a valid version.
isValueSeparator(char) - Method in class org.pfsw.text.json.SimpleJsonParser
 
isZeroOrPositiveInteger(String) - Method in class org.pfsw.text.StringUtil
Returns true if the given string represents a valid positive or zero integer.
isZeroOrPositiveLong(String) - Method in class org.pfsw.text.StringUtil
Returns true if the given string represents a valid positive or zero long.

J

join(String, String...) - Method in class org.pfsw.text.StringUtil
Creates a string from the given elements, all separated by the specified separator.
JsonAccessException - Exception in org.pfsw.text.json
General exception for problems with access to JSON object fields/values.
JsonAccessException(String, Object...) - Constructor for exception org.pfsw.text.json.JsonAccessException
 
JsonAccessException(Throwable, String, Object...) - Constructor for exception org.pfsw.text.json.JsonAccessException
 
JsonArray - Class in org.pfsw.text.json
The Java internal representation of a JSON array.
JsonArray(Object...) - Constructor for class org.pfsw.text.json.JsonArray
 
JsonArray(Collection<? extends Object>) - Constructor for class org.pfsw.text.json.JsonArray
 
JsonArray(int) - Constructor for class org.pfsw.text.json.JsonArray
 
JsonConstants - Interface in org.pfsw.text.json
Fixed values for JSON as constants.
JsonObject - Class in org.pfsw.text.json
The Java representation of a JSON object.
JsonObject() - Constructor for class org.pfsw.text.json.JsonObject
 
JsonObject(int, float) - Constructor for class org.pfsw.text.json.JsonObject
 
JsonObject(int) - Constructor for class org.pfsw.text.json.JsonObject
 
JsonObject(Map<? extends String, ? extends Object>) - Constructor for class org.pfsw.text.json.JsonObject
 
JsonObjectAccessor - Class in org.pfsw.text.json
This is a wrapper around a single JsonObject.
JsonObjectAccessor(JsonObject) - Constructor for class org.pfsw.text.json.JsonObjectAccessor
 
JsonParseException - Exception in org.pfsw.text.json
An exception for all kinds of JSON parsing problems.
JsonParseException() - Constructor for exception org.pfsw.text.json.JsonParseException
 
JsonParseException(String, Throwable) - Constructor for exception org.pfsw.text.json.JsonParseException
 
JsonParseException(String) - Constructor for exception org.pfsw.text.json.JsonParseException
 
JsonParseException(Throwable) - Constructor for exception org.pfsw.text.json.JsonParseException
 
JsonType - Interface in org.pfsw.text.json
Common type for top level JSON objects (i.e.
JsonUtil - Class in org.pfsw.text.json
Convenience methods for JavaScript Object Notation (JSON) handling.
JsonUtil() - Constructor for class org.pfsw.text.json.JsonUtil
 
JU - Static variable in class org.pfsw.text.json.JsonUtil
The singleton of this class (i.e.

K

KB_FACTOR - Static variable in class org.pfsw.text.ByteSizeValue
The factor 1024.

L

LdapFilterParser - Class in org.pfsw.text
An instance of this class can be used to parse an LDAP filter string to a MatchRule.
LdapFilterParser() - Constructor for class org.pfsw.text.LdapFilterParser
Initialize the new instance with default values.
LdapMatchRuleVisitor - Class in org.pfsw.text
Walks over a MatchRule to create a LDAP filter string out of it.
LdapMatchRuleVisitor() - Constructor for class org.pfsw.text.LdapMatchRuleVisitor
Initialize the new instance with default values.
leftPad(long) - Method in class org.pfsw.text.ObjectIdGenerator
 
leftPad(long, int) - Method in class org.pfsw.text.ObjectIdGenerator
 
leftPad(String, int) - Method in class org.pfsw.text.StringUtil
Returns the given string filled (on the left) up to the specified length with spaces.
leftPad(int, int) - Method in class org.pfsw.text.StringUtil
Returns the given integer as string filled (on the left) up to the specified length with zeroes.
leftPad(long, int) - Method in class org.pfsw.text.StringUtil
Returns the given long as string filled (on the left) up to the specified length with zeroes.
leftPadCh(String, int, char) - Method in class org.pfsw.text.StringUtil
Returns the given string filled (on the left) up to the specified length with the given character.
leftPadCh(int, int, char) - Method in class org.pfsw.text.StringUtil
Returns the given integer as string filled (on the left) up to the specified length with the given fill character.
leftPadCh(long, int, char) - Method in class org.pfsw.text.StringUtil
Returns the given long as string filled (on the left) up to the specified length with the given fill character.
leftPadCh(StringBuffer, long, int, char) - Method in class org.pfsw.text.StringUtil
Returns the given long as string filled (on the left) up to the specified length with the given fill character.
length - Variable in class org.pfsw.text.StringScanner
 
length() - Method in class org.pfsw.text.StringScanner
Returns the length of the underlying string.
longValue() - Method in class org.pfsw.text.NaturalNumber
 

M

mapToJSON(Map<String, Object>) - Method in class org.pfsw.text.json.JsonUtil
Converts the given map to a valid JSON string representation.
markPosition() - Method in class org.pfsw.text.StringScanner
Remembers the current position for later use with restorePosition()
match(String, String) - Static method in class org.pfsw.text.StringPattern
Returns true, if the given probe string matches the given pattern.
MatchAttribute - Class in org.pfsw.text
An instance of this class holds the name and the pattern values for one attribute.
MatchAttribute() - Constructor for class org.pfsw.text.MatchAttribute
Initialize the new instance with default values.
MatchAttribute(String) - Constructor for class org.pfsw.text.MatchAttribute
Initialize the new instance with a name.
MatchElement - Class in org.pfsw.text
Implements all common state and behavior of elements in a match rule.
MatchElement() - Constructor for class org.pfsw.text.MatchElement
Initialize the new instance with default values.
matches(Map<String, ?>) - Method in class org.pfsw.text.MatchElement
Returns true, if the attributes and their values in the given dictionary comply to the rules of the receiver.
matches(Map<String, ?>) - Method in class org.pfsw.text.MatchRule
Returns true, if the attributes and their values in the given dictionary comply to the rules of the receiver.
matches(String) - Method in class org.pfsw.text.NegativeStringFilter
 
matches(String) - Method in class org.pfsw.text.RegexPattern
 
matches(String) - Method in class org.pfsw.text.StringCollectionFilter
Returns true if the given string is in the internal collection of strings.
matches(String) - Method in class org.pfsw.text.StringFilterCollection
 
matches(String) - Method in class org.pfsw.text.StringPattern
Tests if a specified string matches the pattern.
matches(String) - Method in class org.pfsw.text.StringPatternCollection
Returns true if the given string matches the filter otherwise false.
matchesAll(String) - Method in class org.pfsw.text.StringPatternCollection
Returns true if the given probe matches all patterns in this collection.
matchesAllFilters(String) - Method in class org.pfsw.text.StringFilterCollection
 
matchesAny(String) - Method in class org.pfsw.text.StringPatternCollection
Returns true, if the given probe matches any of the patterns.
matchesAnyFilter(String) - Method in class org.pfsw.text.StringFilterCollection
 
matchesIfInCollection() - Method in class org.pfsw.text.StringCollectionFilter
Returns true if this filter matches a string if it is found in the internal collection.
matchesNone(String) - Method in class org.pfsw.text.StringPatternCollection
Returns true, if the given probe matches none of the patterns.
matchesOneFilter(String) - Method in class org.pfsw.text.StringFilterCollection
 
MatchGroup - Class in org.pfsw.text
Represents a group of MatchAttributes and/or MatchGroups
MatchGroup() - Constructor for class org.pfsw.text.MatchGroup
Initialize the new instance with default values.
matchIgnoreCase(String, String) - Static method in class org.pfsw.text.StringPattern
Returns true, if the given probe string matches the given pattern.
matchReverse(String, StringExaminer) - Method in class org.pfsw.text.StringPattern
 
MatchRule - Class in org.pfsw.text
The purpose of class MatchRule is to provide an easy-to-use component, that checks a dictionary (i.e.
MatchRule() - Constructor for class org.pfsw.text.MatchRule
Initialize the new instance with default values.
MatchRule(boolean) - Constructor for class org.pfsw.text.MatchRule
Initialize the new instance with default values.
MatchRule(String) - Constructor for class org.pfsw.text.MatchRule
Initialize the new instance with a rule for later pattern-matching.
MatchRule(MatchGroup) - Constructor for class org.pfsw.text.MatchRule
Initialize the new instance with a root group
MatchRule(String, MatchRuleChars) - Constructor for class org.pfsw.text.MatchRule
Initialize the new instance with rule for later pattern-matching and a set of special characters which are the operators and separators on the rule.
MatchRuleChars - Class in org.pfsw.text
Contains the set of special characters for MatchRules.
MatchRuleChars() - Constructor for class org.pfsw.text.MatchRuleChars
Initialize the new instance with default values.
MatchRuleCompareOperator - Enum in org.pfsw.text
Supported operators in match rules.
MatchRuleException - Exception in org.pfsw.text
The base exception of all exceptions that can occur with match rules.
MatchRuleException() - Constructor for exception org.pfsw.text.MatchRuleException
Initialize the new instance with default values.
MatchRuleException(String) - Constructor for exception org.pfsw.text.MatchRuleException
Initialize the new instance with with a message and optional arguments.
MatchRuleException(String, Object...) - Constructor for exception org.pfsw.text.MatchRuleException
Initialize the new instance with with a message and optional arguments.
MatchRuleParseException - Exception in org.pfsw.text
This exception is used for all parsing errors of MatchRule parser classes.
MatchRuleParseException() - Constructor for exception org.pfsw.text.MatchRuleParseException
Initialize the new instance with default values.
MatchRuleParseException(String) - Constructor for exception org.pfsw.text.MatchRuleParseException
Initialize the new instance with with a message.
MatchRuleParseException(String, Object...) - Constructor for exception org.pfsw.text.MatchRuleParseException
Initialize the new instance with with a message.
MatchRulePrinter - Class in org.pfsw.text
Converts a MatchRule to a String using the default syntax.
MatchRulePrinter() - Constructor for class org.pfsw.text.MatchRulePrinter
Initialize the new instance with default values.
MatchRulePrinter(MatchRuleChars) - Constructor for class org.pfsw.text.MatchRulePrinter
Initialize the new instance with match rule characters.
MatchRuleVisitor - Interface in org.pfsw.text
Implementers of this interface can be used with MatchRule.apply() to navigate through the parsed rule tree and execute specific tasks on the elements.
matchValue(Object) - Method in class org.pfsw.text.MatchAttribute
 
matchValueAgainstValues(Comparable<T>, T[]) - Method in class org.pfsw.text.MatchAttribute
 
matchValueArray(Object[]) - Method in class org.pfsw.text.MatchAttribute
 
matchValueCollection(Collection<?>) - Method in class org.pfsw.text.MatchAttribute
 
mergeAnd(MatchRule) - Method in class org.pfsw.text.MatchRule
Append the given rule to the receiver with a logical AND
mergeOr(MatchRule) - Method in class org.pfsw.text.MatchRule
Append the given rule to the receiver with a logical OR
MULTICHAR_WILDCARD - Static variable in class org.pfsw.text.SqlMatchRuleVisitor
 
multiCharWildcardMatchesEmptyString(boolean) - Method in class org.pfsw.text.MatchAttribute
 
multiCharWildcardMatchesEmptyString(boolean) - Method in class org.pfsw.text.MatchElement
 
multiCharWildcardMatchesEmptyString(boolean) - Method in class org.pfsw.text.MatchGroup
 
multiCharWildcardMatchesEmptyString(boolean) - Method in class org.pfsw.text.MatchRule
Sets whether or not this match rule allows empty strings at the position of the multi character wildcard ('*').
multiCharWildcardMatchesEmptyString() - Method in class org.pfsw.text.StringPattern
Returns true, if this StringPattern allows empty strings at the position of the multi character wildcard ('*').
multiCharWildcardMatchesEmptyString(boolean) - Method in class org.pfsw.text.StringPattern
sets whether or not this StringPattern allows empty strings at the position of the multi character wildcard ('*').

N

NAME_SEPARATOR - Static variable in interface org.pfsw.text.json.JsonConstants
 
nameOfAttribute(Map<String, ?>) - Method in class org.pfsw.text.MatchAttribute
 
NaturalNumber - Class in org.pfsw.text
A natural number is an abstraction of the two types Integer and Long.
NaturalNumber(long) - Constructor for class org.pfsw.text.NaturalNumber
 
NaturalNumber(int) - Constructor for class org.pfsw.text.NaturalNumber
 
NaturalNumber(String) - Constructor for class org.pfsw.text.NaturalNumber
Parses the string argument as a signed decimal long.
needsSeparator(int, Version.VersionElement) - Method in class org.pfsw.text.Version
 
negate() - Method in class org.pfsw.text.StringCollectionFilter
Inverts the (match) logic of this filter
NegativeStringFilter - Class in org.pfsw.text
A simple filter that negates the result of its inner string filter.
NegativeStringFilter(IStringFilter) - Constructor for class org.pfsw.text.NegativeStringFilter
Initialize the new instance with another filter which it negates.
newElementList() - Method in class org.pfsw.text.MatchGroup
 
newExaminer(String) - Method in class org.pfsw.text.StringPattern
 
newIdentifier() - Method in class org.pfsw.text.ObjectIdGenerator
Returns a new unique identifier as string.
newLine() - Method in class org.pfsw.text.FormattedTextWriter
Writes the newline character(s).
NewLine - Enum in org.pfsw.text
Provides new line character sequences for the various operating systems.
newLine() - Method in class org.pfsw.text.TextFileWriter
Writes the newline character(s).
newLine() - Method in class org.pfsw.text.UncheckedTextFileWriter
Writes the newline character(s).
newPattern(String) - Method in class org.pfsw.text.StringPatternCollection
Creates and returns a new pattern object out of the given string.
newString(byte[]) - Method in class org.pfsw.text.CheckedCharsetName
Returns a new String initialized with the given bytes which are expected to be encoded according to the character set this instance represents, avoiding the unnecessary exception handling (UnsupportedEncodingException).
nextChar() - Method in class org.pfsw.text.json.SimpleJsonParser
Returns simply the next character of the underlying JSON string.
nextChar() - Method in class org.pfsw.text.RandomStringGenerator
 
nextChar() - Method in class org.pfsw.text.StringScanner
Returns the character at the current position and increments the position afterwards by 1.
nextIdentifier() - Method in class org.pfsw.text.ObjectIdGenerator
Returns a new identifier which is different to the last one and automatically increments the internal value for the next id.
nextIndex() - Method in class org.pfsw.text.RandomStringGenerator
 
nextIsGroupElement() - Method in class org.pfsw.text.DefaultMatchRuleParser
 
nextNoneWhitespaceChar() - Method in class org.pfsw.text.json.SimpleJsonParser
Looks for the next character that is no white space and returns it.
nextNoneWhitespaceChar() - Method in class org.pfsw.text.StringScanner
Returns the next character that is no whitespace and leaves the position pointer one character after the returned one.
notNullOrBlank(String) - Method in class org.pfsw.text.StringUtil
Returns true if the given string is not null and not empty and does not consist of whitespace characters only.
notNullOrEmpty(String[]) - Method in class org.pfsw.text.StringUtil
Returns true if the given string array is not null and not empty
notNullOrEmpty(String) - Method in class org.pfsw.text.StringUtil
Returns true if the given string is not null and not empty
NULL - Static variable in interface org.pfsw.text.json.JsonConstants
 
NULL_HASHCODE - Static variable in class org.pfsw.text.StringPair
Defines the hash code of instances that contain two null strings.
NULL_STRING - Static variable in class org.pfsw.text.StringUtil
A string representing null (containing character '\0')

O

objectAsString(Object) - Method in class org.pfsw.text.MatchAttribute
Returns the string representation of the given object.
ObjectIdGenerator - Class in org.pfsw.text
Generates numeric IDs that are left padded with zeros.
ObjectIdGenerator() - Constructor for class org.pfsw.text.ObjectIdGenerator
Initialize the new instance with default values.
ObjectIdGenerator(int) - Constructor for class org.pfsw.text.ObjectIdGenerator
Initialize the new instance with the length for the generated identifiers.
ObjectIdGenerator(long, int) - Constructor for class org.pfsw.text.ObjectIdGenerator
Initialize the new instance with the length for the generated identifiers and the id to start with.
objectToJSONValue(Object) - Method in class org.pfsw.text.json.JsonUtil
Tries to convert the given object to a JSON string.
OPEN_PARENTHESIS - Static variable in class org.pfsw.text.SqlMatchRuleVisitor
 
operator() - Method in class org.pfsw.text.MatchAttribute
 
operator(MatchRuleCompareOperator) - Method in class org.pfsw.text.MatchAttribute
 
optimize() - Method in class org.pfsw.text.MatchGroup
 
optimize() - Method in class org.pfsw.text.MatchRule
Optimize the rule for best performance.
optimizeAttribute(int) - Method in class org.pfsw.text.MatchGroup
 
org.pfsw.text - package org.pfsw.text
Text and String Utility Classes
Contains classes for string and string array manipulation as well as rule parsers and simple string pattern matching functionality.
org.pfsw.text.json - package org.pfsw.text.json
 
outdent() - Method in class org.pfsw.text.FormattedTextWriter
Decreases the indentation level by 1.

P

padCh(String, int, char, boolean) - Method in class org.pfsw.text.StringUtil
 
padCh(StringBuffer, String, int, char, boolean) - Method in class org.pfsw.text.StringUtil
 
parenthesisExpected(String) - Method in class org.pfsw.text.LdapFilterParser
 
parse(String) - Method in class org.pfsw.text.DefaultMatchRuleParser
Parse the given rule string to a MatchRule object that can be used to check attributes in a Map, if they match the rule.
parse(String) - Method in class org.pfsw.text.json.SimpleJsonParser
Parse the given JSON text and return its Java representation.
parse(String) - Method in class org.pfsw.text.LdapFilterParser
Parse the given LDAP filter string to a MatchRule object that can be used to check attributes in a Map, if they match the rule (filter).
parse() - Method in class org.pfsw.text.LdapFilterParser
 
parse(String) - Static method in class org.pfsw.text.NaturalNumber
Parses the string argument as a signed decimal long.
parse(String) - Method in class org.pfsw.text.Version
 
parseAndInit(String, ByteSizeUnit) - Method in class org.pfsw.text.ByteSizeValue
Parse the given string, taking any optional unit string at the end into account.
parseArray(String) - Method in class org.pfsw.text.json.SimpleJsonParser
Parse the given JSON text and return its Java representation as JsonArray.
parseArray() - Method in class org.pfsw.text.json.SimpleJsonParser
 
parseAttribute() - Method in class org.pfsw.text.DefaultMatchRuleParser
 
parseAttribute() - Method in class org.pfsw.text.LdapFilterParser
 
parseElement() - Method in class org.pfsw.text.LdapFilterParser
 
parseFilter(String) - Static method in class org.pfsw.text.LdapFilterParser
Parse the given LDAP filter string to a MatchRule object that can be used to check attributes in a Map, if they match the rule (filter).
parseGroup() - Method in class org.pfsw.text.DefaultMatchRuleParser
 
parseGroup(char) - Method in class org.pfsw.text.LdapFilterParser
 
parseInternal() - Method in class org.pfsw.text.json.SimpleJsonParser
 
parseKeyValueInto(Map<String, Object>) - Method in class org.pfsw.text.json.SimpleJsonParser
 
parseLiteral() - Method in class org.pfsw.text.json.SimpleJsonParser
 
parseLiteralString(int, String) - Method in class org.pfsw.text.json.SimpleJsonParser
 
parseNotElement() - Method in class org.pfsw.text.LdapFilterParser
 
parseNumber() - Method in class org.pfsw.text.json.SimpleJsonParser
Returns either an Integer, a Long or a BigDecimal.
parseObject(String) - Method in class org.pfsw.text.json.SimpleJsonParser
Parse the given JSON text and return its Java representation as JsonObject.
parseObject() - Method in class org.pfsw.text.json.SimpleJsonParser
 
parser() - Method in class org.pfsw.text.MatchRule
 
parseRule(String) - Static method in class org.pfsw.text.DefaultMatchRuleParser
Parse the given rule string to a MatchRule object that can be used to check attributes in a Map, if they match the rule.
parseRule(String, MatchRuleChars) - Method in class org.pfsw.text.MatchRule
 
parseString() - Method in class org.pfsw.text.json.SimpleJsonParser
 
parseTo(String, Class<T>) - Method in class org.pfsw.text.json.SimpleJsonParser
 
parseToGroup(String) - Method in class org.pfsw.text.DefaultMatchRuleParser
Parse the given rule string to a MatchGroup which can be used to create a MatchRule.
parseToGroup(String) - Method in class org.pfsw.text.LdapFilterParser
Parse the given LDAP filter string to a MatchGroup which can be used to create a MatchRule.
parseToMilliseconds(String, TimeUnit) - Method in class org.pfsw.text.TimeValue
Parse the given string, taking any optional unit string at the end into account.
parseTypedRule(String, Map<String, Class<?>>) - Method in class org.pfsw.text.DefaultMatchRuleParser
Parse the given rule string to a MatchRule and apply the given datatypes to it.
parseUpToQuote() - Method in class org.pfsw.text.json.SimpleJsonParser
 
parseValue() - Method in class org.pfsw.text.json.SimpleJsonParser
 
parts(String, String) - Method in class org.pfsw.text.StringUtil
Returns an array of substrings of the given text.
parts(String, String, char) - Method in class org.pfsw.text.StringUtil
Returns an array of substrings of the given text.
parts(String, String, char[]) - Method in class org.pfsw.text.StringUtil
Returns an array of substrings of the given text.
parts(String, String, IStringPair[]) - Method in class org.pfsw.text.StringUtil
Returns an array of substrings of the given text.
parts(String, String, boolean) - Method in class org.pfsw.text.StringUtil
Returns an array of substrings of the given text.
peek() - Method in class org.pfsw.text.StringScanner
Returns the character at the current position without changing the position, that is subsequent calls to this method return always the same character.
peekNextChar() - Method in class org.pfsw.text.json.SimpleJsonParser
Returns the next character of the underlying JSON string without moving the examiner's position forward.
peekNextNoneWhitespaceChar() - Method in class org.pfsw.text.json.SimpleJsonParser
Looks for the next character that is no white space and returns it.
peekUpToEnd() - Method in class org.pfsw.text.StringExaminer
Returns the a string containing all characters from the current position up to the end of the examined string.
peekUpToPosition(int) - Method in class org.pfsw.text.StringExaminer
Returns the a string containing all characters from the current position up to the specified position of the examined string.
pop() - Method in class org.pfsw.text.LdapMatchRuleVisitor
 
pos_marker - Variable in class org.pfsw.text.StringScanner
 
position - Variable in class org.pfsw.text.StringScanner
 
prefix(String, String) - Method in class org.pfsw.text.StringUtil
Returns the substring of the given string that comes before the first occurrence of the specified separator.
prefix(String, String, boolean) - Method in class org.pfsw.text.StringUtil
Returns the substring of the given string that comes before the first occurance of the specified separator.
processLines(ILineProcessor) - Method in class org.pfsw.text.TextFileReader
Processes all lines of the underlying text file by reading each line and sending it to the given line processor.
push(LdapMatchRuleVisitor.GroupInfo) - Method in class org.pfsw.text.LdapMatchRuleVisitor
 
put(String, Object) - Method in class org.pfsw.text.json.JsonObject
Adds the given element if it is a valid JSON object type.

Q

QUOTE - Static variable in class org.pfsw.text.CommandLineArguments
 
quotedParts(String, String, char[], boolean) - Method in class org.pfsw.text.StringUtil
Quotes are removed from all parts If str is null an empty array will be returned!
quotedParts(String, String, IStringPair[], boolean) - Method in class org.pfsw.text.StringUtil
 

R

RandomStringGenerator - Class in org.pfsw.text
A string generator that produces a new random string for each invocation.
RandomStringGenerator() - Constructor for class org.pfsw.text.RandomStringGenerator
Creates a generator with all default values set (length=10, chars=[A-Z,a-z,0-9]).
RandomStringGenerator(int) - Constructor for class org.pfsw.text.RandomStringGenerator
Creates a generator with all default values set (length=10, chars=[A-Z,a-z,0-9]).
RandomStringGenerator(Random) - Constructor for class org.pfsw.text.RandomStringGenerator
Creates a generator with all default values set (length=10, chars=[A-Z,a-z,0-9]) and a custom randomizer.
readAttributeName(MatchAttribute) - Method in class org.pfsw.text.DefaultMatchRuleParser
 
readCompareOperator(MatchAttribute) - Method in class org.pfsw.text.DefaultMatchRuleParser
 
readDelimitedMatchValue() - Method in class org.pfsw.text.DefaultMatchRuleParser
 
readElement() - Method in class org.pfsw.text.DefaultMatchRuleParser
 
readElements(MatchGroup) - Method in class org.pfsw.text.DefaultMatchRuleParser
 
readMatchValue(MatchAttribute) - Method in class org.pfsw.text.DefaultMatchRuleParser
 
readMatchValue() - Method in class org.pfsw.text.DefaultMatchRuleParser
 
readMatchValues(MatchAttribute) - Method in class org.pfsw.text.DefaultMatchRuleParser
 
readOperators(MatchElement) - Method in class org.pfsw.text.DefaultMatchRuleParser
Return two operator flags depending on the next characters in the scanner.
readUndelimitedMatchValue(char) - Method in class org.pfsw.text.DefaultMatchRuleParser
 
readUpTo(char) - Method in class org.pfsw.text.DefaultMatchRuleParser
 
RegexPattern - Class in org.pfsw.text
A regular expression pattern that can be used multiple times to be matched against strings.
RegexPattern(String) - Constructor for class org.pfsw.text.RegexPattern
Creates a new pattern based on the given regular expression.
reject(String[]) - Method in class org.pfsw.text.StringPattern
Returns an array containing all of the given strings that do NOT match this pattern.
reject(String[]) - Method in class org.pfsw.text.StringPatternCollection
Returns an array containing all of the given strings that do NOT match any pattern of this pattern collection.
reject(Collection<String>) - Method in class org.pfsw.text.StringPatternCollection
Returns a collection containing all of the given strings that do NOT match any pattern of this pattern collection.
remove(StringPattern) - Method in class org.pfsw.text.StringPatternCollection
Removes the given pattern from the collection if it exists.
remove(String[], String[]) - Method in class org.pfsw.text.StringUtil
Removes all string of the second array from the first array.
remove(String[], String) - Method in class org.pfsw.text.StringUtil
Removes the given string from the specified string array.
removeAllChars(String, String) - Method in class org.pfsw.text.StringUtil
Returns a copy of the given string where all characters have been removed that also occurred in the second string.
removeChar(String, char) - Method in class org.pfsw.text.StringUtil
Returns a copy of the given string where the specified character has been removed.
removeCharsFromString(String, String) - Method in class org.pfsw.text.StringUtil
 
removeElements(int, int) - Method in class org.pfsw.text.MatchGroup
 
removeFromStringArray(String[], String[]) - Method in class org.pfsw.text.StringUtil
Removes the given strings from the array.
removeNull(String[]) - Method in class org.pfsw.text.StringUtil
Removes all null values from the given string array.
removeOption(String) - Method in class org.pfsw.text.CommandLineArguments
Remove the specified option from the command line arguments.
removeOptionWithArgument(String) - Method in class org.pfsw.text.CommandLineArguments
Remove the specified option from the command line arguments.
repeat(char, int) - Method in class org.pfsw.text.StringUtil
Returns a string with size of count and all characters initialized with ch.
replaceAll(String, String, String) - Method in class org.pfsw.text.StringUtil
Returns the given string with all found oldSubStr replaced by newSubStr.
replaceEach(String, String, String) - Method in class org.pfsw.text.StringUtil
Returns the given sourceString with all characters occurring in oldChars replaced by the characters at the corresponding index in newChars.
reset() - Method in class org.pfsw.text.MatchRuleChars
Resets all rule characters to their default values.
reset() - Method in class org.pfsw.text.StringPatternCollection
Removes all patterns and starts with a new empty collection.
restorePosition() - Method in class org.pfsw.text.StringScanner
Restores the position to the value of the latest markPosition() call
reverse(String) - Method in class org.pfsw.text.StringUtil
Returns a string that contains all characters of the given string in reverse order.
ReverseComparator<T> - Class in org.pfsw.text
Provides a comparator implementation that is a wrapper around another comparator with the purpose to reverse the compare order of the given objects.
ReverseComparator(Comparator<T>) - Constructor for class org.pfsw.text.ReverseComparator
Initialize the new instance with another comparator
rightPad(String, int) - Method in class org.pfsw.text.StringUtil
Returns the given string filled (on the right) up to the specified length with spaces.
rightPad(int, int) - Method in class org.pfsw.text.StringUtil
Returns the given integer as string filled (on the right) up to the specified length with spaces.
rightPad(long, int) - Method in class org.pfsw.text.StringUtil
Returns the given integer as string filled (on the right) up to the specified length with spaces.
rightPadCh(String, int, char) - Method in class org.pfsw.text.StringUtil
Returns the given string filled (on the right) up to the specified length with the given character.
rightPadCh(int, int, char) - Method in class org.pfsw.text.StringUtil
Returns the given integer as string filled (on the right) up to the specified length with the given character.
rightPadCh(long, int, char) - Method in class org.pfsw.text.StringUtil
Returns the given long as string filled (on the right) up to the specified length with the given character.

S

scanner() - Method in class org.pfsw.text.BaseMatchRuleParser
 
scanner(StringScanner) - Method in class org.pfsw.text.BaseMatchRuleParser
 
select(String[]) - Method in class org.pfsw.text.StringPattern
Returns an array containing all of the given strings that match this pattern.
select(String[]) - Method in class org.pfsw.text.StringPatternCollection
Returns an array containing all of the given strings that matches any pattern of this pattern collection.
select(Collection<String>) - Method in class org.pfsw.text.StringPatternCollection
Returns an array containing all of the given strings that matches any pattern of this pattern collection.
selectOrReject(String[], boolean) - Method in class org.pfsw.text.StringPattern
 
selectOrReject(String[], boolean) - Method in class org.pfsw.text.StringPatternCollection
 
selectOrReject(Collection<String>, boolean) - Method in class org.pfsw.text.StringPatternCollection
If possible, the result collection is of the same type as the input collection.
SEPARATOR - Static variable in class org.pfsw.text.Version
Contains the seperator between the version elements. (".")
setAllowedCharacters(String) - Method in class org.pfsw.text.RandomStringGenerator
Sets the set of characters that are used as base for the string generation.
setAllowedCharsArray(char[]) - Method in class org.pfsw.text.RandomStringGenerator
 
setAnd(boolean) - Method in class org.pfsw.text.MatchElement
 
setAndChar(char) - Method in class org.pfsw.text.DefaultMatchRuleParser
Sets the character for AND operations
setAndChar(char) - Method in class org.pfsw.text.MatchRuleChars
Sets the character for AND operations
setAndChar(char) - Method in class org.pfsw.text.MatchRulePrinter
Sets the character for AND operations
setAttributeName(String) - Method in class org.pfsw.text.MatchAttribute
Sets the name of the attribute that will be checked by this rule element
setBuffer(StringBuffer) - Method in class org.pfsw.text.LdapMatchRuleVisitor
 
setBuffer(StringBuffer) - Method in class org.pfsw.text.MatchRulePrinter
 
setBuffer(StringBuffer) - Method in class org.pfsw.text.SqlMatchRuleVisitor
 
setComparator(Comparator<T>) - Method in class org.pfsw.text.ReverseComparator
 
setCurrentUnit(ByteSizeUnit) - Method in class org.pfsw.text.ByteSizeValue
 
setDatatype(Object) - Method in class org.pfsw.text.MatchAttribute
Sets the datatype this attribute's value must have.
setDatatypes(Map<String, Class<?>>) - Method in class org.pfsw.text.MatchRule
Sets the datatypes specified in the given map.
setDefaultLength(int) - Method in class org.pfsw.text.RandomStringGenerator
Sets the length to be used as default for generating new strings.
setDigitWildcardChar(char) - Method in class org.pfsw.text.StringPattern
Sets the given character as a wildcard character in this pattern to match only digits ('0'-'9').
setElements(List<MatchElement>) - Method in class org.pfsw.text.MatchGroup
 
setElements(List<Version.VersionElement>) - Method in class org.pfsw.text.Version
 
setEqualsChar(char) - Method in class org.pfsw.text.DefaultMatchRuleParser
Sets the character that is used to compare if two values are equal
setEqualsChar(char) - Method in class org.pfsw.text.MatchRuleChars
Sets the character that is used to compare if two values are equal
setEqualsOperator() - Method in class org.pfsw.text.MatchAttribute
Sets the operator for value comparisons of this attribute to EQUALS.
setField(IStringConstant, Object) - Method in class org.pfsw.text.json.JsonObject
Adds the given element if it is a valid JSON object type.
setFileNameExtension(String, String, boolean) - Method in class org.pfsw.text.StringUtil
Sets the given extension as filename extension to the given filename.
setGreaterChar(char) - Method in class org.pfsw.text.DefaultMatchRuleParser
Sets the character that is used to compare if a value is greater than another
setGreaterChar(char) - Method in class org.pfsw.text.MatchRuleChars
Sets the character that is used to compare if a value is greater than another
setGreaterOperator() - Method in class org.pfsw.text.MatchAttribute
Sets the operator for value comparisons of this attribute to GREATER.
setGreaterOrEqualOperator() - Method in class org.pfsw.text.MatchAttribute
Sets the operator for value comparisons of this attribute to GREATER OR EQUAL.
setGroupEndChar(char) - Method in class org.pfsw.text.DefaultMatchRuleParser
Sets the character that ends a group
setGroupEndChar(char) - Method in class org.pfsw.text.MatchRuleChars
Sets the character that ends a group
setGroupEndChar(char) - Method in class org.pfsw.text.MatchRulePrinter
Sets the character that ends a group
setGroupStartChar(char) - Method in class org.pfsw.text.DefaultMatchRuleParser
Sets the character that starts a group
setGroupStartChar(char) - Method in class org.pfsw.text.MatchRuleChars
Sets the character that starts a group
setGroupStartChar(char) - Method in class org.pfsw.text.MatchRulePrinter
Sets the character that starts a group
setIgnoreCase(boolean) - Method in class org.pfsw.text.MatchRule
 
setIgnoreCase(boolean) - Method in class org.pfsw.text.StringCollectionFilter
Sets whether or not the string comparison is done case-insensitive
setIgnoreCase(boolean) - Method in class org.pfsw.text.StringPattern
Sets whether the pattern matching should ignore case or not
setIgnoreCase(boolean) - Method in class org.pfsw.text.StringPatternCollection
Sets whether all the patterns inside this collection should ignore case or not.
setIgnoreCase(Boolean) - Method in class org.pfsw.text.StringPatternCollection
Sets whether the pattern matching should ignore case or not
setIgnoreCaseInNames(boolean) - Method in class org.pfsw.text.DefaultMatchRuleParser
Sets whether or not the parser produces MatchRules that treat attribute names case-insensitive.
setIgnoreCaseInValues(boolean) - Method in class org.pfsw.text.DefaultMatchRuleParser
Sets whether or not the parser produces MatchRules that are case-insensitive when comparing values.
setIndentSize(int) - Method in class org.pfsw.text.FormattedTextWriter
Sets the number of spaces to be used for indentation per indentation level.
setInnerFilter(IStringFilter) - Method in class org.pfsw.text.NegativeStringFilter
 
setInternalStrings(String[]) - Method in class org.pfsw.text.StringCollectionFilter
 
setLength(int) - Method in class org.pfsw.text.ObjectIdGenerator
Sets the length to which the IDs (numeric part without prefix) must be filled-up with the defined padding character.
setLessChar(char) - Method in class org.pfsw.text.DefaultMatchRuleParser
Sets the character that is used to compare if a value is less than another
setLessChar(char) - Method in class org.pfsw.text.MatchRuleChars
Sets the character that is used to compare if a value is less than another
setLessOperator() - Method in class org.pfsw.text.MatchAttribute
Sets the operator for value comparisons of this attribute to LESS.
setLessOrEqualOperator() - Method in class org.pfsw.text.MatchAttribute
Sets the operator for value comparisons of this attribute to LESS OR EQUAL.
setMilliseconds(long) - Method in class org.pfsw.text.TimeValue
 
setMultiCharWildcard(char) - Method in class org.pfsw.text.StringPattern
Sets the wildcard character that is used as placeholder for zero to many occurances of any character(s).
setMultiCharWildcardMatchesEmptyString(boolean) - Method in class org.pfsw.text.DefaultMatchRuleParser
Sets whether or not this parser creates match rules that allow empty strings at the position of the multi character wildcard ('*').
setNewline(String) - Method in class org.pfsw.text.FormattedTextWriter
Sets the new line character(s) to be used by this writer.
setNewline(NewLine) - Method in class org.pfsw.text.TextFileWriter
Sets the new line definition to be used by this writer.
setNewline(NewLine) - Method in class org.pfsw.text.UncheckedTextFileWriter
 
setNextId(long) - Method in class org.pfsw.text.ObjectIdGenerator
Sets the next identifier to the given value.
setNot(boolean) - Method in class org.pfsw.text.MatchElement
 
setNotChar(char) - Method in class org.pfsw.text.DefaultMatchRuleParser
Sets the character for NOT operations
setNotChar(char) - Method in class org.pfsw.text.MatchRuleChars
Sets the character for NOT operations
setNotChar(char) - Method in class org.pfsw.text.MatchRulePrinter
Sets the character for NOT operations
setOperation(BooleanOperation) - Method in class org.pfsw.text.StringFilterCollection
Set the boolean operation the filter results must combined with.
setOptionsWithValues(Map<String, String[]>) - Method in class org.pfsw.text.CommandLineArguments
 
setOrChar(char) - Method in class org.pfsw.text.DefaultMatchRuleParser
Sets the character for OR operations
setOrChar(char) - Method in class org.pfsw.text.MatchRuleChars
Sets the character for OR operations
setOrChar(char) - Method in class org.pfsw.text.MatchRulePrinter
Sets the character for OR operations
setPadChar(char) - Method in class org.pfsw.text.ObjectIdGenerator
Set the character that is used to fill up the IDs to the full length.
setParser(DefaultMatchRuleParser) - Method in class org.pfsw.text.MatchRule
 
setParseString(String) - Method in exception org.pfsw.text.MatchRuleParseException
 
setPattern(StringPattern) - Method in class org.pfsw.text.MatchAttribute
Sets the specified pattern as the sole pattern to be checked when matching this attribute against a map.
setPattern(Pattern) - Method in class org.pfsw.text.RegexPattern
 
setPattern(String) - Method in class org.pfsw.text.StringPattern
Sets the pattern to a new value
setPatterns(StringPattern[]) - Method in class org.pfsw.text.MatchAttribute
Sets the value pattern(s) against that will be matched
setPatterns(Collection<StringPattern>) - Method in class org.pfsw.text.StringPatternCollection
 
setPosition(int) - Method in exception org.pfsw.text.MatchRuleParseException
 
setPosition(int) - Method in class org.pfsw.text.StringScanner
 
setPrefix(String) - Method in class org.pfsw.text.ObjectIdGenerator
Set the prefix that will be prepended to every generated ID.
setRootGroup(LdapMatchRuleVisitor.GroupInfo) - Method in class org.pfsw.text.LdapMatchRuleVisitor
 
setRootGroup(MatchGroup) - Method in class org.pfsw.text.MatchRule
 
setRule(String) - Method in class org.pfsw.text.MatchRule
Set (and parse) the given rule and keep it for later checks with matches().
setRuleChars(MatchRuleChars) - Method in class org.pfsw.text.DefaultMatchRuleParser
 
setRuleChars(MatchRuleChars) - Method in class org.pfsw.text.MatchRulePrinter
 
setSingleCharWildcard(char) - Method in class org.pfsw.text.StringPattern
Sets the wildcard character that is used as placeholder for a single occurance of any character.
setSpecialNameCharacters(String) - Method in class org.pfsw.text.MatchRuleChars
Sets all extra charcters, that are allowed in attribute names.
setStack(Stack<LdapMatchRuleVisitor.GroupInfo>) - Method in class org.pfsw.text.LdapMatchRuleVisitor
 
setString1(String) - Method in class org.pfsw.text.StringPair
 
setString2(String) - Method in class org.pfsw.text.StringPair
 
setStringExaminer(StringExaminer) - Method in class org.pfsw.text.json.SimpleJsonParser
 
setSupportQuotedArguments(boolean) - Method in class org.pfsw.text.CommandLineArguments
Defines whether or not quoted arguments are supported.
setSwitchAndValuesMustBeSeparated(boolean) - Method in class org.pfsw.text.CommandLineArguments
 
setSwitchIndicator(String) - Method in class org.pfsw.text.CommandLineArguments
Sets the prefix which must proceed each command line switch.
setValue(BigDecimal) - Method in class org.pfsw.text.ByteSizeValue
 
setValueDelimiterChar(char) - Method in class org.pfsw.text.MatchRuleChars
Sets the character that is used to enclose a value
setValueEndChar(char) - Method in class org.pfsw.text.DefaultMatchRuleParser
Sets the character that ends a value list
setValueEndChar(char) - Method in class org.pfsw.text.MatchRuleChars
Sets the character that ends a value list
setValueEndChar(char) - Method in class org.pfsw.text.MatchRulePrinter
Sets the character that ends a value list
setValueSeparatorChar(char) - Method in class org.pfsw.text.DefaultMatchRuleParser
Sets the character that separates values in a value list
setValueSeparatorChar(char) - Method in class org.pfsw.text.MatchRuleChars
Sets the character that separates values in a value list
setValueSeparatorChar(char) - Method in class org.pfsw.text.MatchRulePrinter
Sets the character that separates values in a value list
setValueStartChar(char) - Method in class org.pfsw.text.DefaultMatchRuleParser
Sets the character that starts a value list
setValueStartChar(char) - Method in class org.pfsw.text.MatchRuleChars
Sets the character that starts a value list
setValueStartChar(char) - Method in class org.pfsw.text.MatchRulePrinter
Sets the character that starts a value list
setValueType(Object) - Method in class org.pfsw.text.MatchAttribute
 
signalRequiredFieldMissing(String) - Method in class org.pfsw.text.json.JsonObjectAccessor
 
SimpleJsonParser - Class in org.pfsw.text.json
A parser that creates a Java internal structure of JsonObject and JsonArray objects from a given JSON text.
SimpleJsonParser() - Constructor for class org.pfsw.text.json.SimpleJsonParser
Creates a new parser.
size() - Method in class org.pfsw.text.CommandLineArguments
Returns the current number of argument
size() - Method in class org.pfsw.text.StringFilterCollection
 
size() - Method in class org.pfsw.text.StringPatternCollection
returns the number of patterns in this collection.
skip(int) - Method in class org.pfsw.text.StringScanner
Moves the position pointer count characters.
skipAfter(String) - Method in class org.pfsw.text.StringExaminer
Increments the position pointer up to the last character that matched the character sequence in the given matchString.
skipAfter(StringExaminer, String) - Method in class org.pfsw.text.StringPattern
Increments the given iterator up to the last character that matched the character sequence in the given matchString.
skipBefore(String) - Method in class org.pfsw.text.StringExaminer
Increments the position pointer up to the first character before the character sequence in the given matchString.
skipWildcards(StringExaminer) - Method in class org.pfsw.text.StringPattern
Moves the iterator position to the next character that is no wildcard.
SPECIAL_CHARACTERS - Static variable in class org.pfsw.text.Version
A definition of characters that are allowed in a version element.
split(String, String) - Method in class org.pfsw.text.StringUtil
Splits the given string at each occurrence of the specified separator.
splitDigitsAndUnit(String) - Method in class org.pfsw.text.ByteSizeValue
 
splitDigitsAndUnit(String) - Method in class org.pfsw.text.TimeValue
 
splitNameValue(String, String) - Method in class org.pfsw.text.StringUtil
Returns a string array with two elements where the first is the attribute name and the second is the attribute value.
splitStringPair(String, String) - Method in class org.pfsw.text.StringUtil
Returns a string pair where the first is the string before the first occurrence of the defined separator and the second string is everything after that separator.
SQL_OPERATOR_AND - Static variable in class org.pfsw.text.SqlMatchRuleVisitor
 
SQL_OPERATOR_EQUAL - Static variable in class org.pfsw.text.SqlMatchRuleVisitor
 
SQL_OPERATOR_GE - Static variable in class org.pfsw.text.SqlMatchRuleVisitor
 
SQL_OPERATOR_GREATER - Static variable in class org.pfsw.text.SqlMatchRuleVisitor
 
SQL_OPERATOR_IN - Static variable in class org.pfsw.text.SqlMatchRuleVisitor
 
SQL_OPERATOR_LE - Static variable in class org.pfsw.text.SqlMatchRuleVisitor
 
SQL_OPERATOR_LESS - Static variable in class org.pfsw.text.SqlMatchRuleVisitor
 
SQL_OPERATOR_LIKE - Static variable in class org.pfsw.text.SqlMatchRuleVisitor
 
SQL_OPERATOR_NOT - Static variable in class org.pfsw.text.SqlMatchRuleVisitor
 
SQL_OPERATOR_OR - Static variable in class org.pfsw.text.SqlMatchRuleVisitor
 
SqlMatchRuleVisitor - Class in org.pfsw.text
Walks over a MatchRule to create a SQL WHERE clause out of it.
SqlMatchRuleVisitor() - Constructor for class org.pfsw.text.SqlMatchRuleVisitor
Initialize the new instance with default values.
stackTrace(Throwable) - Method in class org.pfsw.text.StringUtil
Prints the stack trace of the specified Throwable to a string and returns it.
START_QUOTE - Static variable in class org.pfsw.text.SqlMatchRuleVisitor
 
startGroup(boolean, boolean) - Method in class org.pfsw.text.LdapMatchRuleVisitor
This method will be called for each start of a new group.
startGroup(boolean, boolean) - Method in class org.pfsw.text.MatchRulePrinter
This method will be called for each start of a new group.
startGroup(boolean, boolean) - Method in interface org.pfsw.text.MatchRuleVisitor
This method will be called for each start of a new group.
startGroup(boolean, boolean) - Method in class org.pfsw.text.SqlMatchRuleVisitor
This method will be called for each start of a new group.
startingFrom(String, String) - Method in class org.pfsw.text.StringUtil
Returns the substring of the given string that comes after the first occurrence of the specified separator.
str() - Method in class org.pfsw.text.BaseMatchRuleParser
 
str() - Method in class org.pfsw.text.ObjectIdGenerator
 
str() - Method in class org.pfsw.text.StringCollectionFilter
 
str() - Method in class org.pfsw.text.StringPatternCollection
 
str() - Method in class org.pfsw.text.Version
 
STR_CR - Static variable in class org.pfsw.text.StringUtil
Constant for the String representation of the carriage return character
STR_INNER_CLASS_SEPARATOR - Static variable in class org.pfsw.text.StringUtil
Constant that defines the separator for inner classes in full qualified class names ("$")
STR_NEWLINE - Static variable in class org.pfsw.text.StringUtil
Constant for the String representation of the new line character
STR_PACKAGE_SEPARATOR - Static variable in class org.pfsw.text.StringUtil
Constant that defines the separator for package elements and classes (".")
STR_SPACE - Static variable in class org.pfsw.text.StringUtil
Constant for the String representation of the space character
STR_TAB - Static variable in class org.pfsw.text.StringUtil
Constant for the String representation of the tabulator character
STRING_DELIMITER - Static variable in class org.pfsw.text.CommandLineArguments
 
STRING_DELIMITER - Static variable in interface org.pfsw.text.json.JsonConstants
 
StringCollectionFilter - Class in org.pfsw.text
This filter is based on a collection of strings.
StringCollectionFilter(String[]) - Constructor for class org.pfsw.text.StringCollectionFilter
Initialize the new instance with an array of strings.
StringCollectionFilter(Collection<String>) - Constructor for class org.pfsw.text.StringCollectionFilter
Initialize the new instance with a collection of strings.
StringCollectionFilter(String, String) - Constructor for class org.pfsw.text.StringCollectionFilter
Initialize the new instance with a List of strings provided as one string where the values are separated by the specified separators.
StringCollectionFilter(String) - Constructor for class org.pfsw.text.StringCollectionFilter
Initialize the new instance with a List of strings provided as one string where the values are separated by comma (",").
StringExaminer - Class in org.pfsw.text
As a subclass of StringScanner this class allows more advanced navigation over the underlying string.
StringExaminer(String) - Constructor for class org.pfsw.text.StringExaminer
Initialize the new instance with the string to examine.
StringExaminer(String, boolean) - Constructor for class org.pfsw.text.StringExaminer
Initialize the new instance with the string to examine.
StringFilterCollection - Class in org.pfsw.text
A collection of IStringFilter objects that can be matched against strings according to a defined boolean operator (AND | OR | XOR).
StringFilterCollection() - Constructor for class org.pfsw.text.StringFilterCollection
Creates a new empty instance with default boolean operation BooleanOperation.OR.
StringFilterCollection(BooleanOperation) - Constructor for class org.pfsw.text.StringFilterCollection
Creates a new empty instance with specified boolean operation BooleanOperation.OR.
StringFilterCollection(IStringFilter...) - Constructor for class org.pfsw.text.StringFilterCollection
Creates a new instance with default boolean operation BooleanOperation.OR that will be filled with the given filters.
StringFilterCollection(BooleanOperation, IStringFilter...) - Constructor for class org.pfsw.text.StringFilterCollection
Creates a new instance with the specified boolean operation that will be filled with the given filters.
StringGenerator - Interface in org.pfsw.text
Defines the common API for classes that are supposed to generate strings.
StringPair - Class in org.pfsw.text
A simple pair of strings.
StringPair() - Constructor for class org.pfsw.text.StringPair
Initialize the new instance with default values.
StringPair(String) - Constructor for class org.pfsw.text.StringPair
Initialize the new instance with one string.
StringPair(String, String) - Constructor for class org.pfsw.text.StringPair
Initialize the new instance with two strings.
StringPair(IStringPair) - Constructor for class org.pfsw.text.StringPair
Initialize the new instance from the given string pair.
StringPair(String[]) - Constructor for class org.pfsw.text.StringPair
Initialize the new instance with two strings in an array.
StringPattern - Class in org.pfsw.text
This class provides services for checking strings against string-patterns.
StringPattern(String, boolean) - Constructor for class org.pfsw.text.StringPattern
Initializes the new instance with the string pattern and the selection, if case should be ignored when comparing characters.
StringPattern(String) - Constructor for class org.pfsw.text.StringPattern
Initializes the new instance with the string pattern.
StringPattern(String, char) - Constructor for class org.pfsw.text.StringPattern
Initializes the new instance with the string pattern and a digit wildcard character.
StringPattern(String, boolean, char) - Constructor for class org.pfsw.text.StringPattern
Initializes the new instance with the string pattern and the selection, if case should be ignored when comparing characters plus a wildcard character for digits.
StringPatternCollection - Class in org.pfsw.text
Holds a collection of StringPattern objects and allows to check if a given string matches any or none of the patterns.
StringPatternCollection() - Constructor for class org.pfsw.text.StringPatternCollection
Initialize the new instance with default values.
StringPatternCollection(StringPattern) - Constructor for class org.pfsw.text.StringPatternCollection
Initialize the new instance with one pattern.
StringPatternCollection(String...) - Constructor for class org.pfsw.text.StringPatternCollection
Initialize the new instance with a pattern array.
StringPatternCollection(Collection<String>) - Constructor for class org.pfsw.text.StringPatternCollection
Initialize the new instance with a collection of patterns.
StringScanner - Class in org.pfsw.text
Simple scanner that allows to navigate over the characters of a string.
StringScanner(String) - Constructor for class org.pfsw.text.StringScanner
Initialize the new instance with the string that should be scanned.
StringUtil - Class in org.pfsw.text
The sole instance of this class provides several convenience methods for string manipulation such as substring replacement or character repetition.
StringUtil() - Constructor for class org.pfsw.text.StringUtil
Creates new instance.
strUtil() - Method in class org.pfsw.text.CommandLineArguments
 
strUtil() - Method in class org.pfsw.text.StringPattern
 
SU - Static variable in class org.pfsw.text.StringUtil
An instance of this class which can be easily included as static import and then used like SU.repeat('x', 3).
substrings(String, String) - Method in class org.pfsw.text.StringUtil
Returns the given text split up into an array of strings, at the occurrences of the separator string.
substrings(String, String, boolean) - Method in class org.pfsw.text.StringUtil
Returns the given text split up into an array of strings, at the occurrences of the separator string.
suffix(String, String) - Method in class org.pfsw.text.StringUtil
Returns the substring of the given string that comes after the first occurrence of the specified separator.
suffix(String, String, boolean) - Method in class org.pfsw.text.StringUtil
Returns the substring of the given string that comes after the first occurance of the specified separator.
SWITCH_OFF - Static variable in class org.pfsw.text.StringPattern
 
SWITCH_ON - Static variable in class org.pfsw.text.StringPattern
 
switchIndicator() - Method in class org.pfsw.text.CommandLineArguments
 
switchIndicator(String) - Method in class org.pfsw.text.CommandLineArguments
 

T

TextFileReader - Class in org.pfsw.text
Convenience class for reading text files.
TextFileReader(File, Charset) - Constructor for class org.pfsw.text.TextFileReader
Creates a new TextFileReader, given the File to read from with the encoding specified by the given charset.
TextFileReader(File) - Constructor for class org.pfsw.text.TextFileReader
Creates a new TextFileReader, given the File to read from with the default character encoding (UTF-8) of this class.
TextFileReader(String, Charset) - Constructor for class org.pfsw.text.TextFileReader
Creates a new TextFileReader on the file with the given filename to read from with the encoding specified by the given charset.
TextFileReader(String) - Constructor for class org.pfsw.text.TextFileReader
Creates a new TextFileReader on the file with the given filename to read from with the default character encoding (UTF-8) of this class.
TextFileWriter - Class in org.pfsw.text
Convenience class for writing text files.
TextFileWriter(File, Charset) - Constructor for class org.pfsw.text.TextFileWriter
Creates a new TextFileWriter, given the File to write to with the encoding specified by the given charset.
TextFileWriter(File) - Constructor for class org.pfsw.text.TextFileWriter
Creates a new TextFileWriter, given the File to write to with the default character encoding (UTF-8).
TextFileWriter(String, Charset) - Constructor for class org.pfsw.text.TextFileWriter
Creates a new TextFileWriter on the file with the given filename to write to with the encoding specified by the given charset.
TextFileWriter(String) - Constructor for class org.pfsw.text.TextFileWriter
Creates a new TextFileWriter on the file with the given filename to write to with the default character encoding (UTF-8).
throwException(String) - Method in class org.pfsw.text.BaseMatchRuleParser
 
TimeUnit - Enum in org.pfsw.text
This enum provides several time units with an associated factor useful to calculate the milliseconds from a time value given in a different time unit.
TimeValue - Class in org.pfsw.text
Represents a time value and provides parsing of strings and various different getters for various time units.
TimeValue(long) - Constructor for class org.pfsw.text.TimeValue
Initialize the new instance with a milliseconds value.
TimeValue(long, TimeUnit) - Constructor for class org.pfsw.text.TimeValue
Initialize the new instance with a value and unit.
TimeValue(NaturalNumber, TimeUnit) - Constructor for class org.pfsw.text.TimeValue
Initialize the new instance with a value and unit.
TimeValue(String, TimeUnit) - Constructor for class org.pfsw.text.TimeValue
Initialize the new instance with a string that must contain digits, optionally followed by the short name of a unit (@see TimeUnit.
TimeValue(String) - Constructor for class org.pfsw.text.TimeValue
Initialize the new instance with a string that must contain digits, optionally followed by the short name of a unit (@see TimeUnit.
toArray(Object, Class<T>) - Method in class org.pfsw.text.MatchAttribute
 
toJSON() - Method in class org.pfsw.text.json.JsonArray
 
toJSON() - Method in class org.pfsw.text.json.JsonObject
 
toJSON() - Method in class org.pfsw.text.StringPair
Returns a JSON string representation of this object.
toJSON() - Method in class org.pfsw.text.StringPattern
Returns a JSON string representation of this object.
toJSON() - Method in class org.pfsw.text.StringPatternCollection
Returns a JSON string representation of this object.
toJSONStringLiteral(String) - Method in class org.pfsw.text.json.JsonUtil
Returns the given string as JSON string literal (i.e. enclosed in quotes).
toLowerCase(String[]) - Method in class org.pfsw.text.StringUtil
Modifies the strings in the given array to be all lower case.
toMap(String, String, String, Map<String, String>) - Method in class org.pfsw.text.StringUtil
Returns the given map with new entries from the specified String.
toMap(String, String, Map<String, String>) - Method in class org.pfsw.text.StringUtil
Returns the given map object with all key-value pairs of the specified string added to it.
toMap(String, Map<String, String>) - Method in class org.pfsw.text.StringUtil
Adds all key-value pairs of the given string to the specified map.
toProperties(String, Properties) - Method in class org.pfsw.text.StringUtil
Adds all key-value pairs of the given string to the specified properties.
toString() - Method in class org.pfsw.text.ByteSizeValue
 
toString() - Method in class org.pfsw.text.CheckedCharsetName
Returns the pure upper case encoding name (e.g.
toString() - Method in class org.pfsw.text.CommandLineArguments
Returns a String with all arguments separated by blanks
toString() - Method in class org.pfsw.text.MatchAttribute
Returns a string containing the attribute name, the operator and the value(s) set in this part of a match rule.
toString() - Method in class org.pfsw.text.MatchRule
 
toString() - Method in class org.pfsw.text.NaturalNumber
 
toString() - Method in class org.pfsw.text.StringPair
Returns the two strings with the default separator in between.
toString() - Method in class org.pfsw.text.StringPattern
Returns the pattern string.
toString() - Method in class org.pfsw.text.StringScanner
Returns the string the scanner was initialized with
toString() - Method in class org.pfsw.text.TimeValue
 
toString() - Method in class org.pfsw.text.Version
Returns the string for this object.
toUpperCase(String[]) - Method in class org.pfsw.text.StringUtil
Modifies the strings in the given array to be all upper case.
translate(String, String, String) - Method in class org.pfsw.text.StringUtil
Returns a string of the same length as the given text parameter.
trim(String, String...) - Method in class org.pfsw.text.StringUtil
Returns a new string where all leading and trailing unwanted substrings are removed.
trimLoop(int, String, String[]) - Method in class org.pfsw.text.StringUtil
Returns a new string where all leading and trailing unwanted substrings are removed.
trimmedParts(String, String) - Method in class org.pfsw.text.StringUtil
Returns an array of substrings of the given text.
trimmedSplit(String, String) - Method in class org.pfsw.text.StringUtil
Returns a list of substrings of the given text.
trimOnce(String, String...) - Method in class org.pfsw.text.StringUtil
Returns a new string where the first leading and first trailing unwanted substrings are removed.
trimSeparator(String, String) - Method in class org.pfsw.text.StringUtil
Cuts off all leading and trailing occurrences of separator in text.
TRUE - Static variable in interface org.pfsw.text.json.JsonConstants
 
truncate(String, int) - Method in class org.pfsw.text.StringUtil
Returns a string that is shortened (chopped off the end) to the specified length.

U

UncheckedTextFileWriter - Class in org.pfsw.text
Convenience class for writing text files with throwing IORuntimeException rather than IOException in its methods that extend Writer functionality.
UncheckedTextFileWriter(File, Charset) - Constructor for class org.pfsw.text.UncheckedTextFileWriter
Creates a new UncheckedTextFileWriter, given the File to write to with the encoding specified by the given charset.
UncheckedTextFileWriter(File) - Constructor for class org.pfsw.text.UncheckedTextFileWriter
Creates a new UncheckedTextFileWriter, given the File to write to with the default character encoding (UTF-8).
UncheckedTextFileWriter(String, Charset) - Constructor for class org.pfsw.text.UncheckedTextFileWriter
Creates a new UncheckedTextFileWriter on the file with the given filename to write to with the encoding specified by the given charset.
UncheckedTextFileWriter(String) - Constructor for class org.pfsw.text.UncheckedTextFileWriter
Creates a new UncheckedTextFileWriter on the file with the given filename to write to with the default character encoding (UTF-8).
unquoted(String) - Method in class org.pfsw.text.CommandLineArguments
 
unquotedIfSupported(String) - Method in class org.pfsw.text.CommandLineArguments
 
upTo(String, String) - Method in class org.pfsw.text.StringUtil
Returns the substring of the given string that comes before the first occurrence of the specified separator.
upToEnd() - Method in class org.pfsw.text.StringExaminer
Returns the a string containing all characters from the current position up to the end of the examined string.
upToEnd(boolean) - Method in class org.pfsw.text.StringExaminer
Returns the a string containing all characters from the current position up to the end of the examined string.
upToEnd(StringExaminer) - Method in class org.pfsw.text.StringPattern
 
upToPosition(int) - Method in class org.pfsw.text.StringExaminer
Returns the a string containing all characters from the current position up to the specified position of the examined string.
US_ASCII - Static variable in class org.pfsw.text.CheckedCharsetName
The pre-defined constant for Java standard charset US-ASCII.
useNewSyntax() - Method in class org.pfsw.text.MatchRulePrinter
Returns true, if the printer uses the new syntax which is using an equals character rather than the curly brackets for single values.
useNewSyntax(boolean) - Method in class org.pfsw.text.MatchRulePrinter
Sets if the printer uses the new syntax.
useSetSyntax(MatchRuleCompareOperator, String[]) - Method in class org.pfsw.text.MatchRulePrinter
 
UTF_16 - Static variable in class org.pfsw.text.CheckedCharsetName
The pre-defined constant for Java standard charset UTF-16.
UTF_16BE - Static variable in class org.pfsw.text.CheckedCharsetName
The pre-defined constant for Java standard charset UTF-16BE.
UTF_16LE - Static variable in class org.pfsw.text.CheckedCharsetName
The pre-defined constant for Java standard charset UTF-16LE.
UTF_8 - Static variable in class org.pfsw.text.CheckedCharsetName
The pre-defined constant for Java standard charset UTF-8.

V

VALUE_SEPARATOR - Static variable in interface org.pfsw.text.json.JsonConstants
 
valueInMap(Map<String, ?>) - Method in class org.pfsw.text.MatchAttribute
 
valueOf(String) - Static method in enum org.pfsw.text.ByteSizeUnit
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.pfsw.text.MatchRuleCompareOperator
Returns the enum constant of this type with the specified name.
valueOf(long) - Static method in class org.pfsw.text.NaturalNumber
 
valueOf(int) - Static method in class org.pfsw.text.NaturalNumber
 
valueOf(String) - Static method in enum org.pfsw.text.NewLine
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.pfsw.text.TimeUnit
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.pfsw.text.ByteSizeUnit
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.pfsw.text.MatchRuleCompareOperator
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.pfsw.text.NewLine
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.pfsw.text.TimeUnit
Returns an array containing the constants of this enum type, in the order they are declared.
Version - Class in org.pfsw.text
This class provides a representation of version identifiers of pattern "x.y.z" in a way that they can be compared and sorted according to their real meaning and not just by simple string comparison.
Version() - Constructor for class org.pfsw.text.Version
Initialize the new instance.
Version(String) - Constructor for class org.pfsw.text.Version
Initialize the new instance with a version string of type "x.y.z".
Version(Version) - Constructor for class org.pfsw.text.Version
Initialize the new instance with the values from another a version.
Version(int, int, int, String) - Constructor for class org.pfsw.text.Version
Initialize the new instance with a major, minor, micro version and a qualifier.
Version(int, int, int) - Constructor for class org.pfsw.text.Version
Initialize the new instance with a major, minor and micro version.
Version(int, int) - Constructor for class org.pfsw.text.Version
Initialize the new instance with a major and minor version.
Version(int) - Constructor for class org.pfsw.text.Version
Initialize the new instance with a major version.

W

walkThroughFinished() - Method in class org.pfsw.text.LdapMatchRuleVisitor
This method will be called when the MatchRule has finished to walk through its elements.
walkThroughFinished() - Method in class org.pfsw.text.MatchRulePrinter
This method will be called when the MatchRule has finished to walk through its elements.
walkThroughFinished() - Method in interface org.pfsw.text.MatchRuleVisitor
This method will be called when the MatchRule has finished to walk through its elements.
walkThroughFinished() - Method in class org.pfsw.text.SqlMatchRuleVisitor
This method will be called when the MatchRule has finished to walk through its elements.
walkThroughInit() - Method in class org.pfsw.text.LdapMatchRuleVisitor
This method will be called right before the MatchRule walks through its elements.
walkThroughInit() - Method in class org.pfsw.text.MatchRulePrinter
This method will be called right before the MatchRule walks through its elements.
walkThroughInit() - Method in interface org.pfsw.text.MatchRuleVisitor
This method will be called right before the MatchRule walks through its elements.
walkThroughInit() - Method in class org.pfsw.text.SqlMatchRuleVisitor
This method will be called right before the MatchRule walks through its elements.
withLeadingChar(String, char) - Method in class org.pfsw.text.StringUtil
Returns the given string and ensures that it starts with the given character.
withoutLeadingChar(String, char) - Method in class org.pfsw.text.StringUtil
Returns the given string and ensures that it does not start with the given character.
withoutTrailingChar(String, char) - Method in class org.pfsw.text.StringUtil
Returns the given string and ensures that it does not end with the given character.
withTrailingChar(String, char) - Method in class org.pfsw.text.StringUtil
Returns the given string and ensures that it ends with the given character.
words(String) - Method in class org.pfsw.text.StringUtil
Returns an array of substrings of the given text.
write(String, Object...) - Method in class org.pfsw.text.FormattedTextWriter
Replaces any placeholders (e.g.
write(IStringRepresentation) - Method in class org.pfsw.text.FormattedTextWriter
The same as FormattedTextWriter.write(String, Object...), except that only the given object is converted to its string representation.
write(IStringRepresentation) - Method in class org.pfsw.text.TextFileWriter
Writes the given object's IStringRepresentation.asString().
write(IStringRepresentation) - Method in class org.pfsw.text.UncheckedTextFileWriter
Writes the given object's IStringRepresentation.asString().
writef(String, Object...) - Method in class org.pfsw.text.TextFileWriter
Allows writing with placeholder replacement as provided by String.format(String, Object...).
writef(String, Object...) - Method in class org.pfsw.text.UncheckedTextFileWriter
Allows writing with placeholder replacement as provided by String.format(String, Object...).
writeIndentation() - Method in class org.pfsw.text.FormattedTextWriter
 
writeln(String, Object...) - Method in class org.pfsw.text.FormattedTextWriter
Replaces any placeholders (e.g.
writeln(IStringRepresentation) - Method in class org.pfsw.text.FormattedTextWriter
The same as FormattedTextWriter.writeln(String, Object...), except that only the given object is converted to its string representation.
writeln(String, Object...) - Method in class org.pfsw.text.TextFileWriter
Writes the text with placeholder replacement as provided by String.format(String, Object...).
writeln(IStringRepresentation) - Method in class org.pfsw.text.TextFileWriter
Writes the given object's IStringRepresentation.asString() followed by newline character(s).
writeln(String, Object...) - Method in class org.pfsw.text.UncheckedTextFileWriter
Writes the text with placeholder replacement as provided by String.format(String, Object...).
writeln(IStringRepresentation) - Method in class org.pfsw.text.UncheckedTextFileWriter
Writes the given object's IStringRepresentation.asString() followed by newline character(s).

A B C D E F G H I J K L M N O P Q R S T U V W