- get(Object) - Method in class com.github.hypfvieh.collections.BidiMap
-
- getApplicationVersionFromJar(Class<?>, String) - Static method in class com.github.hypfvieh.util.SystemUtil
-
Read the JARs manifest and try to get the current program version from it.
- getComponents() - Method in class com.github.hypfvieh.classloader.ComponentRegistry
-
Returns a list with all registered classes (FQCN).
- getComponentsVersions() - Method in class com.github.hypfvieh.classloader.ComponentRegistry
-
Returns the list of registered Components and Versions as Map.
- getElapsed() - Method in class com.github.hypfvieh.util.TimeMeasure
-
Returns the elapsed time in milliseconds.
- getElapsedAndReset() - Method in class com.github.hypfvieh.util.TimeMeasure
-
- getElapsedFormatted(DateFormat) - Method in class com.github.hypfvieh.util.TimeMeasure
-
Formats the elapsed time using the given dateFormatter.
- getFileExtension(String) - Static method in class com.github.hypfvieh.system.NativeLibraryLoader
-
Extracts the file extension (part behind last dot of a filename).
- getFileExtension(String) - Static method in class com.github.hypfvieh.util.SystemUtil
-
Extracts the file extension (part behind last dot of a filename).
- getFileIfReadable(String) - Static method in class com.github.hypfvieh.util.SystemUtil
-
Checks if given String is a valid file, e.g. file exists, is really a file and can be read.
- getHostName(String) - Static method in class com.github.hypfvieh.util.NetUtil
-
Get the host name of a local address, if available.
- getHostName() - Static method in class com.github.hypfvieh.util.SystemUtil
-
Gets the host name of the local machine.
- getInputStreamClass() - Method in enum com.github.hypfvieh.util.CompressionUtil.CompressionMethod
-
- getInstance() - Static method in class com.github.hypfvieh.classloader.ComponentRegistry
-
- getKey(V) - Method in class com.github.hypfvieh.collections.BidiMap
-
- getOutputStreamClass() - Method in enum com.github.hypfvieh.util.CompressionUtil.CompressionMethod
-
- getRunningClassPath() - Static method in class com.github.hypfvieh.util.SystemUtil
-
Returns the running class path.
- getStartTime() - Method in class com.github.hypfvieh.util.TimeMeasure
-
Returns the start time in milliseconds.
- getStoreTypeByFileName(File) - Static method in class com.github.hypfvieh.util.SslTlsUtil
-
Get the key/trust store 'type' by analyzing the filename extension.
- getTempDir() - Static method in class com.github.hypfvieh.util.SystemUtil
-
Returns the temp directory of this platform.
- getTextfileFromUrl(String) - Static method in class com.github.hypfvieh.util.FileIoUtil
-
Retrives a text file from an given URL.
- getTextfileFromUrl(String, Charset) - Static method in class com.github.hypfvieh.util.FileIoUtil
-
Retrives a text file from an given URL and reads the content with the given charset.
- getTextfileFromUrl(String, Charset, boolean) - Static method in class com.github.hypfvieh.util.FileIoUtil
-
- getVersion() - Static method in class com.github.hypfvieh.classloader.ClassLoaderWithRegistry
-
- getVersion() - Static method in class com.github.hypfvieh.classloader.ComponentRegistry
-
- getVersionForComponent(Class<?>) - Method in class com.github.hypfvieh.classloader.ComponentRegistry
-
Return version for given Class.
- getWorkingDirectory() - Static method in class com.github.hypfvieh.util.SystemUtil
-
Returns the current working directory.
- ifFalse(boolean, T) - Static method in class com.github.hypfvieh.util.CompareUtil
-
- ifTrue(boolean, T) - Static method in class com.github.hypfvieh.util.CompareUtil
-
Returns the second parameter if the condition is true
or null if the condition is false.
- initializeKeyManagers(File, String, String) - Static method in class com.github.hypfvieh.util.SslTlsUtil
-
Initialization of keyStoreManager used to provide access to the configured keyStore.
- initializeTrustManagers(File, String) - Static method in class com.github.hypfvieh.util.SslTlsUtil
-
Initialization of trustStoreManager used to provide access to the configured trustStore.
- isAnyFileMissing(File...) - Static method in class com.github.hypfvieh.util.CompareUtil
-
Checks if any of the passed in files are non-existing.
- isAnyNull(Object...) - Static method in class com.github.hypfvieh.util.CompareUtil
-
Checks if any of the passed in objects is null.
- isAnyNull(Object...) - Static method in class com.github.hypfvieh.util.TypeUtil
-
Checks if any of the passed in objects is null.
- isBlank(String) - Static method in class com.github.hypfvieh.util.StringUtil
-
Checks if the given String is either null or blank.
- isDebuggingEnabled() - Static method in class com.github.hypfvieh.util.SystemUtil
-
Examines some system properties to determine whether the process is likely being debugged
in an IDE or remotely.
- isDouble(String) - Static method in class com.github.hypfvieh.util.TypeUtil
-
Checks if the given string is a valid double (including negative values).
- isDouble(String, char) - Static method in class com.github.hypfvieh.util.TypeUtil
-
Checks if the given string is a valid double (including negative values) using the given separator.
- isDouble(String, boolean) - Static method in class com.github.hypfvieh.util.TypeUtil
-
Checks if the given string is a valid double.
- isDouble(String, char, boolean) - Static method in class com.github.hypfvieh.util.TypeUtil
-
Checks if the given string is a valid double.
- isEmpty() - Method in class com.github.hypfvieh.collections.BidiMap
-
- isEnabled() - Static method in class com.github.hypfvieh.system.NativeLibraryLoader
-
- isInteger(String) - Static method in class com.github.hypfvieh.util.TypeUtil
-
Check if string is integer (including negative integers).
- isInteger(String, boolean) - Static method in class com.github.hypfvieh.util.TypeUtil
-
Check if string is an either positive or negative integer.
- isIPv4Address(String) - Static method in class com.github.hypfvieh.util.NetUtil
-
Checks if given String is an IPv4 address.
- isIPv4orIPv6Address(String) - Static method in class com.github.hypfvieh.util.NetUtil
-
Checks if given String is either a valid IPv4 or IPv6 address.
- isIPv6Address(String) - Static method in class com.github.hypfvieh.util.NetUtil
-
Checks if given String is an IPv6 address.
- isValidNetworkPort(int, boolean) - Static method in class com.github.hypfvieh.util.TypeUtil
-
Check if the given value is a valid network port (1 - 65535).
- isValidNetworkPort(String, boolean) - Static method in class com.github.hypfvieh.util.TypeUtil
-
- isValidRegex(String) - Static method in class com.github.hypfvieh.util.TypeUtil
-
Checks if given String is a valid regular expression.
- randomString(int) - Static method in class com.github.hypfvieh.util.StringUtil
-
Generate a simple (cryptographic insecure) random string.
- readFileFrom(String, Charset, SearchOrder...) - Static method in class com.github.hypfvieh.util.FileIoUtil
-
Read a file from different sources depending on _searchOrder.
- readFileFromClassPath(String) - Static method in class com.github.hypfvieh.util.FileIoUtil
-
Reads a file from classpath to String.
- readFileFromClassPathAsList(String) - Static method in class com.github.hypfvieh.util.FileIoUtil
-
Reads a file from classpath to a list of String using default charset and log any exception.
- readFileFromClassPathAsList(String, Charset, boolean) - Static method in class com.github.hypfvieh.util.FileIoUtil
-
Reads a file from classpath to a list of String with the given charset.
- readFileToList(File) - Static method in class com.github.hypfvieh.util.FileIoUtil
-
Reads a file to a List<String> (each line is one entry in list).
- readFileToList(String) - Static method in class com.github.hypfvieh.util.FileIoUtil
-
Reads a file to a List<String> (each line is one entry in list).
- readFileToString(String) - Static method in class com.github.hypfvieh.util.FileIoUtil
-
Reads a file and returns it's content as string.
- readFileToString(File) - Static method in class com.github.hypfvieh.util.FileIoUtil
-
- readProperties(File) - Static method in class com.github.hypfvieh.util.FileIoUtil
-
Trys to read a properties file.
- readProperties(InputStream) - Static method in class com.github.hypfvieh.util.FileIoUtil
-
Tries to read a properties file from an inputstream.
- readPropertiesBoolean(Properties, String) - Static method in class com.github.hypfvieh.util.FileIoUtil
-
Reads a property as boolean from an properties object.
- readPropertiesFromFile(String, Properties) - Static method in class com.github.hypfvieh.util.FileIoUtil
-
Read properties from given filename
(returns empty
Properties object on failure).
- readStringFromResources(InputStream, String) - Static method in class com.github.hypfvieh.util.FileIoUtil
-
Read a Resource-file (eg.
- readTextFileFromStream(InputStream, Charset, boolean) - Static method in class com.github.hypfvieh.util.FileIoUtil
-
- registerComponent(Class<?>, String) - Method in class com.github.hypfvieh.classloader.ComponentRegistry
-
Register a class with version.
- registerComponent(Class<?>) - Method in class com.github.hypfvieh.classloader.ComponentRegistry
-
Register a class using the Class-Object.
- registerComponent(String) - Method in class com.github.hypfvieh.classloader.ComponentRegistry
-
Register a component with FQCN only.
- remove(Object) - Method in class com.github.hypfvieh.collections.BidiMap
-
- remove(Object) - Method in class com.github.hypfvieh.collections.LinkedProperties
-
- removeValue(V) - Method in class com.github.hypfvieh.collections.BidiMap
-
Removes the mapping for a value from this map if it is present.
- replaceByMap(String, Map<String, String>) - Static method in class com.github.hypfvieh.util.StringUtil
-
Replace all placeholders in given string by value of the corresponding key in given Map.
- reset() - Method in class com.github.hypfvieh.util.TimeMeasure
-
Resets the start time to current time in milliseconds.
- rot13(String) - Static method in class com.github.hypfvieh.util.StringUtil
-
Simple rot13 implementation.
- SearchOrder - Enum in com.github.hypfvieh.common
-
Defines where to look for a library.
- setEnabled(boolean) - Static method in class com.github.hypfvieh.system.NativeLibraryLoader
-
Enable/Disable library loading.
- size() - Method in class com.github.hypfvieh.collections.BidiMap
-
- smartWordSplit(String, int) - Static method in class com.github.hypfvieh.util.StringUtil
-
Tries to split a string in a smart way.
- splitEqually(String, int) - Static method in class com.github.hypfvieh.util.StringUtil
-
Splits a Text to equal parts.
- splitList(List<T>, int) - Static method in class com.github.hypfvieh.util.TypeUtil
-
Split a List into equal parts.
- splitMap(Map<K, V>, int) - Static method in class com.github.hypfvieh.util.TypeUtil
-
Splits _map to a list of maps where each map has _nbElements.
- SslTlsUtil - Class in com.github.hypfvieh.util
-
Helper class to setup SSL/TLS related settings.
- startsWithAny(String, String...) - Static method in class com.github.hypfvieh.util.CompareUtil
-
Checks if given String starts with any of the other given parameters.
- StringUtil - Class in com.github.hypfvieh.util
-
Utility class for String manipulation.
- strToBool(String) - Static method in class com.github.hypfvieh.util.ConverterUtil
-
Returns true if string matches certain boolean values.
- strToBool(String) - Static method in class com.github.hypfvieh.util.TypeUtil
-
- strToInt(String, Integer) - Static method in class com.github.hypfvieh.util.ConverterUtil
-
Convert given String to Integer, returns _default if String is not an integer.
- strToInt(String) - Static method in class com.github.hypfvieh.util.ConverterUtil
-
Convert given String to Integer, returns null if String is not an integer.
- SystemUtil - Class in com.github.hypfvieh.util
-
Utility-Class with various operating system related helper methods.