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

A

addExcludedClassName(String) - Method in class com.github.hypfvieh.classloader.ClassLoaderWithRegistry
Add a class which should not be loaded with this classloader even if it is in 'includedPackages' List.
addIncludedPackageNames(String) - Method in class com.github.hypfvieh.classloader.ClassLoaderWithRegistry
Add a package name which should be loaded with this classloader.
addPackageToIncludeList(String) - Method in class com.github.hypfvieh.classloader.ComponentRegistry
Packages to allow to register (package name or FQCN).
appendSuffixIfMissing(String, String) - Static method in class com.github.hypfvieh.util.SystemUtil
Append a suffix to the string (e.g. filename) if it doesn't have it already.
appendTrailingDelimiter(String) - Static method in class com.github.hypfvieh.util.SystemUtil
Appends the OS specific path delimiter to the end of the String, if it is missing.

B

BidiMap<K,V> - Class in com.github.hypfvieh.collections
A bidirectional map.
BidiMap() - Constructor for class com.github.hypfvieh.collections.BidiMap
 
BidiMap(Map<K, V>) - Constructor for class com.github.hypfvieh.collections.BidiMap
 

C

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.util - package com.github.hypfvieh.util
 
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
Compress a file using the given CompressionUtil.CompressionMethod.
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
 
ConverterUtil - Class in com.github.hypfvieh.util
Utility class for converting types (e.g.
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.

D

decompress(CompressionUtil.CompressionMethod, String, String) - Static method in class com.github.hypfvieh.util.CompressionUtil
Extract a file using the given CompressionUtil.CompressionMethod.
defaultIfBlank(String, String) - Static method in class com.github.hypfvieh.util.StringUtil
Checks if given String is blank (see StringUtil.isBlank(String).
defaultIfNotInteger(String, int) - Static method in class com.github.hypfvieh.util.TypeUtil
Returns integer converted from string or default if not string was not a integer type.

E

entrySet() - Method in class com.github.hypfvieh.collections.BidiMap
 
equalsAny(String, String...) - Static method in class com.github.hypfvieh.util.StringUtil
Checks if any of the given strings in _compare is equal to _str (case-sensitive).
equalsAny(boolean, String, String...) - Static method in class com.github.hypfvieh.util.StringUtil
Checks if any of the given strings in _compare is equal to _str (either case-insensitive or case-sensitive).
equalsIgnoreCaseAny(String, String...) - Static method in class com.github.hypfvieh.util.StringUtil
Checks if any of the given strings in _compare is equal to _str (case-insensitive).
equalsOne(Object, Object...) - Static method in class com.github.hypfvieh.util.CompareUtil
Returns true if the specified object equals at least one of the specified other objects.
equalsOne(Object, Object...) - Static method in class com.github.hypfvieh.util.TypeUtil
Returns true if the specified object equals at least one of the specified other objects.
extractFileGzip(String, String) - Static method in class com.github.hypfvieh.util.CompressionUtil
Extracts a GZIP compressed file to the given outputfile.

F

FileIoUtil - Class in com.github.hypfvieh.util
 
formatBytesHumanReadable(long, boolean) - Static method in class com.github.hypfvieh.util.SystemUtil
Formats a file size given in byte to something human readable.

G

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.

I

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
Check if NativeLibraryLoader will is active and will load libraries.
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.

J

join(String, List<String>) - Static method in class com.github.hypfvieh.util.StringUtil
Combines the Strings in _string using _delimiter.
join(String, String[]) - Static method in class com.github.hypfvieh.util.StringUtil
Combines the Strings in _string using _delimiter.

K

keys() - Method in class com.github.hypfvieh.collections.LinkedProperties
Overrides keys() in order to return an insertion order enumeration.
keySet() - Method in class com.github.hypfvieh.collections.BidiMap
 

L

LinkedProperties - Class in com.github.hypfvieh.collections
Subclass of Properties that returns keys in insertion order by keeping an internal insertion order set of keys updated on each write operation (put, putAll, clear, remove).
LinkedProperties() - Constructor for class com.github.hypfvieh.collections.LinkedProperties
 
LinkedProperties(Properties) - Constructor for class com.github.hypfvieh.collections.LinkedProperties
 
LinkedProperties(InputStream) - Constructor for class com.github.hypfvieh.collections.LinkedProperties
Constructor that reads a property list (key and element pairs) from the input byte stream.
loadClass(String, boolean) - Method in class com.github.hypfvieh.classloader.ClassLoaderWithRegistry
 
loadLibrary(boolean, String, String...) - Static method in class com.github.hypfvieh.system.NativeLibraryLoader
Load the given _libName from one of the given pathes (will search for the library and uses first match).
loadLibrary(String, SearchOrder[], String...) - Static method in class com.github.hypfvieh.system.NativeLibraryLoader
Tries to load the given library using the given load/search order.
loadPropertiesFromClasspath(String) - Static method in class com.github.hypfvieh.util.FileIoUtil
Loads the contents of a properties file located in the Java classpath into a Properties object.
loadPropertiesFromClasspath(String, Properties) - Static method in class com.github.hypfvieh.util.FileIoUtil
Same as FileIoUtil.loadPropertiesFromClasspath(String) but does not throw checked exception.
lowerCaseFirstChar(String) - Static method in class com.github.hypfvieh.util.StringUtil
Lower case the first letter of the given string.

M

mapContainsKeys(Map<?, ?>, Object...) - Static method in class com.github.hypfvieh.util.CompareUtil
Checks whether a map contains all of the specified keys.

N

NativeLibraryLoader - Class in com.github.hypfvieh.system
Helper class to load a native library either from a given path, the classpath or system library path.
NetUtil - Class in com.github.hypfvieh.util
 

O

openInputStreamForFile(String, SearchOrder...) - Static method in class com.github.hypfvieh.util.FileIoUtil
Tries to find _fileNameWithPath in either classpath, systempath or absolute path and opens an InputStream for it.

P

put(K, V) - Method in class com.github.hypfvieh.collections.BidiMap
 
put(Object, Object) - Method in class com.github.hypfvieh.collections.LinkedProperties
 
putAll(Map<? extends K, ? extends V>) - Method in class com.github.hypfvieh.collections.BidiMap
 

R

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
Reads a text file from given InputStream using the given Charset.
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.

S

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
Deprecated.
use ConverterUtilTest#strToBool(String)
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.

T

throwIfAnyNull(String, Object...) - Static method in class com.github.hypfvieh.util.CompareUtil
 
throwIfAnyNull(String, Object...) - Static method in class com.github.hypfvieh.util.TypeUtil
 
TimeMeasure - Class in com.github.hypfvieh.util
Utility class for time measurements.
TimeMeasure() - Constructor for class com.github.hypfvieh.util.TimeMeasure
 
toProperties(Map<?, ?>) - Static method in class com.github.hypfvieh.util.ConverterUtil
Convertes a map to a Properties object.
toString() - Method in class com.github.hypfvieh.collections.BidiMap
 
toString() - Method in class com.github.hypfvieh.util.TimeMeasure
Returns the elapsed time in milliseconds formatted as string.
TypeUtil - Class in com.github.hypfvieh.util
Class providing a set of methods for converting and/or checking of various data types.

U

unregisterComponent(Class<?>) - Method in class com.github.hypfvieh.classloader.ComponentRegistry
Remove a registered class from list.
unregisterComponent(String) - Method in class com.github.hypfvieh.classloader.ComponentRegistry
Remove a registered class from list.
upperCaseFirstChar(String) - Static method in class com.github.hypfvieh.util.StringUtil
Upper case the first letter of the given string.

V

valueOf(String) - Static method in enum com.github.hypfvieh.common.SearchOrder
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.github.hypfvieh.util.CompressionUtil.CompressionMethod
Returns the enum constant of this type with the specified name.
values() - Method in class com.github.hypfvieh.collections.BidiMap
 
values() - Static method in enum com.github.hypfvieh.common.SearchOrder
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.github.hypfvieh.util.CompressionUtil.CompressionMethod
Returns an array containing the constants of this enum type, in the order they are declared.

W

writeProperties(File, Properties) - Static method in class com.github.hypfvieh.util.FileIoUtil
Writes a properties Object to file.
writeProperties(String, Properties) - Static method in class com.github.hypfvieh.util.FileIoUtil
Write a properties object to a given file (will overwrite existing files!).
writeTextFile(String, String, Charset, boolean) - Static method in class com.github.hypfvieh.util.FileIoUtil
Write String to file with the given charset.
writeTextFile(String, String, boolean) - Static method in class com.github.hypfvieh.util.FileIoUtil
Write String to file with the java default charset (usually UTF-8).
A B C D E F G I J K L M N O P R S T U V W 
Skip navigation links

Copyright © 2018. All rights reserved.