- ClassLoaderWithRegistry - Class in com.github.hypfvieh.classloader
-
Custom classloader to register certain classes to ComponentRegistry.
- ClassLoaderWithRegistry(ClassLoader) - Constructor for class com.github.hypfvieh.classloader.ClassLoaderWithRegistry
-
- ClassLoaderWithRegistry() - Constructor for class com.github.hypfvieh.classloader.ClassLoaderWithRegistry
-
- clear() - Method in class com.github.hypfvieh.collections.BidiMap
-
- clear() - Method in class com.github.hypfvieh.collections.LinkedProperties
-
- clearPackageIncludeList() - Method in class com.github.hypfvieh.classloader.ComponentRegistry
-
- com.github.hypfvieh.classloader - package com.github.hypfvieh.classloader
-
- com.github.hypfvieh.collections - package com.github.hypfvieh.collections
-
- com.github.hypfvieh.common - package com.github.hypfvieh.common
-
- com.github.hypfvieh.system - package com.github.hypfvieh.system
-
- com.github.hypfvieh.threads - package com.github.hypfvieh.threads
-
- com.github.hypfvieh.util - package com.github.hypfvieh.util
-
- com.github.hypfvieh.util.xml - package com.github.hypfvieh.util.xml
-
- CompareUtil - Class in com.github.hypfvieh.util
-
- ComponentRegistry - Class in com.github.hypfvieh.classloader
-
Singleton which holds a list of registered classes.
- compress(CompressionUtil.CompressionMethod, String, String) - Static method in class com.github.hypfvieh.util.CompressionUtil
-
- compressFileGzip(String, String) - Static method in class com.github.hypfvieh.util.CompressionUtil
-
Compresses the given file with GZIP and writes the compressed file to outputFileName.
- CompressionUtil - Class in com.github.hypfvieh.util
-
Utility class for compressing/decompressing files.
- CompressionUtil.CompressionMethod - Enum in com.github.hypfvieh.util
-
Enum of supported CompressionMethods.
- concatFilePath(boolean, String...) - Static method in class com.github.hypfvieh.util.SystemUtil
-
Concats a path from all given parts, using the path delimiter for the currently used platform.
- concatFilePath(String...) - Static method in class com.github.hypfvieh.util.SystemUtil
-
Concats a path from all given parts, using the path delimiter for the currently used platform.
- containsKey(Object) - Method in class com.github.hypfvieh.collections.BidiMap
-
- containsValue(Object) - Method in class com.github.hypfvieh.collections.BidiMap
-
- convertCamelToUpperCase(String) - Static method in class com.github.hypfvieh.util.StringUtil
-
Converts a camel-case string to an upper-case string
where each upper-case character except the first in
the input string is preceded by an underscore in the
output string.
- ConverterUtil - Class in com.github.hypfvieh.util
-
Utility class for converting types (e.g.
- convertToAttributeMap(NamedNodeMap) - Static method in class com.github.hypfvieh.util.xml.XmlUtil
-
- convertToElementList(NodeList) - Static method in class com.github.hypfvieh.util.xml.XmlUtil
-
- convertUpperToCamelCase(String) - Static method in class com.github.hypfvieh.util.StringUtil
-
Tries to convert upper-case string to camel-case.
- createList(T...) - Static method in class com.github.hypfvieh.util.TypeUtil
-
Creates a list from a varargs parameter array.
- createMap(T...) - Static method in class com.github.hypfvieh.util.TypeUtil
-
Creates a map from the even-sized parameter array.
- createProperties(String...) - Static method in class com.github.hypfvieh.util.TypeUtil
-
Factory method for
Properties from an even-sized String array.
- createRegExPatternIfValid(String) - Static method in class com.github.hypfvieh.util.TypeUtil
-
Creates a RegEx Pattern object, if given String is a valid regular expression.
- createTempDirectory(String, String, boolean) - Static method in class com.github.hypfvieh.util.SystemUtil
-
Creates a new temporary directory in the given path.
- createTempDirectory(String, String, int, boolean, boolean) - Static method in class com.github.hypfvieh.util.SystemUtil
-
Creates a temporary directory in the given path.
- 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.
- getCurrentUser() - Static method in class com.github.hypfvieh.util.SystemUtil
-
Determines the current logged on user.
- 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.
- getErrorCode() - Method in enum com.github.hypfvieh.system.LibcErrorCodes
-
- 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).
- getFileExtension(File) - 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
-
- getJavaVersion() - Static method in class com.github.hypfvieh.util.SystemUtil
-
Determines the Java version of the executing JVM.
- getKey(V) - Method in class com.github.hypfvieh.collections.BidiMap
-
- getOs() - Static method in class com.github.hypfvieh.util.SystemUtil
-
Determines the operating system's type and version.
- 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.
- guessDefaultTerminal() - Static method in class com.github.hypfvieh.util.SystemUtil
-
Tries to find the "default" terminal emulator.
- guessLineTerminatorOfFile(String) - Static method in class com.github.hypfvieh.util.FileIoUtil
-
Tries to find the line termination character(s) of the given file.
- ifFalse(boolean, T) - Static method in class com.github.hypfvieh.util.CompareUtil
-
Returns the second parameter if the condition is false
or null if the condition is true.
- 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.
- isAllUpperCase(String) - Static method in class com.github.hypfvieh.util.StringUtil
-
Checks if the given String is in all upper-case.
- 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
-
- 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.
- isElementType(Node) - Static method in class com.github.hypfvieh.util.xml.XmlUtil
-
Shortcut for checking if given node is of type
Element.
- isEmpty() - Method in class com.github.hypfvieh.collections.BidiMap
-
- isEmpty(String) - Static method in class com.github.hypfvieh.util.StringUtil
-
Checks if the given String is either null or empty.
- 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.