Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- abbreviate(String, int) - Static method in class com.github.hypfvieh.util.StringUtil
-
Abbreviates a String using ellipses.
- AbstractImgHash - Class in com.github.hypfvieh.imaging
- AbstractImgHash() - Constructor for class com.github.hypfvieh.imaging.AbstractImgHash
- addAdditionalUrlArgs(String...) - Method in class com.github.hypfvieh.db.H2ConnParms
- 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.
- applySplit(String, int) - Method in interface com.github.hypfvieh.formatter.StringSplitOperator
-
Applies this operator to the given operands.
- applyXpathExpressionToDocument(String, Node) - Static method in class com.github.hypfvieh.util.xml.XmlUtil
-
Applys a xpathExpression to a xml-Document and return a
NodeListwith the results.
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
- bitmaskToHex(boolean[], int) - Method in class com.github.hypfvieh.imaging.AbstractImgHash
-
Converts a bitmask (array of boolean) to a hex string.
- build() - Method in class com.github.hypfvieh.config.xml.XmlConfigBuilder
-
Build the
XmlConfigurationand return it. - build() - Method in class com.github.hypfvieh.util.SimpleFixMessageBuilder
-
Builds the new message and returns it as String.
C
- calcHammingDistance(String, String) - Static method in class com.github.hypfvieh.imaging.ImageCompare
-
Calculate the hamming distance of the two given strings.
- calculateFixBodyLength(String) - Static method in class com.github.hypfvieh.util.FixUtil
-
Calculates the body length of the given message.
- calculateFixBodyLength(String, char) - Static method in class com.github.hypfvieh.util.FixUtil
-
Calculates the body length of the given message.
- calculateFixCheckSum(String, char) - Static method in class com.github.hypfvieh.util.FixUtil
-
Calculates the checksum of the message.
- CLASS_PATH - Enum constant in enum class com.github.hypfvieh.common.SearchOrder
-
Look in classpath, this includes directory and the jar(s)
- ClassLoaderWithRegistry - Class in com.github.hypfvieh.classloader
-
Custom classloader to register certain classes to ComponentRegistry.
- ClassLoaderWithRegistry() - Constructor for class com.github.hypfvieh.classloader.ClassLoaderWithRegistry
- ClassLoaderWithRegistry(ClassLoader) - 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
- closeDatabase() - Method in class com.github.hypfvieh.db.SimpleDatabaseConnector
-
Closes the database connection if it was previously connected.
- 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.config.xml - package com.github.hypfvieh.config.xml
- com.github.hypfvieh.db - package com.github.hypfvieh.db
- com.github.hypfvieh.files - package com.github.hypfvieh.files
- com.github.hypfvieh.formatter - package com.github.hypfvieh.formatter
- com.github.hypfvieh.imaging - package com.github.hypfvieh.imaging
- com.github.hypfvieh.java.utils - module com.github.hypfvieh.java.utils
- com.github.hypfvieh.stream - package com.github.hypfvieh.stream
- 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
- compareWith(IImgHash, File, File) - Static method in class com.github.hypfvieh.imaging.ImageCompare
-
Calculate hashes for _img1 and _img2 using _hasher and return the hamming distance as result.
- 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 Class in com.github.hypfvieh.util
-
Enum of supported CompressionMethods.
- computeHash(File) - Method in interface com.github.hypfvieh.imaging.IImgHash
-
Calculate the hash of given image.
- computeHash(File) - Static method in class com.github.hypfvieh.imaging.ImgAHash
-
Compute the AHash of the given file (which should be a valid image).
- computeHash(File) - Static method in class com.github.hypfvieh.imaging.ImgDHash
-
Compute the DHash of the given file (which should be a valid image).
- computeHash(File) - Static method in class com.github.hypfvieh.imaging.ImgPHash
-
Compute the PHash of the given file (which should be a valid image).
- 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.
- concatStrings(boolean, String, String...) - Static method in class com.github.hypfvieh.util.StringUtil
-
Concats all strings using the separator as delimiter.
- ConfigurationException - Exception in com.github.hypfvieh.config.xml
-
Exception which indicates problems with a given configuration file.
- ConfigurationException() - Constructor for exception com.github.hypfvieh.config.xml.ConfigurationException
- ConfigurationException(String) - Constructor for exception com.github.hypfvieh.config.xml.ConfigurationException
- ConfigurationException(String, Throwable) - Constructor for exception com.github.hypfvieh.config.xml.ConfigurationException
- ConfigurationException(String, Throwable, boolean, boolean) - Constructor for exception com.github.hypfvieh.config.xml.ConfigurationException
- ConfigurationException(Throwable) - Constructor for exception com.github.hypfvieh.config.xml.ConfigurationException
- containsAny(boolean, String, String...) - Static method in class com.github.hypfvieh.util.StringUtil
-
Checks if any of the given strings in _args is contained in _str.
- containsAny(String, String...) - Static method in class com.github.hypfvieh.util.StringUtil
-
Checks if any of the given strings in _args is contained in _str, case-sensitive.
- containsAnyIgnoreCase(String, String...) - Static method in class com.github.hypfvieh.util.StringUtil
-
Checks if any of the given strings in _args is contained in _str, case-insensitve.
- 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
-
Converts
NamedNodeMapto aLinkedHashMap<String,String>. - 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.
- createBasicMessage(String, String) - Method in class com.github.hypfvieh.util.SimpleFixMessageBuilder
-
Creates a basic FIX message containing only dummy header and trailer with the specified FIX version and message type.
- 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.
- createPixelArray(BufferedImage) - Method in class com.github.hypfvieh.imaging.AbstractImgHash
-
Convert the given image to an array of integer, where each array entry represents one pixel.
- createPixelArrayMatrix(BufferedImage) - Method in class com.github.hypfvieh.imaging.AbstractImgHash
-
Creates a pixel array matrix from the given image.
- createPreparedStatement(String) - Method in class com.github.hypfvieh.db.SimpleDatabaseConnector
-
Creates a prepared statement which can be used for batch statements.
- createProperties(String...) - Static method in class com.github.hypfvieh.util.TypeUtil
-
Factory method for
Propertiesfrom 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.
- CUSTOM_PATH - Enum constant in enum class com.github.hypfvieh.common.SearchOrder
-
Look in any given external path
D
- DbConnParms - Class in com.github.hypfvieh.db
-
Instances of this immutable class hold database connection parameters.
- DbConnParms(String, String, String, String) - Constructor for class com.github.hypfvieh.db.DbConnParms
- DbConnParms(String, String, String, String, int) - Constructor for class com.github.hypfvieh.db.DbConnParms
- DbConnParms(Map<String, String>) - Constructor for class com.github.hypfvieh.db.DbConnParms
- 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).
If String is blank, the given default is returned, otherwise the String is returned. - defaultIfNotInteger(String, int) - Static method in class com.github.hypfvieh.util.TypeUtil
-
Returns integer converted from string or default if string could not be converted to int.
- deleteRecursively(String, boolean) - Static method in class com.github.hypfvieh.util.SystemUtil
-
Delete all files and directories in the given path recursively.
- deleteRecursivelyQuiet(String) - Static method in class com.github.hypfvieh.util.SystemUtil
-
Delete all files and directories in the given path recursively and without throwing any exception.
- doFileRolling(File, String, int) - Static method in class com.github.hypfvieh.files.RollingFileUtil
-
Do a rollover of the given source file using the provided pattern.
E
- E2BIG - Enum constant in enum class com.github.hypfvieh.system.LibcErrorCodes
-
Argument list too long.
- EACCES - Enum constant in enum class com.github.hypfvieh.system.LibcErrorCodes
-
Permission denied.
- EADDRINUSE - Enum constant in enum class com.github.hypfvieh.system.LibcErrorCodes
-
Address already in use.
- EADDRNOTAVAIL - Enum constant in enum class com.github.hypfvieh.system.LibcErrorCodes
-
Cannot assign requested address.
- EADV - Enum constant in enum class com.github.hypfvieh.system.LibcErrorCodes
-
Advertise error.
- EAFNOSUPPORT - Enum constant in enum class com.github.hypfvieh.system.LibcErrorCodes
-
Address family not supported by protocol.
- EAGAIN - Enum constant in enum class com.github.hypfvieh.system.LibcErrorCodes
-
Try again.
- EALREADY - Enum constant in enum class com.github.hypfvieh.system.LibcErrorCodes
-
Operation already in progress.
- EBADE - Enum constant in enum class com.github.hypfvieh.system.LibcErrorCodes
-
Invalid exchange.
- EBADF - Enum constant in enum class com.github.hypfvieh.system.LibcErrorCodes
-
Bad file number.
- EBADFD - Enum constant in enum class com.github.hypfvieh.system.LibcErrorCodes
-
File descriptor in bad state.
- EBADMSG - Enum constant in enum class com.github.hypfvieh.system.LibcErrorCodes
-
Not a data message.
- EBADR - Enum constant in enum class com.github.hypfvieh.system.LibcErrorCodes
-
Invalid request descriptor.
- EBADRQC - Enum constant in enum class com.github.hypfvieh.system.LibcErrorCodes
-
Invalid request code.
- EBADSLT - Enum constant in enum class com.github.hypfvieh.system.LibcErrorCodes
-
Invalid slot.
- EBFONT - Enum constant in enum class com.github.hypfvieh.system.LibcErrorCodes
-
Bad font file format.
- EBUSY - Enum constant in enum class com.github.hypfvieh.system.LibcErrorCodes
-
Device or resource busy.
- ECANCELED - Enum constant in enum class com.github.hypfvieh.system.LibcErrorCodes
-
Operation Canceled.
- ECHILD - Enum constant in enum class com.github.hypfvieh.system.LibcErrorCodes
-
No child processes.
- ECHRNG - Enum constant in enum class com.github.hypfvieh.system.LibcErrorCodes
-
Channel number out of range.
- ECOMM - Enum constant in enum class com.github.hypfvieh.system.LibcErrorCodes
-
Communication error on send.
- ECONNABORTED - Enum constant in enum class com.github.hypfvieh.system.LibcErrorCodes
-
Software caused connection abort.
- ECONNREFUSED - Enum constant in enum class com.github.hypfvieh.system.LibcErrorCodes
-
Connection refused.
- ECONNRESET - Enum constant in enum class com.github.hypfvieh.system.LibcErrorCodes
-
Connection reset by peer.
- EDEADLK - Enum constant in enum class com.github.hypfvieh.system.LibcErrorCodes
-
Resource deadlock would occur.
- EDEADLOCK - Enum constant in enum class com.github.hypfvieh.system.LibcErrorCodes
-
Resource deadlock would occur.
- EDESTADDRREQ - Enum constant in enum class com.github.hypfvieh.system.LibcErrorCodes
-
Destination address required.
- EDOM - Enum constant in enum class com.github.hypfvieh.system.LibcErrorCodes
-
Math argument out of domain of func.
- EDOTDOT - Enum constant in enum class com.github.hypfvieh.system.LibcErrorCodes
-
RFS specific error.
- EDQUOT - Enum constant in enum class com.github.hypfvieh.system.LibcErrorCodes
-
Quota exceeded.
- EEXIST - Enum constant in enum class com.github.hypfvieh.system.LibcErrorCodes
-
File exists.
- EFAULT - Enum constant in enum class com.github.hypfvieh.system.LibcErrorCodes
-
Bad address.
- EFBIG - Enum constant in enum class com.github.hypfvieh.system.LibcErrorCodes
-
File too large.
- EHOSTDOWN - Enum constant in enum class com.github.hypfvieh.system.LibcErrorCodes
-
Host is down.
- EHOSTUNREACH - Enum constant in enum class com.github.hypfvieh.system.LibcErrorCodes
-
No route to host.
- EHWPOISON - Enum constant in enum class com.github.hypfvieh.system.LibcErrorCodes
-
Memory page has hardware error.
- EIDRM - Enum constant in enum class com.github.hypfvieh.system.LibcErrorCodes
-
Identifier removed.
- EILSEQ - Enum constant in enum class com.github.hypfvieh.system.LibcErrorCodes
-
Illegal byte sequence.
- EINPROGRESS - Enum constant in enum class com.github.hypfvieh.system.LibcErrorCodes
-
Operation now in progress.
- EINTR - Enum constant in enum class com.github.hypfvieh.system.LibcErrorCodes
-
Interrupted system call.
- EINVAL - Enum constant in enum class com.github.hypfvieh.system.LibcErrorCodes
-
Invalid argument.
- EIO - Enum constant in enum class com.github.hypfvieh.system.LibcErrorCodes
-
I/O error.
- EISCONN - Enum constant in enum class com.github.hypfvieh.system.LibcErrorCodes
-
Transport endpoint is already connected.
- EISDIR - Enum constant in enum class com.github.hypfvieh.system.LibcErrorCodes
-
Is a directory.
- EISNAM - Enum constant in enum class com.github.hypfvieh.system.LibcErrorCodes
-
Is a named type file.
- EKEYEXPIRED - Enum constant in enum class com.github.hypfvieh.system.LibcErrorCodes
-
Key has expired.
- EKEYREJECTED - Enum constant in enum class com.github.hypfvieh.system.LibcErrorCodes
-
Key was rejected by service.
- EKEYREVOKED - Enum constant in enum class com.github.hypfvieh.system.LibcErrorCodes
-
Key has been revoked.
- EL2HLT - Enum constant in enum class com.github.hypfvieh.system.LibcErrorCodes
-
Level 2 halted.
- EL2NSYNC - Enum constant in enum class com.github.hypfvieh.system.LibcErrorCodes
-
Level 2 not synchronized.
- EL3HLT - Enum constant in enum class com.github.hypfvieh.system.LibcErrorCodes
-
Level 3 halted.
- EL3RST - Enum constant in enum class com.github.hypfvieh.system.LibcErrorCodes
-
Level 3 reset.
- ELIBACC - Enum constant in enum class com.github.hypfvieh.system.LibcErrorCodes
-
Can not access a needed shared library.
- ELIBBAD - Enum constant in enum class com.github.hypfvieh.system.LibcErrorCodes
-
Accessing a corrupted shared library.
- ELIBEXEC - Enum constant in enum class com.github.hypfvieh.system.LibcErrorCodes
-
Cannot exec a shared library directly.
- ELIBMAX - Enum constant in enum class com.github.hypfvieh.system.LibcErrorCodes
-
Attempting to link in too many shared libraries.
- ELIBSCN - Enum constant in enum class com.github.hypfvieh.system.LibcErrorCodes
-
.lib section in a.out corrupted.
- ELNRNG - Enum constant in enum class com.github.hypfvieh.system.LibcErrorCodes
-
Link number out of range.
- ELOOP - Enum constant in enum class com.github.hypfvieh.system.LibcErrorCodes
-
Too many symbolic links encountered.
- EMEDIUMTYPE - Enum constant in enum class com.github.hypfvieh.system.LibcErrorCodes
-
Wrong medium type.
- EMFILE - Enum constant in enum class com.github.hypfvieh.system.LibcErrorCodes
-
Too many open files.
- EMLINK - Enum constant in enum class com.github.hypfvieh.system.LibcErrorCodes
-
Too many links.
- EMSGSIZE - Enum constant in enum class com.github.hypfvieh.system.LibcErrorCodes
-
Message too long.
- EMULTIHOP - Enum constant in enum class com.github.hypfvieh.system.LibcErrorCodes
-
Multihop attempted.
- ENAMETOOLONG - Enum constant in enum class com.github.hypfvieh.system.LibcErrorCodes
-
File name too long.
- ENAVAIL - Enum constant in enum class com.github.hypfvieh.system.LibcErrorCodes
-
No XENIX semaphores available.
- endsWithAny(boolean, String, String...) - Static method in class com.github.hypfvieh.util.StringUtil
-
Checks if given string in _str ends with any of the given strings in _args.
- ENETDOWN - Enum constant in enum class com.github.hypfvieh.system.LibcErrorCodes
-
Network is down.
- ENETRESET - Enum constant in enum class com.github.hypfvieh.system.LibcErrorCodes
-
Network dropped connection because of reset.
- ENETUNREACH - Enum constant in enum class com.github.hypfvieh.system.LibcErrorCodes
-
Network is unreachable.
- ENFILE - Enum constant in enum class com.github.hypfvieh.system.LibcErrorCodes
-
File table overflow.
- ENOANO - Enum constant in enum class com.github.hypfvieh.system.LibcErrorCodes
-
No anode.
- ENOBUFS - Enum constant in enum class com.github.hypfvieh.system.LibcErrorCodes
-
No buffer space available.
- ENOCSI - Enum constant in enum class com.github.hypfvieh.system.LibcErrorCodes
-
No CSI structure available.
- ENODATA - Enum constant in enum class com.github.hypfvieh.system.LibcErrorCodes
-
No data available.
- ENODEV - Enum constant in enum class com.github.hypfvieh.system.LibcErrorCodes
-
No such device.
- ENOENT - Enum constant in enum class com.github.hypfvieh.system.LibcErrorCodes
-
No such file or directory.
- ENOEXEC - Enum constant in enum class com.github.hypfvieh.system.LibcErrorCodes
-
Exec format error.
- ENOKEY - Enum constant in enum class com.github.hypfvieh.system.LibcErrorCodes
-
Required key not available.
- ENOLCK - Enum constant in enum class com.github.hypfvieh.system.LibcErrorCodes
-
No record locks available.
- ENOLINK - Enum constant in enum class com.github.hypfvieh.system.LibcErrorCodes
-
Link has been severed.
- ENOMEDIUM - Enum constant in enum class com.github.hypfvieh.system.LibcErrorCodes
-
No medium found.
- ENOMEM - Enum constant in enum class com.github.hypfvieh.system.LibcErrorCodes
-
Out of memory.
- ENOMSG - Enum constant in enum class com.github.hypfvieh.system.LibcErrorCodes
-
No message of desired type.
- ENONET - Enum constant in enum class com.github.hypfvieh.system.LibcErrorCodes
-
Machine is not on the network.
- ENOPKG - Enum constant in enum class com.github.hypfvieh.system.LibcErrorCodes
-
Package not installed.
- ENOPROTOOPT - Enum constant in enum class com.github.hypfvieh.system.LibcErrorCodes
-
Protocol not available.
- ENOSPC - Enum constant in enum class com.github.hypfvieh.system.LibcErrorCodes
-
No space left on device.
- ENOSR - Enum constant in enum class com.github.hypfvieh.system.LibcErrorCodes
-
Out of streams resources.
- ENOSTR - Enum constant in enum class com.github.hypfvieh.system.LibcErrorCodes
-
Device not a stream.
- ENOSYS - Enum constant in enum class com.github.hypfvieh.system.LibcErrorCodes
-
Invalid system call number.
- ENOTBLK - Enum constant in enum class com.github.hypfvieh.system.LibcErrorCodes
-
Block device required.
- ENOTCONN - Enum constant in enum class com.github.hypfvieh.system.LibcErrorCodes
-
Transport endpoint is not connected.
- ENOTDIR - Enum constant in enum class com.github.hypfvieh.system.LibcErrorCodes
-
Not a directory.
- ENOTEMPTY - Enum constant in enum class com.github.hypfvieh.system.LibcErrorCodes
-
Directory not empty.
- ENOTNAM - Enum constant in enum class com.github.hypfvieh.system.LibcErrorCodes
-
Not a XENIX named type file.
- ENOTRECOVERABLE - Enum constant in enum class com.github.hypfvieh.system.LibcErrorCodes
-
State not recoverable.
- ENOTSOCK - Enum constant in enum class com.github.hypfvieh.system.LibcErrorCodes
-
Socket operation on non-socket.
- ENOTTY - Enum constant in enum class com.github.hypfvieh.system.LibcErrorCodes
-
Not a typewriter.
- ENOTUNIQ - Enum constant in enum class com.github.hypfvieh.system.LibcErrorCodes
-
Name not unique on network.
- entrySet() - Method in class com.github.hypfvieh.collections.BidiMap
- ENXIO - Enum constant in enum class com.github.hypfvieh.system.LibcErrorCodes
-
No such device or address.
- EOPNOTSUPP - Enum constant in enum class com.github.hypfvieh.system.LibcErrorCodes
-
Operation not supported on transport endpoint.
- EOVERFLOW - Enum constant in enum class com.github.hypfvieh.system.LibcErrorCodes
-
Value too large for defined data type.
- EOWNERDEAD - Enum constant in enum class com.github.hypfvieh.system.LibcErrorCodes
-
Owner died.
- EPERM - Enum constant in enum class com.github.hypfvieh.system.LibcErrorCodes
-
Operation not permitted.
- EPFNOSUPPORT - Enum constant in enum class com.github.hypfvieh.system.LibcErrorCodes
-
Protocol family not supported.
- EPIPE - Enum constant in enum class com.github.hypfvieh.system.LibcErrorCodes
-
Broken pipe.
- EPROTO - Enum constant in enum class com.github.hypfvieh.system.LibcErrorCodes
-
Protocol error.
- EPROTONOSUPPORT - Enum constant in enum class com.github.hypfvieh.system.LibcErrorCodes
-
Protocol not supported.
- EPROTOTYPE - Enum constant in enum class com.github.hypfvieh.system.LibcErrorCodes
-
Protocol wrong type for socket.
- 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).
Will return true if both parameters are null or _str is null and _compare is empty. - 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).
Will return true if both parameters are null or _str is null and _compare is empty. - 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).
Will return true if both parameters are null or _str is null and _compare is empty. - 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
-
Deprecated.
- ERANGE - Enum constant in enum class com.github.hypfvieh.system.LibcErrorCodes
-
Math result not representable.
- EREMCHG - Enum constant in enum class com.github.hypfvieh.system.LibcErrorCodes
-
Remote address changed.
- EREMOTE - Enum constant in enum class com.github.hypfvieh.system.LibcErrorCodes
-
Object is remote.
- EREMOTEIO - Enum constant in enum class com.github.hypfvieh.system.LibcErrorCodes
-
Remote I/O error.
- ERESTART - Enum constant in enum class com.github.hypfvieh.system.LibcErrorCodes
-
Interrupted system call should be restarted.
- ERFKILL - Enum constant in enum class com.github.hypfvieh.system.LibcErrorCodes
-
Operation not possible due to RF-kill.
- EROFS - Enum constant in enum class com.github.hypfvieh.system.LibcErrorCodes
-
Read-only file system.
- error(SAXParseException) - Method in class com.github.hypfvieh.util.xml.XmlErrorHandlers.XmlErrorHandlerQuiet
- error(SAXParseException) - Method in class com.github.hypfvieh.util.xml.XmlErrorHandlers.XmlErrorHandlerRuntimeException
- errorCodeToEnum(int) - Static method in enum class com.github.hypfvieh.system.LibcErrorCodes
-
Converts an errorCode to the enum value.
- ESHUTDOWN - Enum constant in enum class com.github.hypfvieh.system.LibcErrorCodes
-
Cannot send after transport endpoint shutdown.
- ESOCKTNOSUPPORT - Enum constant in enum class com.github.hypfvieh.system.LibcErrorCodes
-
Socket type not supported.
- ESPIPE - Enum constant in enum class com.github.hypfvieh.system.LibcErrorCodes
-
Illegal seek.
- ESRCH - Enum constant in enum class com.github.hypfvieh.system.LibcErrorCodes
-
No such process.
- ESRMNT - Enum constant in enum class com.github.hypfvieh.system.LibcErrorCodes
-
Srmount error.
- ESTALE - Enum constant in enum class com.github.hypfvieh.system.LibcErrorCodes
-
Stale file handle.
- ESTRPIPE - Enum constant in enum class com.github.hypfvieh.system.LibcErrorCodes
-
Streams pipe error.
- ETIME - Enum constant in enum class com.github.hypfvieh.system.LibcErrorCodes
-
Timer expired.
- ETIMEDOUT - Enum constant in enum class com.github.hypfvieh.system.LibcErrorCodes
-
Connection timed out.
- ETOOMANYREFS - Enum constant in enum class com.github.hypfvieh.system.LibcErrorCodes
-
Too many references: cannot splice.
- ETXTBSY - Enum constant in enum class com.github.hypfvieh.system.LibcErrorCodes
-
Text file busy.
- EUCLEAN - Enum constant in enum class com.github.hypfvieh.system.LibcErrorCodes
-
Structure needs cleaning.
- EUNATCH - Enum constant in enum class com.github.hypfvieh.system.LibcErrorCodes
-
Protocol driver not attached.
- EUSERS - Enum constant in enum class com.github.hypfvieh.system.LibcErrorCodes
-
Too many users.
- EWOULDBLOCK - Enum constant in enum class com.github.hypfvieh.system.LibcErrorCodes
-
Operation would block.
- EXDEV - Enum constant in enum class com.github.hypfvieh.system.LibcErrorCodes
-
Cross-device link.
- executeBatchQuery(String, List<Object[]>, int) - Method in class com.github.hypfvieh.db.SimpleDatabaseConnector
-
Run update/inserts as batch update.
- executeQuery(String, Object...) - Method in class com.github.hypfvieh.db.SimpleDatabaseConnector
-
Executes an sql query.
- executeQuery(PreparedStatement) - Method in class com.github.hypfvieh.db.SimpleDatabaseConnector
-
Execute a previously created prepared statement (update or delete).
- executeSelectQuery(String, Object...) - Method in class com.github.hypfvieh.db.SimpleDatabaseConnector
-
Returns the result of an SQL Select-PreparedStatement as list of maps where each key in the map is a column.
- EXFULL - Enum constant in enum class com.github.hypfvieh.system.LibcErrorCodes
-
Exchange full.
- extractByRegex(String, String) - Static method in class com.github.hypfvieh.util.RegexUtil
-
Applies the regular expression to the specified string and returns all values matched by the capturing groups.
- extractByRegex(String, String, int) - Static method in class com.github.hypfvieh.util.RegexUtil
-
Applies the regular expression to the specified string and returns all values matched by the capturing groups.
- extractByRegex(String, Pattern, int) - Static method in class com.github.hypfvieh.util.RegexUtil
-
Applies the regular expression to the specified string and returns all values matched by the capturing groups.
- extractFileGzip(String, String) - Static method in class com.github.hypfvieh.util.CompressionUtil
-
Extracts a GZIP compressed file to the given outputfile.
- extractFirstByRegex(String, String) - Static method in class com.github.hypfvieh.util.RegexUtil
-
Applies the regular expression to the specified string and returns the value matched by the first capturing group or
null. - extractFirstByRegex(String, Pattern) - Static method in class com.github.hypfvieh.util.RegexUtil
-
Applies the regular expression to the specified string and returns the value matched by the first capturing group or
null.
F
- fatalError(SAXParseException) - Method in class com.github.hypfvieh.util.xml.XmlErrorHandlers.XmlErrorHandlerQuiet
- fatalError(SAXParseException) - Method in class com.github.hypfvieh.util.xml.XmlErrorHandlers.XmlErrorHandlerRuntimeException
- FIELD - Enum constant in enum class com.github.hypfvieh.util.ReflectionUtil.ReflectionType
- FILE_SEPARATOR - Static variable in class com.github.hypfvieh.util.SystemUtil
-
Character that separates components of a file path.
- FileIoUtil - Class in com.github.hypfvieh.util
- fillLine(char) - Method in class com.github.hypfvieh.formatter.TableColumnFormatter
- findFile(String, SearchOrder...) - Static method in enum class com.github.hypfvieh.common.SearchOrder
-
Search for the given filename in given
SearchOrder. - FIX_DELIM - Static variable in class com.github.hypfvieh.util.FixUtil
- FixUtil - Class in com.github.hypfvieh.util
- format(long) - Method in interface com.github.hypfvieh.util.TimeMeasure.ITimeMeasureFormat
- formatBytesHumanReadable(long, boolean) - Static method in class com.github.hypfvieh.util.SystemUtil
-
Formats a file size given in byte to something human readable.
- formatLine(String...) - Method in class com.github.hypfvieh.formatter.TableColumnFormatter
G
- get(Object) - Method in class com.github.hypfvieh.collections.BidiMap
- getAdditionalUrlArgs() - Method in class com.github.hypfvieh.db.H2ConnParms
- getAllDeclaredFields(Class<?>, String...) - Static method in class com.github.hypfvieh.util.ReflectionUtil
-
Extract all
Fields found in the given class recursively. - getAllDeclaredFieldsAnnotatedWithAny(Class<?>, Class<? extends Annotation>...) - Static method in class com.github.hypfvieh.util.ReflectionUtil
-
Extract all
Fields with any of the given annotations found in the given class recursively. - getAllDeclaredFieldsNotAnnotatedWithAny(Class<?>, Class<? extends Annotation>...) - Static method in class com.github.hypfvieh.util.ReflectionUtil
-
Extract all
Fields without any of the given annotations found in the given class recursively. - getAllDeclaredMethods(Class<?>, String...) - Static method in class com.github.hypfvieh.util.ReflectionUtil
-
Extract all
Methods found in the given class recursively. - getAllDeclaredMethodsAnnotatedWithAny(Class<?>, Class<? extends Annotation>...) - Static method in class com.github.hypfvieh.util.ReflectionUtil
-
Extract all
Methods with any of the given annotations found in the given class recursively. - getAllDeclaredMethodsNotAnnotatedWithAny(Class<?>, Class<? extends Annotation>...) - Static method in class com.github.hypfvieh.util.ReflectionUtil
-
Extract all
Methods without any of the given annotations found in the given class recursively. - getAllDeclaredNonStaticFields(Class<?>, String...) - Static method in class com.github.hypfvieh.util.ReflectionUtil
-
Extract all
Fields which are not static and do not match any of the given ignore names. - getAllDeclaredNonStaticMethods(Class<?>, String...) - Static method in class com.github.hypfvieh.util.ReflectionUtil
-
Extract all
Methods which are not static and do not match any of the given ignore names. - getAllDeclaredStaticFields(Class<?>, String...) - Static method in class com.github.hypfvieh.util.ReflectionUtil
-
Extract all
Fields which are static and do not match any of the given ignore names. - getAllDeclaredStaticMethods(Class<?>, String...) - Static method in class com.github.hypfvieh.util.ReflectionUtil
-
Extract all
Methods which are static and do not match any of the given ignore names. - 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.
- getBoolean(String, boolean) - Method in class com.github.hypfvieh.config.xml.XmlConfiguration
-
Retrieve a configuration value as boolean.
- 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.
- getDbConnection() - Method in class com.github.hypfvieh.db.SimpleDatabaseConnector
- getDbPath() - Method in class com.github.hypfvieh.db.H2ConnParms
- getDelimiterFromFixMsgStr(String) - Static method in class com.github.hypfvieh.util.FixUtil
-
Extract delimiter of FixMessageString.
- getDouble(String, double) - Method in class com.github.hypfvieh.config.xml.XmlConfiguration
-
Retrieve a configuration value as double.
- getDriverClassName() - Method in class com.github.hypfvieh.db.DbConnParms
- 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 class com.github.hypfvieh.system.LibcErrorCodes
- getFileExtension(File) - Static method in class com.github.hypfvieh.util.SystemUtil
-
Extracts the file extension (part behind last dot of a filename).
- 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.
- getFixTagValueFromString(String, char, int) - Static method in class com.github.hypfvieh.util.FixUtil
-
Get a value from a FixMessage String.
- getFixTagValueFromString(String, int) - Static method in class com.github.hypfvieh.util.FixUtil
-
Get a value from a FixMessage String.
- getHostName() - Static method in class com.github.hypfvieh.util.SystemUtil
-
Gets the host name of the local machine.
- getHostName(String) - Static method in class com.github.hypfvieh.util.NetUtil
-
Get the host name of a local address, if available.
- getInputFile() - Method in class com.github.hypfvieh.config.xml.XmlConfiguration
-
Get file which is used as input
- getInputStreamClass() - Method in enum class com.github.hypfvieh.util.CompressionUtil.CompressionMethod
- getInstance() - Static method in class com.github.hypfvieh.classloader.ComponentRegistry
- getInt(String, int) - Method in class com.github.hypfvieh.config.xml.XmlConfiguration
-
Get a configuration value as int.
- 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
- getKeyDelimiter() - Method in class com.github.hypfvieh.config.xml.XmlConfiguration
-
Get the delimiting key (default is '/').
- getMacOsMajorVersion() - Static method in class com.github.hypfvieh.util.SystemUtil
-
Tries to get the current version of MacOS/MacOS X.
- getMaxRetries() - Method in class com.github.hypfvieh.db.DbConnParms
- getOs() - Static method in class com.github.hypfvieh.util.SystemUtil
-
Determines the operating system's type and version.
- getOutputStreamClass() - Method in enum class com.github.hypfvieh.util.CompressionUtil.CompressionMethod
- getPassword() - Method in class com.github.hypfvieh.db.DbConnParms
- getReflectionClass() - Method in enum class com.github.hypfvieh.util.ReflectionUtil.ReflectionType
- 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.
- getString(String) - Method in class com.github.hypfvieh.config.xml.XmlConfiguration
-
Get the String value behind the given key.
- getString(String, String) - Method in class com.github.hypfvieh.config.xml.XmlConfiguration
-
Get the string value behind the given key or return default.
Will first try to pick up key from environment variables (if enabled),
if that fails, config will be used.
If this also fails, default is returned. - getStringList(String) - Method in class com.github.hypfvieh.config.xml.XmlConfiguration
-
Returns the results of key as ArrayList.
- getStringSet(String, Class<? extends Set>) - Method in class com.github.hypfvieh.config.xml.XmlConfiguration
-
Returns a result as Set of the given Set-Subclass.
- 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
- getUrl() - Method in class com.github.hypfvieh.db.DbConnParms
- getUrl() - Method in class com.github.hypfvieh.db.H2ConnParms
- getUser() - Method in class com.github.hypfvieh.db.DbConnParms
- 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.
- GZIP - Enum constant in enum class com.github.hypfvieh.util.CompressionUtil.CompressionMethod
H
- H2ConnParms - Class in com.github.hypfvieh.db
-
Connection parameters to the H2 database.
- H2ConnParms(String) - Constructor for class com.github.hypfvieh.db.H2ConnParms
- H2ConnParms(String, String, String) - Constructor for class com.github.hypfvieh.db.H2ConnParms
I
- 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.
- IImgHash - Interface in com.github.hypfvieh.imaging
-
Interface which must be implemented by every image hashing class.
- ImageCompare - Class in com.github.hypfvieh.imaging
- ImageCompare() - Constructor for class com.github.hypfvieh.imaging.ImageCompare
- ImgAHash - Class in com.github.hypfvieh.imaging
-
Class which implements AHash (average hash) algorithm to create hashes of images.
- ImgDHash - Class in com.github.hypfvieh.imaging
-
Class which implements the DHash (difference hash) algorithm to create hashes of images.
- ImgPHash - Class in com.github.hypfvieh.imaging
-
Class which implements PHash (perceptual hash) algorithm to create hashes of images.
- 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
-
Deprecated.
- isAutoCommit() - Method in class com.github.hypfvieh.db.SimpleDatabaseConnector
-
Returns status of autocommit option.
- isBlank(CharSequence) - Static method in class com.github.hypfvieh.util.StringUtil
-
Checks if the given String is either null or blank.
- isDbOpen() - Method in class com.github.hypfvieh.db.SimpleDatabaseConnector
-
Returns true if database has been opened.
- 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, boolean) - Static method in class com.github.hypfvieh.util.TypeUtil
-
Checks if the given string is a valid double.
- 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, 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(CharSequence) - 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
-
Check if
NativeLibraryLoaderwill 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.
- isMacOs() - Static method in class com.github.hypfvieh.util.SystemUtil
-
Checks if the running OS is a MacOS/MacOS X.
- isSupportsBatch() - Method in class com.github.hypfvieh.db.SimpleDatabaseConnector
- 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, String[]) - Static method in class com.github.hypfvieh.util.StringUtil
-
Combines the Strings in _string using _delimiter.
- join(String, List<String>) - Static method in class com.github.hypfvieh.util.StringUtil
-
Combines the Strings in _string using _delimiter.
K
- keyCount() - Method in class com.github.hypfvieh.config.xml.XmlConfiguration
-
Get the amount of nodes in config.
- 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
- LibcErrorCodes - Enum Class in com.github.hypfvieh.system
-
Enum of error codes used in various c libararies.
- LINE_SEPARATOR - Static variable in class com.github.hypfvieh.util.SystemUtil
-
Sequence used by operating system to separate lines in text files.
- 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(InputStream) - Constructor for class com.github.hypfvieh.collections.LinkedProperties
-
Constructor that reads a property list (key and element pairs) from the input byte stream.
- LinkedProperties(Properties) - Constructor for class com.github.hypfvieh.collections.LinkedProperties
- 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
Propertiesobject. - loadPropertiesFromClasspath(String, Properties) - Static method in class com.github.hypfvieh.util.FileIoUtil
-
Same as
FileIoUtil.loadPropertiesFromClasspath(String)but does not throw checked exception. - looksLikeFixMsg(String) - Static method in class com.github.hypfvieh.util.FixUtil
-
Checks if given String looks like a FIX message.
- 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.
- mask(String, String, int, int) - Static method in class com.github.hypfvieh.util.StringUtil
-
Mask the given string with the given pattern starting at given start and ending on given end of string.
- METHOD - Enum constant in enum class com.github.hypfvieh.util.ReflectionUtil.ReflectionType
N
- NameableThreadFactory - Class in com.github.hypfvieh.threads
- NameableThreadFactory(String, boolean) - Constructor for class com.github.hypfvieh.threads.NameableThreadFactory
-
Create a new ThreadFactory instance.
- 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
- newThread(Runnable) - Method in class com.github.hypfvieh.threads.NameableThreadFactory
- normalizePath(String) - Static method in class com.github.hypfvieh.util.SystemUtil
-
Normalize a file system path expression for the current OS.
- normalizePath(String, boolean) - Static method in class com.github.hypfvieh.util.SystemUtil
-
Normalize a file system path expression for the current OS.
O
- openDatabase() - Method in class com.github.hypfvieh.db.SimpleDatabaseConnector
-
Trys to open a connection to the given database parameters.
- 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
InputStreamfor it.
P
- parseXmlString(String, boolean, boolean) - Static method in class com.github.hypfvieh.util.xml.XmlUtil
-
Read the given string as XML document.
- parseXmlStringWithXsdValidation(String, boolean) - Static method in class com.github.hypfvieh.util.xml.XmlUtil
-
Loads XML from string and uses referenced XSD to validate the content.
- parseXmlStringWithXsdValidation(String, boolean, ErrorHandler) - Static method in class com.github.hypfvieh.util.xml.XmlUtil
-
Loads XML from string and uses referenced XSD to validate the content.
- printDocument(Node, OutputStream) - Static method in class com.github.hypfvieh.util.xml.XmlUtil
- put(Object, Object) - Method in class com.github.hypfvieh.collections.LinkedProperties
- put(K, V) - Method in class com.github.hypfvieh.collections.BidiMap
- 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).
- readFileToStream(File, Charset) - Static method in class com.github.hypfvieh.stream.TextFileStream
- readFileToStream(InputStream, Charset) - Static method in class com.github.hypfvieh.stream.TextFileStream
-
Returns the file as
Stream. - readFileToStream(String, Charset) - Static method in class com.github.hypfvieh.stream.TextFileStream
- readFileToString(File) - Static method in class com.github.hypfvieh.util.FileIoUtil
- readFileToString(String) - Static method in class com.github.hypfvieh.util.FileIoUtil
-
Reads a file and returns it's content as string.
- 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
Propertiesobject 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
InputStreamusing the givenCharset. - ReflectionUtil - Class in com.github.hypfvieh.util
-
Utility methods which uses reflection techniques.
- ReflectionUtil.ReflectionType - Enum Class in com.github.hypfvieh.util
-
Enum which defines which information is retrieved by reflection.
- regexMatches(String, String) - Static method in class com.github.hypfvieh.util.RegexUtil
-
Checks if the given regular expression matches the given string.
- RegexUtil - Class in com.github.hypfvieh.util
-
Utility to apply regular expressions to Strings with built-in caching.
- registerComponent(Class<?>) - Method in class com.github.hypfvieh.classloader.ComponentRegistry
-
Register a class using the Class-Object.
- registerComponent(Class<?>, String) - Method in class com.github.hypfvieh.classloader.ComponentRegistry
-
Register a class with version.
- 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
- removeAdditionalUrlArgs(String...) - Method in class com.github.hypfvieh.db.H2ConnParms
- removeValue(V) - Method in class com.github.hypfvieh.collections.BidiMap
-
Removes the mapping for a value from this map if it is present.
- repeat(String, int) - Static method in class com.github.hypfvieh.util.StringUtil
-
Repeats the given string pattern for the given times.
- 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.
- requireNonBlank(T) - Static method in class com.github.hypfvieh.util.StringUtil
- requireNonBlank(T, String) - Static method in class com.github.hypfvieh.util.StringUtil
-
Checks that the specified string is not
blank. - requireNonEmpty(T) - Static method in class com.github.hypfvieh.util.StringUtil
- requireNonEmpty(T, String) - Static method in class com.github.hypfvieh.util.StringUtil
-
Checks that the specified string is not
empty. - reset() - Method in class com.github.hypfvieh.util.TimeMeasure
-
Resets the start time to current time in milliseconds.
- resizeAndGrayScale(int, int, BufferedImage) - Method in class com.github.hypfvieh.imaging.AbstractImgHash
-
Convert the given image to grayscale and resize it to the given scale.
- rightPad(String, int, String) - Static method in class com.github.hypfvieh.util.StringUtil
-
Right-pads a string with spaces (' ').
The String is padded to the size of_size. - RollingFileUtil - Class in com.github.hypfvieh.files
-
Class to provide a simple file name rollover feature.
The output file name is specified by a file name pattern.
Supported placeholders are - RollingFileUtil() - Constructor for class com.github.hypfvieh.files.RollingFileUtil
- rot13(String) - Static method in class com.github.hypfvieh.util.StringUtil
-
Simple rot13 implementation.
S
- save() - Method in class com.github.hypfvieh.config.xml.XmlConfiguration
-
Save config file.
- save(BiConsumer<Document, OutputStream>) - Method in class com.github.hypfvieh.config.xml.XmlConfiguration
-
Save config using
BiConsumer. - SearchOrder - Enum Class in com.github.hypfvieh.common
-
Defines where to look for a library.
- setAllowKeyOverrideFromEnvironment(boolean) - Method in class com.github.hypfvieh.config.xml.XmlConfigBuilder
-
Set this to true to allow the user to override config parameters using system properties.
This means, if key foo/bar is available in config and a environment variable of the same name
exists, the value of the environment variable is used, instead of the value in config. - setAutoCommit(boolean) - Method in class com.github.hypfvieh.db.SimpleDatabaseConnector
-
Enable/Disable autocommit on database connection.
- setEnabled(boolean) - Static method in class com.github.hypfvieh.system.NativeLibraryLoader
-
Enable/Disable library loading.
- setFixTagOnMsgStr(String, int, String) - Static method in class com.github.hypfvieh.util.FixUtil
-
Tries to update a fix message by setting _tag to _value.
- setFixTagOnMsgStr(String, int, String, char) - Static method in class com.github.hypfvieh.util.FixUtil
-
Tries to update a fix message by setting _tag to _value.
- setInputFile(File, SearchOrder...) - Method in class com.github.hypfvieh.config.xml.XmlConfigBuilder
-
Set input file used for reading configuration.
- setInputFile(String, SearchOrder...) - Method in class com.github.hypfvieh.config.xml.XmlConfigBuilder
-
Set input file used for reading configuration.
- setInputStream(InputStream) - Method in class com.github.hypfvieh.config.xml.XmlConfigBuilder
-
Set
InputStreamused to read configuration file. - setKeyDelimiter(String) - Method in class com.github.hypfvieh.config.xml.XmlConfigBuilder
-
Set the delimiter used to delimit XML nodes.
By default "/" is used, which means all pathes have to be expressed like:
foo/bar/baz - setKeyDelimiter(String) - Method in class com.github.hypfvieh.config.xml.XmlConfiguration
-
Set the delimiting key.
If null is given, default ('/') will be used. - setOutputFile(File) - Method in class com.github.hypfvieh.config.xml.XmlConfigBuilder
-
Set output file used for saving.
- setOutputFile(String) - Method in class com.github.hypfvieh.config.xml.XmlConfigBuilder
-
Set output file used for saving.
- setOutputStream(OutputStream) - Method in class com.github.hypfvieh.config.xml.XmlConfigBuilder
-
Set
OutputStreamused to save configuration file. - setSkipRoot(boolean) - Method in class com.github.hypfvieh.config.xml.XmlConfigBuilder
-
Set this to true to ignore the first level of nodes inside the config.
Usually each XML is starting with a single node (e.g. - setString(String, boolean, String) - Method in class com.github.hypfvieh.config.xml.XmlConfiguration
-
Set string value of given key
- setUtcTimestamp(int) - Method in class com.github.hypfvieh.util.SimpleFixMessageBuilder
- setUtcTimestamp(int, ZonedDateTime) - Method in class com.github.hypfvieh.util.SimpleFixMessageBuilder
- setValue(int, Object) - Method in class com.github.hypfvieh.util.SimpleFixMessageBuilder
-
Set/add tag value to FIX message to be created.
- setValue(int, Object, boolean) - Method in class com.github.hypfvieh.util.SimpleFixMessageBuilder
-
Set/add tag value to FIX message to be created.
- setValues(Map<String, String>, boolean) - Method in class com.github.hypfvieh.config.xml.XmlConfiguration
-
Set keys found in map to value found in map.
- setXmlErrorHandler(ErrorHandler) - Method in class com.github.hypfvieh.config.xml.XmlConfigBuilder
-
Set the
ErrorHandlerused by the XML parser to handle XML errors.
By default a 'quiet' handler is used (suppressing all errors).
Use null here to disable validation. - SimpleDatabaseConnector - Class in com.github.hypfvieh.db
-
Simple class to allow connection to any JDBC compatible database.
- SimpleDatabaseConnector(DbConnParms) - Constructor for class com.github.hypfvieh.db.SimpleDatabaseConnector
- SimpleFixMessageBuilder - Class in com.github.hypfvieh.util
-
Builder to create a FIX message without using any proprietary API.
- SimpleFixMessageBuilder() - Constructor for class com.github.hypfvieh.util.SimpleFixMessageBuilder
- 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.
String will be splitted by space and then recombined until each line has the given length or less than the given length, if the next token would cause the line to be longer than requested It is ensured that each line has a maximum length of _len, it could be short but never longer. - snakeToCamelCase(String) - Static method in class com.github.hypfvieh.util.StringUtil
-
Converts a snake-case-string to camel case string.
- split(String) - Static method in class com.github.hypfvieh.util.StringUtil
-
Split string by whitespace.
- split(String, char) - Static method in class com.github.hypfvieh.util.StringUtil
-
Split a String by the given delimiting char.
- split(String, String) - Static method in class com.github.hypfvieh.util.StringUtil
-
Split a String by the given delimiting char.
- splitByRegex(String, String) - Static method in class com.github.hypfvieh.util.RegexUtil
-
Splits the given input string using the given regular expression.
- splitByRegex(String, String, int) - Static method in class com.github.hypfvieh.util.RegexUtil
-
Splits the given input string using the given regex.
- 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.
- splitListToSubLists(List<T>, int) - Static method in class com.github.hypfvieh.util.TypeUtil
-
Splits a given list to _listCount subLists.
- 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.
- splitToList(String, char) - Static method in class com.github.hypfvieh.util.StringUtil
-
Split given String using given delimiting char.
- splitToList(String, String) - Static method in class com.github.hypfvieh.util.StringUtil
-
Split given String using the given delimiting string.
- SslTlsUtil - Class in com.github.hypfvieh.util
-
Helper class to setup SSL/TLS related settings.
- startsWithAny(boolean, String, String...) - Static method in class com.github.hypfvieh.util.StringUtil
-
Checks if given string in _str starts with any of the given strings in _args.
- startsWithAny(String, String...) - Static method in class com.github.hypfvieh.util.CompareUtil
-
Checks if given String starts with any of the other given parameters.
- StringSplitOperator - Interface in com.github.hypfvieh.formatter
-
Represents string split operation into a list of tokens where each token has as maximum length.
- 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, for removal: This API element is subject to removal in a future version.
- strToInt(String) - Static method in class com.github.hypfvieh.util.ConverterUtil
-
Convert given String to Integer, returns null if String is not an integer.
- 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.
- SYSTEM_PATH - Enum constant in enum class com.github.hypfvieh.common.SearchOrder
-
Look in system path (e.g.
- SystemUtil - Class in com.github.hypfvieh.util
-
Utility-Class with various operating system related helper methods.
T
- TableColumnFormatter - Class in com.github.hypfvieh.formatter
-
Formats table content into lines of columns of a given character width.
- TableColumnFormatter(StringSplitOperator, char, int...) - Constructor for class com.github.hypfvieh.formatter.TableColumnFormatter
- TableColumnFormatter(StringSplitOperator, int...) - Constructor for class com.github.hypfvieh.formatter.TableColumnFormatter
- TextFileStream - Class in com.github.hypfvieh.stream
-
Class to read a Textfile in a
Stream<String> and do stream operations on it. - throwIfAnyNull(String, Object...) - Static method in class com.github.hypfvieh.util.CompareUtil
-
Throws a
NullPointerExceptionif any of the given objects isnull. - throwIfAnyNull(String, Object...) - Static method in class com.github.hypfvieh.util.TypeUtil
-
Deprecated.
- TimeMeasure - Class in com.github.hypfvieh.util
-
Utility class for time measurements.
- TimeMeasure() - Constructor for class com.github.hypfvieh.util.TimeMeasure
-
Create a new instance, used a formatter converting everything >= 5000 ms to seconds (X.Y -> 6.1).
- TimeMeasure(TimeMeasure.ITimeMeasureFormat) - Constructor for class com.github.hypfvieh.util.TimeMeasure
-
Create a new instance using _ts millis as
- TimeMeasure.ITimeMeasureFormat - Interface in com.github.hypfvieh.util
- TMP_DIR - Static variable in class com.github.hypfvieh.util.SystemUtil
-
The system's temporary-file directory.
- toElement(Node) - Static method in class com.github.hypfvieh.util.xml.XmlUtil
- 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.db.DbConnParms
- toString() - Method in class com.github.hypfvieh.db.SimpleDatabaseConnector
- 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.
- updateFixBodyLength(String) - Static method in class com.github.hypfvieh.util.FixUtil
-
Calculates the bodylength of a messages and writes it to tag 9.
- updateFixCheckSum(String) - Static method in class com.github.hypfvieh.util.FixUtil
-
Sets the correct checksum in tag 10.
- 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 class com.github.hypfvieh.common.SearchOrder
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.github.hypfvieh.system.LibcErrorCodes
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.github.hypfvieh.util.CompressionUtil.CompressionMethod
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.github.hypfvieh.util.ReflectionUtil.ReflectionType
-
Returns the enum constant of this class with the specified name.
- values() - Method in class com.github.hypfvieh.collections.BidiMap
- values() - Static method in enum class com.github.hypfvieh.common.SearchOrder
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.github.hypfvieh.system.LibcErrorCodes
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.github.hypfvieh.util.CompressionUtil.CompressionMethod
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.github.hypfvieh.util.ReflectionUtil.ReflectionType
-
Returns an array containing the constants of this enum class, in the order they are declared.
W
- warning(SAXParseException) - Method in class com.github.hypfvieh.util.xml.XmlErrorHandlers.XmlErrorHandlerQuiet
- warning(SAXParseException) - Method in class com.github.hypfvieh.util.xml.XmlErrorHandlers.XmlErrorHandlerRuntimeException
- 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, boolean) - Static method in class com.github.hypfvieh.util.FileIoUtil
-
Write String to file with the java default charset (usually UTF-8).
- writeTextFile(String, String, Charset, boolean) - Static method in class com.github.hypfvieh.util.FileIoUtil
-
Write String to file with the given charset.
X
- XmlConfigBuilder - Class in com.github.hypfvieh.config.xml
-
Builder for
XmlConfiguration. - XmlConfigBuilder() - Constructor for class com.github.hypfvieh.config.xml.XmlConfigBuilder
- XmlConfiguration - Class in com.github.hypfvieh.config.xml
-
Slim replacement for commons-configuration2 XMLConfiguration.
- XmlErrorHandlerQuiet() - Constructor for class com.github.hypfvieh.util.xml.XmlErrorHandlers.XmlErrorHandlerQuiet
- XmlErrorHandlerRuntimeException() - Constructor for class com.github.hypfvieh.util.xml.XmlErrorHandlers.XmlErrorHandlerRuntimeException
- XmlErrorHandlers - Class in com.github.hypfvieh.util.xml
-
Sample ErrorHandlers for XML Parsing.
- XmlErrorHandlers() - Constructor for class com.github.hypfvieh.util.xml.XmlErrorHandlers
- XmlErrorHandlers.XmlErrorHandlerQuiet - Class in com.github.hypfvieh.util.xml
-
XML Error Handler which will silently ignore all thrown Exceptions.
- XmlErrorHandlers.XmlErrorHandlerRuntimeException - Class in com.github.hypfvieh.util.xml
-
XML Error Handler which will throw RuntimeException if any Exception was thrown.
- XmlUtil - Class in com.github.hypfvieh.util.xml
-
Assorted static XML utility methods.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
CompareUtil.equalsOne(Object, Object...)