Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- addDoubleQuotationMarks(String) - Static method in class io.github.astrapi69.string.StringExtensions
-
Puts to the given String at the start and end quotes.
- addSingleQuotationMarks(String) - Static method in class io.github.astrapi69.string.StringExtensions
-
Puts to the given String at the start and end quotes.
C
- CharsetExtensions - Class in io.github.astrapi69.string
-
The class
CharsetExtensions
provides extension methods forCharset
objects - convertToBytearray(char[]) - Static method in class io.github.astrapi69.string.StringExtensions
-
Converts the given chararray to a bytearray.
- convertToCharArray(byte[]) - Static method in class io.github.astrapi69.string.StringExtensions
-
Convert the given byte array to char array.
- convertUnicodeStringToCharacter(String) - Static method in class io.github.astrapi69.string.StringExtensions
-
Converts the given unicode String object to character object.
- countMatches(String, String) - Static method in class io.github.astrapi69.regex.RegExExtensions
-
Count how many times the given text is matching and returns the result.
F
- filterStringsWithSeperator(List<String>, String) - Static method in class io.github.astrapi69.string.StringExtensions
- firstCharacterToLowerCase(String) - Static method in class io.github.astrapi69.string.StringExtensions
-
Sets the first character from the given string to lower case and returns it.
- firstCharacterToUpperCase(String) - Static method in class io.github.astrapi69.string.StringExtensions
-
Sets the first character from the given string to upper case and returns it.
G
- getAttributName(String) - Static method in class io.github.astrapi69.string.StringExtensions
-
Gets the Attribut-name without brackets.
- getCharset(String) - Static method in class io.github.astrapi69.string.CharsetExtensions
- getIndex(String) - Static method in class io.github.astrapi69.string.StringExtensions
-
Gets the first index from the brackets.
- getItemNumber(String) - Static method in class io.github.astrapi69.string.StringExtensions
-
Gets the ItemNumber from the String name.
- getStringAfterUnderscore(String) - Static method in class io.github.astrapi69.string.StringExtensions
-
The Method getStringAfterUnderscore(String) gets the substring after the first underscore.
- getStringBeforeUnderscore(String) - Static method in class io.github.astrapi69.string.StringExtensions
-
The Method getStringBeforeUnderscore(String) gets the substring before the first underscore.
- getTripleFromMessage(String) - Static method in class io.github.astrapi69.string.SplitStringExtensions
-
Splits the given message string into three parts and put them into a
Triple
object - getValue(Map<String, String>, String, String) - Static method in class io.github.astrapi69.string.StringExtensions
-
Gets the value from the given map and if it does not exist or is empty the given default value will be returned.
I
- io.github.astrapi69.regex - package io.github.astrapi69.regex
-
This package contains a helper class for regular expressions
- io.github.astrapi69.string - package io.github.astrapi69.string
-
This package contains helper classes for String objects
- isMatching(String, String) - Static method in class io.github.astrapi69.regex.RegExExtensions
-
Checks if the given regular expression pattern is matching with the given text.
- isNullOrEmpty(String) - Static method in class io.github.astrapi69.string.StringExtensions
-
The method isNullOrEmpty(String) checks if the given String is empty or null.
- isNumber(String) - Static method in class io.github.astrapi69.string.StringExtensions
-
Checks if the given String is an Number.
L
- lastCharacter(String) - Static method in class io.github.astrapi69.string.StringExtensions
-
Gets the last character of the given String object.
- lastCharacterToUpperCase(String) - Static method in class io.github.astrapi69.string.StringExtensions
-
Sets the last character from the given string to upper case and returns it.
M
- MalformedUnicodeException - Exception in io.github.astrapi69.string
-
The class
MalformedUnicodeException
is thrown when the given character is not unicode conform. - MalformedUnicodeException() - Constructor for exception io.github.astrapi69.string.MalformedUnicodeException
-
Instantiates a new
MalformedUnicodeException
- MalformedUnicodeException(String) - Constructor for exception io.github.astrapi69.string.MalformedUnicodeException
-
Instantiates a new
MalformedUnicodeException
- MalformedUnicodeException(String, Throwable) - Constructor for exception io.github.astrapi69.string.MalformedUnicodeException
-
Instantiates a new
MalformedUnicodeException
- MalformedUnicodeException(Throwable) - Constructor for exception io.github.astrapi69.string.MalformedUnicodeException
-
Instantiates a new
MalformedUnicodeException
N
- newCharacterList(String) - Static method in class io.github.astrapi69.string.StringExtensions
-
Factory method for create new
ArrayList
of unique characters from the given text - newCharacterList(String, Comparator<Character>) - Static method in class io.github.astrapi69.string.StringExtensions
-
Factory method for create new
ArrayList
of unique characters from the given text sorted with the givenComparator
Note: This method can be used for a custom Comparator that have a defined order.
R
- readLine(String) - Static method in class io.github.astrapi69.string.StringExtensions
-
Reads the given String till it finds a carriage return and returns it.
- RegExExtensions - Class in io.github.astrapi69.regex
-
Utility class for the use with regular expressions.
- removeEmptyString(String[]) - Static method in class io.github.astrapi69.string.StringExtensions
-
Removes empty Strings from the given string array and gives it back.
- removeFirstAndLastCharacter(String) - Static method in class io.github.astrapi69.string.StringExtensions
-
Removes the first and the last character from the given String
- removeNewlineCharacters(String) - Static method in class io.github.astrapi69.string.StringExtensions
-
Removes the newline characters from the given String.
- removeQuotationMarks(String) - Static method in class io.github.astrapi69.string.StringExtensions
-
Removes from the given String at the start and end quotes.
- replaceAll(String, String[], String) - Static method in class io.github.astrapi69.string.StringExtensions
-
Replaces all occurrences of a String within another String.
- replaceAll(String, String, String) - Static method in class io.github.astrapi69.string.StringExtensions
-
Replaces all occurrences of a String within another String.
- replaceAll(String, Map<String, String>) - Static method in class io.github.astrapi69.string.StringExtensions
-
Replaces all occurrences of a String within another String.
- replaceEach(String, String, String) - Static method in class io.github.astrapi69.string.StringExtensions
-
Replace each occurences from the search pattern(regex) with the given replace String of the given input String.
- replaceLast(String, String, String) - Static method in class io.github.astrapi69.string.StringExtensions
-
Replaces the last occurrence of a String within another String.
- replaceWildcardsWithRE(String) - Static method in class io.github.astrapi69.regex.RegExExtensions
-
Replaces the normal wildcards in the given String with the corresponding regular expression wildcards.
S
- silly.strings - module silly.strings
-
The MIT License Copyright (C) 2015 Asterios Raptis Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
- splitByFixedLength(String, int) - Static method in class io.github.astrapi69.string.StringExtensions
-
Split the given
String
in parts in the given fixed length. - SplitStringExtensions - Class in io.github.astrapi69.string
- splitToWordsAndCount(String) - Static method in class io.github.astrapi69.string.SplitStringExtensions
-
Splits the given input string into words and puts them to a counter map
- splitToWordsAndCount(String, String) - Static method in class io.github.astrapi69.string.SplitStringExtensions
-
Splits the given input string into words and puts them to a counter map
- splitToWordsAndCount(String, String[]) - Static method in class io.github.astrapi69.string.SplitStringExtensions
-
Splits the given input string into words and puts them to a counter map
- StringExtensions - Class in io.github.astrapi69.string
-
The class
StringExtensions
provides methods for manipulate string objects.
Note: As theString
class is immutable not the given String is manipulated, a newString
object is created with the manipulation.
T
- toIntegerArray(String, String) - Static method in class io.github.astrapi69.string.StringExtensions
-
Transforms the given
String
that holds successive numbers delimited with a delimiter into an integer array. - toString(List<Character>) - Static method in class io.github.astrapi69.string.StringExtensions
-
Converts the given character list to a String
- toString(T) - Static method in class io.github.astrapi69.string.StringExtensions
-
Prints the
Object.toString()
and if the given object is null a corresponding information. - toUnicode(String, boolean) - Static method in class io.github.astrapi69.string.StringExtensions
-
Converts all characters from the given String to unicodes characters encoded like \uxxxx.
- toUnicodeChars(String, boolean) - Static method in class io.github.astrapi69.string.StringExtensions
-
Converts all characters from the given String to unicodes characters encoded like \uxxxx.
V
- VALID_CHARS_IN_FILENAME - Static variable in class io.github.astrapi69.regex.RegExExtensions
-
Regular expression class for the valid characters in a filename.
- VALID_EMAIL - Static variable in class io.github.astrapi69.regex.RegExExtensions
-
Regular expression for the valid characters in an email.
- VALID_PHONE - Static variable in class io.github.astrapi69.regex.RegExExtensions
-
Regular expression for the valid characters in a phone number.
W
- WILDCARD_ASTERISK - Static variable in class io.github.astrapi69.regex.RegExExtensions
-
Constant for the wildcard asterisk "*".
- WILDCARD_MANYCHARS_RE - Static variable in class io.github.astrapi69.regex.RegExExtensions
-
Regular expression for many characters in the filename.
- WILDCARD_ONECHAR_RE - Static variable in class io.github.astrapi69.regex.RegExExtensions
-
Regular expression for exactly on character in the filename.
- WILDCARD_QUESTION_MARK - Static variable in class io.github.astrapi69.regex.RegExExtensions
-
Constant for the wildcard interrogation mark "?".
- wildcardCriterionSQL(String) - Static method in class io.github.astrapi69.regex.RegExExtensions
-
Replaces the query with the wildcards asterisk "*" and interrogation mark "?"
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form