|
|||||||||
| Home >> All >> com >> sshtools >> daemon >> [ util overview ] | PREV NEXT | ||||||||
A
- allParts(String, String) - Method in class com.sshtools.daemon.util.StringUtil
- Returns an array of substrings of the given text.
- allSubstrings(String, String) - Method in class com.sshtools.daemon.util.StringUtil
- Returns the given text split up into an array of strings, at the occurrances of the separator string.
- append(String[], String) - Method in class com.sshtools.daemon.util.StringUtil
- Returns the given string array extended by one element that hold the specified string.
- append(String[], String[]) - Method in class com.sshtools.daemon.util.StringUtil
- Returns an array of strings that contains all strings given by the first and second string array.
- appendIfNotThere(String[], String) - Method in class com.sshtools.daemon.util.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 com.sshtools.daemon.util.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.
- asMap(String) - Method in class com.sshtools.daemon.util.StringUtil
- Returns a new map object that contains all key-value pairs of the specified string.
- asMap(String, String) - Method in class com.sshtools.daemon.util.StringUtil
- Returns a new map object that contains all key-value pairs of the specified string.
- asMap(String, String, String) - Method in class com.sshtools.daemon.util.StringUtil
- Returns a new map object that contains all key-value pairs of the specified string.
- asProperties(String) - Method in class com.sshtools.daemon.util.StringUtil
- Adds all key-value pairs of the given string to a new properties object.
- asString(String[], String) - Method in class com.sshtools.daemon.util.StringUtil
- Returns a string that contains all given strings concatenated and separated by the specified separator.
- asString(String[]) - Method in class com.sshtools.daemon.util.StringUtil
- Returns a string that contains all given strings concatenated and separated by comma.
- atEnd() - Method in class com.sshtools.daemon.util.StringScanner
- Returns true, if the scanner has reached the end and a further invocation of nextChar() would return the END_REACHED character.
B
- buffer - Variable in class com.sshtools.daemon.util.StringScanner
C
- CH_CR - Static variable in class com.sshtools.daemon.util.StringUtil
- Constant for the carriage return character
- CH_NEWLINE - Static variable in class com.sshtools.daemon.util.StringUtil
- Constant for the new line character
- CH_SPACE - Static variable in class com.sshtools.daemon.util.StringUtil
- Constant for the space character
- CH_TAB - Static variable in class com.sshtools.daemon.util.StringUtil
- Constant for the tabulator character
- center(String, int) - Method in class com.sshtools.daemon.util.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 com.sshtools.daemon.util.StringUtil
- Returns the given string filled equally left and right up to the specified length with the given character.
- charsAreEqual(char, char) - Method in class com.sshtools.daemon.util.StringExaminer
- charsAreEqual(char, char) - Method in class com.sshtools.daemon.util.StringPattern
- collectParts(List, StringTokenizer) - Method in class com.sshtools.daemon.util.StringUtil
- collectParts(List, StringTokenizer, String) - Method in class com.sshtools.daemon.util.StringUtil
- com.sshtools.daemon.util - package com.sshtools.daemon.util
- contains(String[], String, boolean) - Method in class com.sshtools.daemon.util.StringUtil
- Returns whether or not the specified string can be found in the given string array.
- contains(String[], StringPattern) - Method in class com.sshtools.daemon.util.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 com.sshtools.daemon.util.StringUtil
- Returns whether or not the specified string can be found in the given string array.
- containsIgnoreCase(String[], String) - Method in class com.sshtools.daemon.util.StringUtil
- Returns whether or not the specified string can be found in the given string array.
- copyFrom(String[], int) - Method in class com.sshtools.daemon.util.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 com.sshtools.daemon.util.StringUtil
- Returns all elements of string array from in a new array from index start up to index end (inclusive).
- current() - Static method in class com.sshtools.daemon.util.StringUtil
- Returns the one and only instance of this class.
- cutHead(String, String) - Method in class com.sshtools.daemon.util.StringUtil
- Returns the portion of the given string that stands after the last occurance of the specified separator.
- cutTail(String, String) - Method in class com.sshtools.daemon.util.StringUtil
- Returns the portion of the given string that comes before the last occurance of the specified separator.
D
- digitWildcard - Variable in class com.sshtools.daemon.util.StringPattern
- digitWildcard() - Method in class com.sshtools.daemon.util.StringPattern
- digitWildcard(Character) - Method in class com.sshtools.daemon.util.StringPattern
- digitWildcardChar() - Method in class com.sshtools.daemon.util.StringPattern
E
- END_REACHED - Static variable in class com.sshtools.daemon.util.StringScanner
- endNotReached(char) - Method in class com.sshtools.daemon.util.StringPattern
- endNotReached(char) - Method in class com.sshtools.daemon.util.StringScanner
- Returns true, if the given character does not indicate that the end of the scanned string si reached.
- endReached(char) - Method in class com.sshtools.daemon.util.StringPattern
- endReached(char) - Method in class com.sshtools.daemon.util.StringScanner
- Returns true, if the given character indicates that the end of the scanned string is reached.
G
- getDelimitedSubstring(String, String, String) - Method in class com.sshtools.daemon.util.StringUtil
- Returns the first substring that is enclosed by the specified delimiters.
- getDelimitedSubstring(String, String) - Method in class com.sshtools.daemon.util.StringUtil
- Returns the first substring that is enclosed by the specified delimiter.
- getIgnoreCase() - Method in class com.sshtools.daemon.util.StringPattern
- Returns whether or not the pattern matching ignores upper and lower case
- getPattern() - Method in class com.sshtools.daemon.util.StringPattern
- Returns the pattern as string.
- getPatternChar(StringExaminer, char) - Method in class com.sshtools.daemon.util.StringPattern
- getPosition() - Method in class com.sshtools.daemon.util.StringScanner
- Returns the current position in the string
- getSingleton() - Static method in class com.sshtools.daemon.util.StringUtil
H
- hasDigitWildcard() - Method in class com.sshtools.daemon.util.StringPattern
- hasNext() - Method in class com.sshtools.daemon.util.StringScanner
- Returns true, if the scanner has not yet reached the end.
- hasWildcard() - Method in class com.sshtools.daemon.util.StringPattern
- Returns true if the pattern contains any '' or '?' wildcard character.
I
- ignoreCase - Variable in class com.sshtools.daemon.util.StringExaminer
- ignoreCase() - Method in class com.sshtools.daemon.util.StringExaminer
- ignoreCase(boolean) - Method in class com.sshtools.daemon.util.StringExaminer
- ignoreCase - Variable in class com.sshtools.daemon.util.StringPattern
- indexOf(String[], StringPattern) - Method in class com.sshtools.daemon.util.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 com.sshtools.daemon.util.StringUtil
- Returns the index of the specified string in the given string array.
- indexOfIgnoreCase(String[], String) - Method in class com.sshtools.daemon.util.StringUtil
- Returns the index of the specified string in the given string array.
- indexOfString(String[], String, boolean) - Method in class com.sshtools.daemon.util.StringUtil
L
- leftPad(String, int) - Method in class com.sshtools.daemon.util.StringUtil
- Returns the given string filled (on the left) up to the specified length with spaces.
- leftPad(int, int) - Method in class com.sshtools.daemon.util.StringUtil
- Returns the given integer as string filled (on the left) up to the specified length with zeroes.
- leftPadCh(String, int, char) - Method in class com.sshtools.daemon.util.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 com.sshtools.daemon.util.StringUtil
- Returns the given integer as string filled (on the left) up to the specified length with the given fill character.
- length - Variable in class com.sshtools.daemon.util.StringScanner
- length() - Method in class com.sshtools.daemon.util.StringScanner
M
- MULTICHAR_WILDCARD - Static variable in class com.sshtools.daemon.util.StringPattern
- MULTI_WILDCARD - Static variable in class com.sshtools.daemon.util.StringPattern
- markPosition() - Method in class com.sshtools.daemon.util.StringScanner
- Remembers the current position for later use with restorePosition()
- match(String, String) - Static method in class com.sshtools.daemon.util.StringPattern
- Returns true, if the given probe string matches the given pattern.
- matchIgnoreCase(String, String) - Static method in class com.sshtools.daemon.util.StringPattern
- Returns true, if the given probe string matches the given pattern.
- matchReverse(String, StringExaminer) - Method in class com.sshtools.daemon.util.StringPattern
- matches(String) - Method in class com.sshtools.daemon.util.StringPattern
- Tests if a specified string matches the pattern.
N
- newExaminer(String) - Method in class com.sshtools.daemon.util.StringPattern
- nextChar() - Method in class com.sshtools.daemon.util.StringScanner
- Returns the character at the current position and increments the position afterwards by 1.
- nextNoneWhitespaceChar() - Method in class com.sshtools.daemon.util.StringScanner
- Returns the next character that is no whitespace and leaves the position pointer one character after the returned one.
P
- padCh(String, int, char, boolean) - Method in class com.sshtools.daemon.util.StringUtil
- parts(String, String) - Method in class com.sshtools.daemon.util.StringUtil
- Returns an array of substrings of the given text.
- parts(String, String, boolean) - Method in class com.sshtools.daemon.util.StringUtil
- Returns an array of substrings of the given text.
- pattern - Variable in class com.sshtools.daemon.util.StringPattern
- peek() - Method in class com.sshtools.daemon.util.StringScanner
- Returns the character at the current position without changing the position, that is subsequent calls to this method return always the same character.
- peekUpToEnd() - Method in class com.sshtools.daemon.util.StringExaminer
- Returns the a string containing all characters from the current position up to the end of the examined string.
- pos_marker - Variable in class com.sshtools.daemon.util.StringScanner
- position - Variable in class com.sshtools.daemon.util.StringScanner
- prefix(String, String) - Method in class com.sshtools.daemon.util.StringUtil
- Returns the substring of the given string that comes before the first occurance of the specified separator.
- prefix(String, String, boolean) - Method in class com.sshtools.daemon.util.StringUtil
- Returns the substring of the given string that comes before the first occurance of the specified separator.
R
- remove(String[], String[]) - Method in class com.sshtools.daemon.util.StringUtil
- Removes all string of the second array from the first array.
- remove(String[], String) - Method in class com.sshtools.daemon.util.StringUtil
- Removes the given string from the specified string array.
- removeFromStringArray(String[], String[]) - Method in class com.sshtools.daemon.util.StringUtil
- Removes the given strings from the array.
- removeNull(String[]) - Method in class com.sshtools.daemon.util.StringUtil
- Removes all null values from the given string array.
- repeat(char, int) - Method in class com.sshtools.daemon.util.StringUtil
- Returns a string with size of count and all characters initialized with ch.
- replaceAll(String, String, String) - Method in class com.sshtools.daemon.util.StringUtil
- Returns the given string with all found oldSubStr replaced by newSubStr.
- restorePosition() - Method in class com.sshtools.daemon.util.StringScanner
- Restores the position to the value of the latest markPosition() call
- reverse(String) - Method in class com.sshtools.daemon.util.StringUtil
- Returns a string that contains all characters of the given string in reverse order.
- rightPad(String, int) - Method in class com.sshtools.daemon.util.StringUtil
- Returns the given string filled (on the right) up to the specified length with spaces.
- rightPad(int, int) - Method in class com.sshtools.daemon.util.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 com.sshtools.daemon.util.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 com.sshtools.daemon.util.StringUtil
- Returns the given integer as string filled (on the right) up to the specified length with the given character.
S
- SINGLECHAR_WILDCARD - Static variable in class com.sshtools.daemon.util.StringPattern
- STR_CR - Static variable in class com.sshtools.daemon.util.StringUtil
- Constant for the String representation of the carriage return character
- STR_NEWLINE - Static variable in class com.sshtools.daemon.util.StringUtil
- Constant for the String representation of the new line character
- STR_SPACE - Static variable in class com.sshtools.daemon.util.StringUtil
- Constant for the String representation of the space character
- STR_TAB - Static variable in class com.sshtools.daemon.util.StringUtil
- Constant for the String representation of the tabulator character
- StringExaminer - class com.sshtools.daemon.util.StringExaminer.
- As a subclass of StringScanner this class allows more advanced navigation over the underlying string.
- StringExaminer(String) - Constructor for class com.sshtools.daemon.util.StringExaminer
- Initialize the new instance with the string to examine.
- StringExaminer(String, boolean) - Constructor for class com.sshtools.daemon.util.StringExaminer
- Initialize the new instance with the string to examine.
- StringPattern - class com.sshtools.daemon.util.StringPattern.
- This class provides services for checking strings against string-patterns.
- StringPattern(String, boolean) - Constructor for class com.sshtools.daemon.util.StringPattern
- Initializes the new instance with the string pattern and the selecteion, if case should be ignored when comparing characters.
- StringPattern(String) - Constructor for class com.sshtools.daemon.util.StringPattern
- Initializes the new instance with the string pattern.
- StringPattern(String, char) - Constructor for class com.sshtools.daemon.util.StringPattern
- Initializes the new instance with the string pattern and a digit wildcard character.
- StringPattern(String, boolean, char) - Constructor for class com.sshtools.daemon.util.StringPattern
- Initializes the new instance with the string pattern and the selecteion, if case should be ignored when comparing characters plus a wildcard character for digits.
- StringScanner - class com.sshtools.daemon.util.StringScanner.
- Simple scanner that allows to navigate over the characters of a string.
- StringScanner(String) - Constructor for class com.sshtools.daemon.util.StringScanner
- Initialize the new instance with the string that should be scanned.
- StringUtil - class com.sshtools.daemon.util.StringUtil.
- The sole instance of this class provides several convienience methods for string manipulation such as substring replacement or character repetition.
- StringUtil() - Constructor for class com.sshtools.daemon.util.StringUtil
- setDigitWildcardChar(char) - Method in class com.sshtools.daemon.util.StringPattern
- Sets the given character as a wildcard character in this pattern to match only digits ('0'-'9').
- setIgnoreCase(boolean) - Method in class com.sshtools.daemon.util.StringPattern
- Sets whether the pattern matching should ignore case or not
- setPattern(String) - Method in class com.sshtools.daemon.util.StringPattern
- Sets the pattern to a new value
- setPosition(int) - Method in class com.sshtools.daemon.util.StringScanner
- setSingleton(StringUtil) - Static method in class com.sshtools.daemon.util.StringUtil
- singleton - Static variable in class com.sshtools.daemon.util.StringUtil
- skip(int) - Method in class com.sshtools.daemon.util.StringScanner
- Moves the position pointer count characters.
- skipAfter(String) - Method in class com.sshtools.daemon.util.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 com.sshtools.daemon.util.StringPattern
- Increments the given iterator up to the last character that matched the character sequence in the given matchString.
- skipBefore(String) - Method in class com.sshtools.daemon.util.StringExaminer
- Increments the position pointer up to the first character before the character sequence in the given matchString.
- skipWildcards(StringExaminer) - Method in class com.sshtools.daemon.util.StringPattern
- Moves the iterator position to the next character that is no wildcard.
- splitNameValue(String, String) - Method in class com.sshtools.daemon.util.StringUtil
- Returns a string array with two elements where the first is the attribute name and the second is the attribute value.
- stackTrace(Throwable) - Method in class com.sshtools.daemon.util.StringUtil
- Prints the stack trace of the specified throwable to a string and returns it.
- startingFrom(String, String) - Method in class com.sshtools.daemon.util.StringUtil
- Returns the substring of the given string that comes after the first occurance of the specified separator.
- strUtil() - Method in class com.sshtools.daemon.util.StringPattern
- substrings(String, String) - Method in class com.sshtools.daemon.util.StringUtil
- Returns the given text split up into an array of strings, at the occurrances of the separator string.
- substrings(String, String, boolean) - Method in class com.sshtools.daemon.util.StringUtil
- Returns the given text split up into an array of strings, at the occurrances of the separator string.
- suffix(String, String) - Method in class com.sshtools.daemon.util.StringUtil
- Returns the substring of the given string that comes after the first occurance of the specified separator.
- suffix(String, String, boolean) - Method in class com.sshtools.daemon.util.StringUtil
- Returns the substring of the given string that comes after the first occurance of the specified separator.
T
- toMap(String, String, String, Map) - Method in class com.sshtools.daemon.util.StringUtil
- Returns the given map with new entries from the specified String.
- toMap(String, String, Map) - Method in class com.sshtools.daemon.util.StringUtil
- Returns the given map object with all key-value pairs of the specified string added to it.
- toMap(String, Map) - Method in class com.sshtools.daemon.util.StringUtil
- Adds all key-value pairs of the given string to the specified map.
- toProperties(String, Properties) - Method in class com.sshtools.daemon.util.StringUtil
- Adds all key-value pairs of the given string to the specified properties.
- toString() - Method in class com.sshtools.daemon.util.StringPattern
- Returns the pattern string.
- toString() - Method in class com.sshtools.daemon.util.StringScanner
- Returns the string the scanner was initialized with
- trimSeparator(String, String) - Method in class com.sshtools.daemon.util.StringUtil
- Cuts off all leading and trailing occurences of separator in text.
U
- upTo(String, String) - Method in class com.sshtools.daemon.util.StringUtil
- Returns the substring of the given string that comes before the first occurance of the specified separator.
- upToEnd() - Method in class com.sshtools.daemon.util.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 com.sshtools.daemon.util.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 com.sshtools.daemon.util.StringPattern
W
- WORD_DELIM - Static variable in class com.sshtools.daemon.util.StringUtil
- words(String) - Method in class com.sshtools.daemon.util.StringUtil
- Returns an array of substrings of the given text.
A B C D E G H I L M N P R S T U W
|
|||||||||
| Home >> All >> com >> sshtools >> daemon >> [ util overview ] | PREV NEXT | ||||||||