A B C D E F G H I L M N O P R S T U V
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- absolute() - Method in class org.tentackle.common.BMoney
-
Gets the absolute value.
- absolute() - Method in class org.tentackle.common.DMoney
- add(BMoney) - Method in class org.tentackle.common.BMoney
-
Adds a BMoney to this value and returns a new object.
- add(BMoney) - Method in class org.tentackle.common.DMoney
- addExplicitClassLoader(String, String, ClassLoader) - Static method in class org.tentackle.common.ServiceFactory
-
Adds an explict classloader for a given service path and name.
Loaders are kept in a linked list for each path and name combination. - addExplicitClassLoaderImpl(String, String, ClassLoader) - Method in class org.tentackle.common.ServiceFactory
-
Adds an explict classloader for a given service path and name.
Loaders are kept in a linked list for each path and name combination. - alignScale(BMoney) - Method in class org.tentackle.common.BMoney
-
Check the scale of the given money value.
- AN_CLASSID - Static variable in class org.tentackle.common.Constants
-
java name class-ID.
- AN_EDITEDBY - Static variable in class org.tentackle.common.Constants
-
java name of the editing user.
- AN_EDITEDEXPIRY - Static variable in class org.tentackle.common.Constants
-
java name of time "lock token" will expire.
- AN_EDITEDSINCE - Static variable in class org.tentackle.common.Constants
-
java name of time editing started.
- AN_ID - Static variable in class org.tentackle.common.Constants
-
java name of ID.
- AN_NORMTEXT - Static variable in class org.tentackle.common.Constants
-
java name for the normtext.
- AN_ROOTCLASSID - Static variable in class org.tentackle.common.Constants
-
java name root-class-ID.
- AN_ROOTID - Static variable in class org.tentackle.common.Constants
-
java name root-ID.
- AN_SERIAL - Static variable in class org.tentackle.common.Constants
-
java name of serial.
- AN_TABLESERIAL - Static variable in class org.tentackle.common.Constants
-
java name of tableserial.
- Analyze - Annotation Type in org.tentackle.common
-
Annotation to mark an annotation to be processed during the analyze-phase.
- AnnotationProcessor - Annotation Type in org.tentackle.common
-
Annotation to express that the annotated class is an annotation processor.
- appliesTo(Throwable) - Method in class org.tentackle.common.ExceptionHelper.Handler
-
Checks if handler applies to the given exception.
- apply(String) - Method in class org.tentackle.common.Cryptor
-
Encrypts a string.
Provided for the tentackle-maven-plugin. - apply(String) - Method in class org.tentackle.common.DefaultStringNormalizer
-
Normalizes a string (phonetically) for use as PDO.normText.
- applyResourceIndex(ClassLoader, String, boolean) - Static method in class org.tentackle.common.ServiceFactory
-
Apply a given resource index.
The index is usually created via the tentackle-maven-plugin's analyze goal with the index option set to something like"META-INF/RESOURCES-INDEX.LIST". - applyResourceIndexImpl(ClassLoader, String, boolean) - Method in class org.tentackle.common.ServiceFactory
-
Apply a given resource index.
The index is usually created via the tentackle-maven-plugin's analyze goal with the index option set to something like"META-INF/RESOURCES-INDEX.LIST". - assertCurrentLocaleValid() - Method in class org.tentackle.common.LocaleProvider
-
Asserts that a thread local Locale is set.
B
- BACKEND_DRIVER - Static variable in class org.tentackle.common.Constants
-
explicit driver name and url to load it from <name:url>.
- BACKEND_INFO - Static variable in class org.tentackle.common.Constants
-
Optional backend configuration.
Useful to define extra technical user credentials for the physical connection, to load JDBC-drivers at runtime or to switch between different backends. - BACKEND_INFO_SYSTEM - Static variable in class org.tentackle.common.Constants
-
Value of backendinfo to allow selecting the backend (see Login in fx-rdc) using system preferences.
If the value is followed by a colon and a name, that name is treated as theBackendConfiguration. - BACKEND_INFO_USER - Static variable in class org.tentackle.common.Constants
-
Value of backendinfo to allow selecting the backend (see Login in fx-rdc) using user preferences.
If the value is followed by a colon and a name, that name is treated as theBackendConfiguration. - BACKEND_JDBC_URL_INTRO - Static variable in class org.tentackle.common.Constants
-
intro in URL to denote a JDBC connection.
- BACKEND_JNDI_URL_INTRO - Static variable in class org.tentackle.common.Constants
-
intro in URL to denote a JNDI connection.
- BACKEND_PASSWORD - Static variable in class org.tentackle.common.Constants
-
property key for the password.
- BACKEND_PROPS - Static variable in class org.tentackle.common.Constants
-
name of property file holding the backend properties.
- BACKEND_RMI_URL_INTRO - Static variable in class org.tentackle.common.Constants
-
intro in URL to denote a remote connection.
- BACKEND_SCHEMAS - Static variable in class org.tentackle.common.Constants
-
property key for the optional schemas.
- BACKEND_URL - Static variable in class org.tentackle.common.Constants
-
property key for the backend URL.
- BACKEND_USER - Static variable in class org.tentackle.common.Constants
-
property key for username.
- Binary<T extends java.io.Serializable> - Class in org.tentackle.common
-
Datatype for storing arbitrary (binary) data in a database.
- Binary() - Constructor for class org.tentackle.common.Binary
-
Creates an empty binary.
- Binary(T) - Constructor for class org.tentackle.common.Binary
-
Creates a Binary from a
Serializable. - BIND_AUTOSELECT - Static variable in class org.tentackle.common.Constants
-
bind option autoselect field.
- BIND_COLS - Static variable in class org.tentackle.common.Constants
-
bind option COLS = ...
- BIND_DIGITS - Static variable in class org.tentackle.common.Constants
-
bind option digits only.
- BIND_LC - Static variable in class org.tentackle.common.Constants
-
bind option lowercase.
- BIND_LINES - Static variable in class org.tentackle.common.Constants
-
bind option LINES = ...
- BIND_MAXCOLS - Static variable in class org.tentackle.common.Constants
-
bind option MAXCOLS = ...
- BIND_SCALE - Static variable in class org.tentackle.common.Constants
-
bind option SCALE = ...
- BIND_UC - Static variable in class org.tentackle.common.Constants
-
bind option uppercase.
- BIND_UNSIGNED - Static variable in class org.tentackle.common.Constants
-
bind option UNSIGNED.
- BIND_UTC - Static variable in class org.tentackle.common.Constants
-
bind timestamp with UTC option.
- blank(char[]) - Static method in class org.tentackle.common.StringHelper
-
Null-safe char array filler.
Fills with blanks. - BMoney - Class in org.tentackle.common
-
Money value derived from BigDecimal.
A money value has a distinct and fixed scale that cannot change. - BMoney() - Constructor for class org.tentackle.common.BMoney
-
Creates a zero BMoney with a scale according to the currency of the current locale.
- BMoney(double, int) - Constructor for class org.tentackle.common.BMoney
-
Creates a BMoney value.
- BMoney(int) - Constructor for class org.tentackle.common.BMoney
-
Creates a zero BMoney value.
- BMoney(String, int) - Constructor for class org.tentackle.common.BMoney
-
Creates a BMoney value.
- BMoney(BigDecimal) - Constructor for class org.tentackle.common.BMoney
-
Creates a BMoney from a BigDecimal (userful for SQL)
- BMoney(BigInteger, int) - Constructor for class org.tentackle.common.BMoney
-
Creates a BMoney value from a BigInteger.
The scale sets the comma within the given integer. - BMoney(BMoney, int) - Constructor for class org.tentackle.common.BMoney
-
Creates a BMoney from a BMoney (useful to rescale)
- BMONEY_DIGITS - Static variable in class org.tentackle.common.Constants
-
maximum number of significant digits for BMoney.
- Bundle - Annotation Type in org.tentackle.common
-
Annotation to express that the annotated class corresponds to a resource bundle.
- BUNDLE_SERVICE - Static variable in class org.tentackle.common.BundleSupport
-
The service name to find all annotations to mark classes as bundles.
Such as @Bundle or @FxControllerService. - BUNDLE_SERVICE_PATH - Static variable in class org.tentackle.common.Constants
-
the directory for resource bundle names.
- BundleFactory - Interface in org.tentackle.common
-
The resource bundle factory.
- BundleSupport - Class in org.tentackle.common
-
Support to locate bundle services.
For annotations providing bundle support, a META-INF/service entry must be created manually in order to be processed by the BundleFactory at runtime as well as the analyze-, checker and i18n maven plugins at build time. - BundleSupport(ModuleInfo, String, String) - Constructor for class org.tentackle.common.BundleSupport
-
Creates a bundle support object.
C
- ClasspathFirst - Annotation Type in org.tentackle.common
-
Annotation to override a service on the modulepath from the classpath.
- clearCache() - Method in interface org.tentackle.common.BundleFactory
-
Clears the bundle cache.
- clearCache() - Method in class org.tentackle.common.DefaultBundleFactory
- clone() - Method in class org.tentackle.common.Binary
- clone() - Method in class org.tentackle.common.BMoney
-
Clones a BMoney value.
- clone() - Method in class org.tentackle.common.Date
- clone() - Method in class org.tentackle.common.Time
- clone() - Method in class org.tentackle.common.Timestamp
- CN_CLASSID - Static variable in class org.tentackle.common.Constants
-
name of class-ID column.
- CN_EDITEDBY - Static variable in class org.tentackle.common.Constants
-
the object ID of the user currently editing this object.
- CN_EDITEDEXPIRY - Static variable in class org.tentackle.common.Constants
-
time when "lock token" will expire.
- CN_EDITEDSINCE - Static variable in class org.tentackle.common.Constants
-
time when editing started.
- CN_ID - Static variable in class org.tentackle.common.Constants
-
name of ID column.
- CN_NORMTEXT - Static variable in class org.tentackle.common.Constants
-
column name for the normtext.
- CN_ROOTCLASSID - Static variable in class org.tentackle.common.Constants
-
name of root-class-ID column.
- CN_ROOTID - Static variable in class org.tentackle.common.Constants
-
name of root-ID column.
- CN_SERIAL - Static variable in class org.tentackle.common.Constants
-
name of serial column.
- CN_TABLESERIAL - Static variable in class org.tentackle.common.Constants
-
name of tableserial column.
- CommonCommonBundle - Class in org.tentackle.common
-
Bundle for common-package in tentackle-common.
- compare(T, T) - Static method in class org.tentackle.common.Compare
-
Compares two objects.
nullis being treated as smallest value. - Compare - Class in org.tentackle.common
-
Some handy static methods to compare two Comparables even if one or both are null-pointers.
- compareWithNullLargest(T, T) - Static method in class org.tentackle.common.Compare
-
Compares two objects.
nullis being treated as largest value. - concatenateMessages(Throwable) - Static method in class org.tentackle.common.ExceptionHelper
-
Concatenates the messages of an exception chain.
- Constants - Class in org.tentackle.common
-
Class holding constants for build- and runtime.
- copy(File, File) - Static method in class org.tentackle.common.FileHelper
-
Copies a file.
- countOccurrences(String, char) - Static method in class org.tentackle.common.StringHelper
-
Counts the number of occurrences of a given character in a string.
- create(List<E>, List<P>) - Method in interface org.tentackle.common.PathFactory
-
Creates a new path from elements and continuation paths.
- create(List<E>, P) - Method in interface org.tentackle.common.PathFactory
-
Creates a new path by prepending elements to an existing path.
- createBinary(InputStream, int, boolean) - Static method in class org.tentackle.common.Binary
-
Creates a Binary out of an InputStream.
- createFrozen(long) - Static method in class org.tentackle.common.Date
-
Creates a frozen date.
- createFrozen(long) - Static method in class org.tentackle.common.Time
-
Creates a frozen time.
- createFrozen(long, int) - Static method in class org.tentackle.common.Timestamp
-
Creates a frozen timestamp.
- createInputStream(Class<?>, String) - Static method in class org.tentackle.common.FileHelper
-
Creates an input stream from a resource.
- createNameMap(String) - Method in class org.tentackle.common.DefaultServiceFinder
-
Creates a map of classnames to mapped services.
- createNameMap(String) - Method in interface org.tentackle.common.ServiceFinder
-
Creates a map of names to mapped services.
- createNameMapToAll(String) - Method in class org.tentackle.common.DefaultServiceFinder
-
Creates a map of names to all mapped services.
- createNameMapToAll(String) - Method in interface org.tentackle.common.ServiceFinder
-
Creates a map of names to all mapped services.
- createProviders() - Method in class org.tentackle.common.DefaultBundleFactory
-
Creates a list of providers.
- createSecretKeySpec(byte[]) - Method in class org.tentackle.common.Cryptor
-
Creates the key spec.
The default implementation returns anAESspec. - createService(Class<T>) - Static method in class org.tentackle.common.ServiceFactory
-
Utility method to create a service instance.
This is the standard way to instantiate singletons. - createService(Class<T>, Class<? extends T>) - Static method in class org.tentackle.common.ServiceFactory
-
Utility method to create a service instance with a default if not found.
- createService(Class<T>, Class<? extends T>, boolean) - Static method in class org.tentackle.common.ServiceFactory
-
Utility method to create a service instance with a default if not found.
- createServiceClass(Class<T>) - Static method in class org.tentackle.common.ServiceFactory
-
Utility method to create a service instance.
This is the standard way to instantiate singletons. - Cryptor - Class in org.tentackle.common
-
A simple en- and decryptor.
Each application should provide a concrete instance with a confidential salt and passphase and a no-arg constructor. - Cryptor(byte[], char[]) - Constructor for class org.tentackle.common.Cryptor
-
Creates a cryptor with 1024 iterations and a key strength of 256.
Notice that salt and passphrase will be scratched for security reasons. - Cryptor(byte[], char[], int, int) - Constructor for class org.tentackle.common.Cryptor
-
Creates a cryptor.
Notice that salt and passphrase will be scratched for security reasons. - Cryptor(String, String) - Constructor for class org.tentackle.common.Cryptor
-
Creates a cryptor with 1024 iterations and a key strength of 256.
This is just a convenience method.
D
- Date - Class in org.tentackle.common
-
Date with database semantics.
- Date() - Constructor for class org.tentackle.common.Date
-
Creates the current date.
- Date(long) - Constructor for class org.tentackle.common.Date
-
Constructs a
Dateobject using the given milliseconds time value. - DATE - Static variable in class org.tentackle.common.Version
-
the build timestamp
- DAY_MS - Static variable in class org.tentackle.common.Constants
-
a day in milliseconds.
- decrypt(byte[]) - Method in class org.tentackle.common.Cryptor
-
Decrypts the data.
- decrypt64(String) - Method in class org.tentackle.common.Cryptor
-
Decrypts a base64 encoded string.
- decrypt64ToBytes(String) - Method in class org.tentackle.common.Cryptor
-
Decrypts a base64 encoded string.
- decrypt64ToChars(String) - Method in class org.tentackle.common.Cryptor
-
Decrypts a base64 encoded string.
The method clears all traces in memory. - decryptToChars(byte[]) - Method in class org.tentackle.common.Cryptor
-
Decrypts encrypted data to chars.
- DEFAULT_SERVICE_PATH - Static variable in class org.tentackle.common.Constants
-
the directory for default service provider configurations.
- DefaultBundleFactory - Class in org.tentackle.common
-
Default implementation of a bundle factory.
- DefaultBundleFactory() - Constructor for class org.tentackle.common.DefaultBundleFactory
-
Creates the bundle factory.
- DefaultServiceFinder - Class in org.tentackle.common
-
Default implementation of a
ServiceFinder. - DefaultServiceFinder() - Constructor for class org.tentackle.common.DefaultServiceFinder
-
Creates a default service finder.
The classloader used isThread.currentThread().getContextClassLoader().
The servicepath is"META_INF/services/". - DefaultServiceFinder(ClassLoader, String) - Constructor for class org.tentackle.common.DefaultServiceFinder
-
Creates a service finder.
- DefaultServiceFinder(String) - Constructor for class org.tentackle.common.DefaultServiceFinder
-
Creates a default service finder.
The classloader used isThread.currentThread().getContextClassLoader(). - DefaultStringNormalizer - Class in org.tentackle.common
-
The default normalizer (works sufficiently for most western languages).
- DefaultStringNormalizer() - Constructor for class org.tentackle.common.DefaultStringNormalizer
-
Creates normalizer.
With a comma as the field separator. - DefaultStringNormalizer(char) - Constructor for class org.tentackle.common.DefaultStringNormalizer
-
Creates a normalizer.
- DIGITS - Static variable in class org.tentackle.common.Constants
-
All digits in a string.
- digitToString(Character) - Static method in class org.tentackle.common.StringHelper
-
Gets the word-string for a digit.
Example: - divide(double) - Method in class org.tentackle.common.BMoney
-
Divides a BMoney by double and returns a new object.
- divide(double) - Method in class org.tentackle.common.DMoney
- divide(BMoney) - Method in class org.tentackle.common.BMoney
-
Divides a BMoney by this value and returns a new object.
- DMoney - Class in org.tentackle.common
-
A DMoney is the same as a BMoney but will be treated differently when stored in the database.
A BMoney is stored as a DOUBLE for the value and an INTEGER for the scale. - DMoney() - Constructor for class org.tentackle.common.DMoney
-
Creates a zero DMoney with a scale ccording to the currency of the current locale.
- DMoney(double, int) - Constructor for class org.tentackle.common.DMoney
-
Creates a DMoney value.
- DMoney(int) - Constructor for class org.tentackle.common.DMoney
-
Creates a zero DMoney value.
- DMoney(String, int) - Constructor for class org.tentackle.common.DMoney
-
Creates a DMoney value.
- DMoney(BigDecimal) - Constructor for class org.tentackle.common.DMoney
-
Creates a DMoney from a BigDecimal (userful for SQL)
- DMoney(BigInteger, int) - Constructor for class org.tentackle.common.DMoney
-
Creates a DMoney value from a BigInteger.
The scale sets the comma within the given integer. - DMoney(BMoney, int) - Constructor for class org.tentackle.common.DMoney
-
Creates a DMoney from a BMoney (useful to rescale)
- DMONEY_DIGITS - Static variable in class org.tentackle.common.Constants
-
maximum number of significant digits for DMoney.
- download(URL) - Static method in class org.tentackle.common.FileHelper
-
Downloads data from a URL into memory.
E
- encrypt(byte[]) - Method in class org.tentackle.common.Cryptor
-
Encrypts the data.
- encrypt(byte[], int, int) - Method in class org.tentackle.common.Cryptor
-
Encrypts the data.
- encrypt(char[]) - Method in class org.tentackle.common.Cryptor
-
Encrypts a char array.
The method clears all traces in memory, including the passed char array. - encrypt64(byte[]) - Method in class org.tentackle.common.Cryptor
-
Encrypts data to base64 encoding.
- encrypt64(char[]) - Method in class org.tentackle.common.Cryptor
-
Encrypts a char array to base64 encoding.
The method clears all traces in memory, including the passed char array. - encrypt64(String) - Method in class org.tentackle.common.Cryptor
-
Encrypts a string to base64 encoding.
- equals(Object) - Method in class org.tentackle.common.Binary
- equals(Object) - Method in class org.tentackle.common.ServiceFinderKey
- equalsIgnoreCase(String, String) - Static method in class org.tentackle.common.StringHelper
-
Null safe
String.equalsIgnoreCase(String). - ExceptionHelper - Class in org.tentackle.common
-
Helper methods dealing with exceptions.
- ExceptionHelper.Handler<T extends java.lang.Throwable> - Class in org.tentackle.common
-
Exception handler.
- extractException(boolean, Throwable, Class<? extends Throwable>...) - Static method in class org.tentackle.common.ExceptionHelper
-
Extracts any of the given exception types from an exception chain.
- extractException(Class<T>, boolean, Throwable) - Static method in class org.tentackle.common.ExceptionHelper
-
Extracts the given exception type from an exception chain.
F
- FileHelper - Class in org.tentackle.common
-
Helper methods for file handling.
- fill(char[], char) - Static method in class org.tentackle.common.StringHelper
-
Null-safe char array filler.
- fillLeft(String, int, char) - Static method in class org.tentackle.common.StringHelper
-
Fills up a string from the left with a filler character to match a given length.
If the string is already longer, nothing happens. - fillRight(String, int, char) - Static method in class org.tentackle.common.StringHelper
-
Fills up a string to the right with a filler character to match a given length.
If the string is already longer, nothing happens. - filterStackTrace(StackTraceElement[]) - Static method in class org.tentackle.common.ExceptionHelper
-
Filters a given stacktrace skipping all noisy elements without relevant information for the developer.
- findBundle(String, Locale) - Method in interface org.tentackle.common.BundleFactory
-
Finds a resource bundle using the specified base name and locale, and the caller's class loader.
- findBundle(String, Locale) - Method in class org.tentackle.common.DefaultBundleFactory
- findBundle(String, Locale, ClassLoader) - Method in interface org.tentackle.common.BundleFactory
-
Finds a resource bundle using the specified base name, locale, and class loader.
- findBundle(String, Locale, ClassLoader) - Method in class org.tentackle.common.DefaultBundleFactory
- findFirstServiceConfiguration(String) - Method in class org.tentackle.common.DefaultServiceFinder
-
Finds the first service configurations by service name.
If similar configurations appear more than once on the classpath, the first is returned. - findFirstServiceConfiguration(String) - Method in interface org.tentackle.common.ServiceFinder
-
Finds the first service configurations by service name.
If similar configurations appear more than once on the classpath, the first is returned. - findFirstServiceProvider(Class<T>) - Method in class org.tentackle.common.DefaultServiceFinder
-
Finds the first service provider by service name.
If similar configurations appear more than once on the classpath, the first is returned. - findFirstServiceProvider(Class<T>) - Method in interface org.tentackle.common.ServiceFinder
-
Finds the first service provider by service name.
If similar configurations appear more than once on the classpath, the first is returned. - findServiceConfigurations(String) - Method in class org.tentackle.common.DefaultServiceFinder
-
Finds service configurations by service name.
Iterations over the returned map are ordered by discovery along the classpath. - findServiceConfigurations(String) - Method in interface org.tentackle.common.ServiceFinder
-
Finds service configurations by service name.
Iterations over the returned map are ordered by discovery along the classpath. - findServiceProviders(Class<T>) - Method in class org.tentackle.common.DefaultServiceFinder
-
Finds the service providers by service names.
- findServiceProviders(Class<T>) - Method in interface org.tentackle.common.ServiceFinder
-
Finds the service providers by service names.
- findServiceURLs(String) - Method in class org.tentackle.common.DefaultServiceFinder
-
Finds URLs of a service by name.
- findServiceURLs(String) - Method in interface org.tentackle.common.ServiceFinder
-
Finds URLs of a service by name.
- findUniqueServiceConfiguration(String) - Method in class org.tentackle.common.DefaultServiceFinder
-
Finds a unique service configurations by service name.
It is checked that the service is defined exactly once. - findUniqueServiceConfiguration(String) - Method in interface org.tentackle.common.ServiceFinder
-
Finds a unique service configurations by service name.
It is checked that the service is defined exactly once. - findUniqueServiceProvider(Class<T>) - Method in class org.tentackle.common.DefaultServiceFinder
-
Finds the unique service provider by service class.
- findUniqueServiceProvider(Class<T>) - Method in interface org.tentackle.common.ServiceFinder
-
Finds the unique service provider by service name.
- firstBefore(String, char) - Static method in class org.tentackle.common.StringHelper
-
Gets the part of a string before a given delimiter.
- firstLine(String) - Static method in class org.tentackle.common.StringHelper
-
Gets the first line from a multi-line string.
- firstToLower(String) - Static method in class org.tentackle.common.StringHelper
-
Converts the first character of string to uppercase.
- firstToUpper(String) - Static method in class org.tentackle.common.StringHelper
-
Converts the first character of string to uppercase.
- Freezable - Interface in org.tentackle.common
-
A freezable object.
- freeze() - Method in class org.tentackle.common.Binary
- freeze() - Method in class org.tentackle.common.Date
- freeze() - Method in interface org.tentackle.common.Freezable
-
Makes this object immutable.
- freeze() - Method in class org.tentackle.common.Time
- freeze() - Method in class org.tentackle.common.Timestamp
- freeze(Freezable) - Static method in interface org.tentackle.common.Freezable
-
Freezes a value object null-safe.
Method provided to reduce generated code.
G
- getArchitecture() - Static method in class org.tentackle.common.StringHelper
-
Gets the name of the architecture from the system properties.
- getBundle() - Static method in class org.tentackle.common.CommonCommonBundle
-
Gets the bundle.
- getBundle(String) - Static method in interface org.tentackle.common.BundleFactory
-
Gets a resource bundle using the specified base name, the default locale, and the caller's class loader.
Replacement forResourceBundle.getBundle(java.lang.String). - getBundle(String, Locale) - Static method in interface org.tentackle.common.BundleFactory
-
Gets a resource bundle using the specified base name and locale, and the caller's class loader.
Replacement forResourceBundle.getBundle(java.lang.String, java.util.Locale). - getBundle(String, Locale) - Method in class org.tentackle.common.service.Hook
- getBundle(String, Locale, ClassLoader) - Static method in interface org.tentackle.common.BundleFactory
-
Gets a resource bundle using the specified base name, locale, and class loader.
Replacement forResourceBundle.getBundle(java.lang.String, java.util.Locale, java.lang.ClassLoader). - getBundle(BundleSupport, Locale) - Method in class org.tentackle.common.DefaultBundleFactory
-
Gets the bundle from the corresponding module according to the bundle support.
- getBundleName() - Method in class org.tentackle.common.BundleSupport
-
Gets the bundle name.
- getBundles(ClassLoader) - Static method in class org.tentackle.common.BundleSupport
-
Finds all bundle services.
- getCalendar() - Method in class org.tentackle.common.Date
-
Gets the calendar for this date.
- getCalendar() - Method in class org.tentackle.common.Time
-
Gets the calendar for this date.
- getCalendar() - Method in class org.tentackle.common.Timestamp
-
Gets the calendar for this date.
- getCipher() - Method in class org.tentackle.common.Cryptor
-
Gets the cipher instance.
The default implementation returns anAEScipher. - getClassLoader() - Method in interface org.tentackle.common.BundleFactory
-
Gets the classloader to load the bundles.
- getClassLoader() - Method in class org.tentackle.common.DefaultBundleFactory
- getClassLoader() - Method in class org.tentackle.common.DefaultServiceFinder
-
Gets the classloader used by this finder.
- getClassLoader() - Method in class org.tentackle.common.ServiceFactory
-
Gets the default classloader.
The classloader to use is determined as follows: use the fixed classloader set byServiceFactory.setFixedClassLoader(java.lang.ClassLoader), if not null else tryThread.currentThread().getContextClassLoader()if the context classloader is null, use the classloader that loaded the service factory - getClassLoader() - Method in interface org.tentackle.common.ServiceFinder
-
Gets the default classloader used by this finder.
- getClassLoader() - Method in class org.tentackle.common.ServiceFinderKey
-
Gets the classloader.
- getClassLoader(String) - Method in class org.tentackle.common.DefaultServiceFinder
-
Gets the classloader for the given service name.
- getClassLoader(String, String) - Static method in class org.tentackle.common.ServiceFactory
-
Gets the classloader for a given service path and name.
If an explicit classloader is set, the last defined classloader for the given path and name is returned. - getClassLoaderImpl(String, String) - Method in class org.tentackle.common.ServiceFactory
-
Gets the classloader for a given service path and name.
If an explicit classloader is set, the last defined classloader for the given path and name is returned. - getClassName() - Method in class org.tentackle.common.BundleSupport
-
Gets the name of the annotated class.
- getContinuedLine(String) - Static method in class org.tentackle.common.StringHelper
-
Checks whether given string introduces a continuation line.
- getControl(String) - Method in interface org.tentackle.common.BundleFactory
-
Gets the control to load the bundle.
- getControl(String) - Method in class org.tentackle.common.DefaultBundleFactory
- getCurrentLocale() - Method in class org.tentackle.common.LocaleProvider
-
Gets the locale used by the current thread.
- getEffectiveLocale() - Method in class org.tentackle.common.LocaleProvider
-
Gets the effective locale for the current locale.
- getEffectiveLocale(Locale) - Method in class org.tentackle.common.LocaleProvider
-
Gets the effective locale.
This is application-specific and allows narrowing the locales to the effectively supported locales. - getElements() - Method in interface org.tentackle.common.Path
-
Gets the elements describing the path.
- getEncodingCharset() - Static method in class org.tentackle.common.Settings
-
Gets the encoding used to read and write files.
Usually set by the maven plugins from "project.build.sourceEncoding". - getExplicitClassLoader(String, String) - Static method in class org.tentackle.common.ServiceFactory
-
Gets the explicit classloader for a given service path and name.
- getExplicitClassLoaderImpl(String, String) - Method in class org.tentackle.common.ServiceFactory
-
Gets the explicit classloader for a given service path and name.
- getFactoryClassloader() - Static method in class org.tentackle.common.ServiceFactory
-
Gets the classloader to load the service factorty.
- getFactoryClassname() - Static method in class org.tentackle.common.ServiceFactory
-
Gets the classname of the service factory.
- getFinderMap() - Method in class org.tentackle.common.ServiceFactory
-
Gets the finder map.
Allows applications to modify or add finders programmatically.
The map is threadsafe. - getFixedClassLoader() - Method in class org.tentackle.common.ServiceFactory
-
Gets the fixed classloader.
- getHook() - Method in class org.tentackle.common.ModuleInfo
-
Gets the module hook.
- getInputStream() - Method in class org.tentackle.common.Binary
-
Gets the stream to store the
Binaryin the database. - getInstance() - Static method in interface org.tentackle.common.BundleFactory
-
The singleton.
- getInstance() - Static method in class org.tentackle.common.Cryptor
-
Gets the optional application specific cryptor singleton.
- getInstance() - Static method in class org.tentackle.common.LocaleProvider
-
The singleton.
- getLength() - Method in class org.tentackle.common.Binary
-
Gets the length in bytes of this
Binary. - getLocale() - Method in class org.tentackle.common.LocaleProvider
-
Gets the locale.
- getMaxLogCollectionSize() - Static method in class org.tentackle.common.StringHelper
-
Gets the size limit of collections to be logged.
- getModule() - Method in class org.tentackle.common.ModuleInfo
-
Gets the module.
- getModuleInfo() - Method in class org.tentackle.common.BundleSupport
-
Gets the module info.
- getModuleInfo(String) - Method in class org.tentackle.common.ModuleSorter
-
Gets the module info for a module name.
- getModuleInfo(URL) - Method in class org.tentackle.common.ModuleSorter
-
Gets the module info for a given URL.
- getModuleInfos() - Method in class org.tentackle.common.ModuleSorter
-
Gets the modules infos ordered by dependency.
Modules at the top of the dependency hierarchy come last, modules without further dependencies come first. - getObject() - Method in class org.tentackle.common.Binary
-
Retrieves the object encapsulated by the
Binary. - getOrdinal() - Method in class org.tentackle.common.ModuleInfo
-
Gets the module ordinal.
Higher values come first in module order. - getPaths() - Method in interface org.tentackle.common.Path
-
Gets the sub paths starting at end of this path.
- getPlainClassName(String) - Static method in class org.tentackle.common.StringHelper
-
Gets a classname without any optional generics.
- getPlatform() - Static method in class org.tentackle.common.StringHelper
-
Gets the name of the operating system from the system properties.
- getProviders() - Method in interface org.tentackle.common.BundleFactory
-
Gets the control providers.
Method can be used to add a provider explicitly. - getProviders() - Method in class org.tentackle.common.DefaultBundleFactory
- getRequiredModuleNames() - Method in class org.tentackle.common.ModuleInfo
-
Gets the names of the required modules.
- getSecretKeyFactory() - Method in class org.tentackle.common.Cryptor
-
Gets the key factory.
The default implementation returns an instance ofPBKDF2WithHmacSHA1. - getServiceFinder() - Static method in class org.tentackle.common.ServiceFactory
-
Gets a service finder.
If the finder does not exist yet, it will be created. - getServiceFinder(ClassLoader, String) - Static method in class org.tentackle.common.ServiceFactory
-
Gets a service finder for a given classloader and service path.
If the finder does not exist yet, it will be created. - getServiceFinder(String) - Static method in class org.tentackle.common.ServiceFactory
-
Gets a service finder for a given service path.
If the finder does not exist yet, it will be created. - getServiceFinderClass() - Method in class org.tentackle.common.ServiceFactory
-
Gets the class of the service finder.
- getServiceFinderImpl() - Method in class org.tentackle.common.ServiceFactory
-
Gets a service finder.
If the finder does not exist yet, it will be created. - getServiceFinderImpl(ClassLoader, String) - Method in class org.tentackle.common.ServiceFactory
-
Gets a service finder for a given classloader and service path.
If the finder does not exist yet, it will be created. - getServiceFinderImpl(String) - Method in class org.tentackle.common.ServiceFactory
-
Gets a service finder for a given service path.
If the finder does not exist yet, it will be created. - getServicePath() - Method in class org.tentackle.common.DefaultServiceFinder
-
Gets the finder' service path it is responsible for.
- getServicePath() - Method in interface org.tentackle.common.ServiceFinder
-
Gets the finder' service path it is responsible for.
- getServicePath() - Method in class org.tentackle.common.ServiceFinderKey
-
Gets the service path.
- getStackTraceAsString(Throwable) - Static method in class org.tentackle.common.ExceptionHelper
-
Returns the stacktrace of a given exception as a string.
- getString(String) - Static method in class org.tentackle.common.CommonCommonBundle
-
Gets a string for the given key.
- getUrlPath() - Method in class org.tentackle.common.ModuleInfo
-
Gets the URL path of the hook's module.
H
- handle(T) - Method in class org.tentackle.common.ExceptionHelper.Handler
-
Handles the exception.
- handleException(boolean, Throwable, ExceptionHelper.Handler<? extends Throwable>...) - Static method in class org.tentackle.common.ExceptionHelper
-
Extracts any of the given exception types from an exception chain.
- Handler(Class<T>, Consumer<T>) - Constructor for class org.tentackle.common.ExceptionHelper.Handler
-
Creates an exception handler.
- hash(String, char[], char[]) - Static method in class org.tentackle.common.StringHelper
-
Builds a hash from an array of chars.
Note that this method converts the characters to bytes viaStringHelper.toBytes(char[])before applying the hash. - hashCode() - Method in class org.tentackle.common.Binary
- hashCode() - Method in class org.tentackle.common.ServiceFinderKey
- Hook - Class in org.tentackle.common.service
-
Hook for the common module.
- Hook() - Constructor for class org.tentackle.common.service.Hook
- HOUR_MS - Static variable in class org.tentackle.common.Constants
-
an hour in milliseconds.
I
- indexAnyOf(String, String) - Static method in class org.tentackle.common.StringHelper
-
Returns the first index of any of the given characters.
- INSTANCE - Static variable in class org.tentackle.common.ModuleSorter
-
The singleton.
- INSTANCE - Static variable in class org.tentackle.common.ServiceFactory
-
the singleton instance.
- InterruptedRuntimeException - Exception in org.tentackle.common
-
Wraps a checked
InterruptedExceptioninto aRuntimeExceptionand sets the interrupted flag. - InterruptedRuntimeException(String, Throwable) - Constructor for exception org.tentackle.common.InterruptedRuntimeException
-
Constructs a new interrupt exception with the specified detail message and cause.
- InterruptedRuntimeException(String, Throwable, boolean, boolean) - Constructor for exception org.tentackle.common.InterruptedRuntimeException
-
Constructs a new interrupt exception with the specified detail message, cause, suppression enabled or disabled, and writable stack trace enabled or disabled.
- InterruptedRuntimeException(Throwable) - Constructor for exception org.tentackle.common.InterruptedRuntimeException
-
Constructs a new interrupt exception with the specified cause and a detail message of
(cause==null ? null : cause.toString())(which typically contains the class and detail message ofcause). - invert() - Method in class org.tentackle.common.BMoney
-
Inverts this money value.
- invert() - Method in class org.tentackle.common.DMoney
- isAllDigits(String) - Static method in class org.tentackle.common.StringHelper
-
checks if a string contains only digits, i.e.
- isAllDigits(String, boolean) - Static method in class org.tentackle.common.StringHelper
-
Checks if a string contains only digits or whitespaces, i.e.
- isAllWhitespace(String) - Static method in class org.tentackle.common.StringHelper
-
Checks if string contains only whitespaces.
- isClassValuableForStackTrace(String) - Static method in class org.tentackle.common.ExceptionHelper
-
Checks if the class is a valuable information within a stracktrace.
- isFQCN(String) - Static method in class org.tentackle.common.StringHelper
-
Checks whether given string is a fully qualified classname (FQCN).
The class must belong to a package! - isNegative() - Method in class org.tentackle.common.BMoney
-
Checks if this money value is negative.
- isPositive() - Method in class org.tentackle.common.BMoney
-
Checks if this money value is positive.
- isReservedWord(String) - Static method in class org.tentackle.common.StringHelper
-
Returns whether given string is a reserved java keyword.
- isUTC() - Method in class org.tentackle.common.Timestamp
-
Gets the UTC flag.
- isValidJavaClassName(String) - Static method in class org.tentackle.common.StringHelper
-
Checks that given string is a valid Java classname.
Both classnames with a full classpath or without are validated. - isValidJavaIdentifier(String) - Static method in class org.tentackle.common.StringHelper
-
Returns whether the given string is a valid java identifier.
- isValidJavaPackageName(String) - Static method in class org.tentackle.common.StringHelper
-
Checks that given string is a valid Java packagename.
This is very restrictive verification. - isZero() - Method in class org.tentackle.common.BMoney
-
Checks if this money value is zero.
L
- lastAfter(String, char) - Static method in class org.tentackle.common.StringHelper
-
Gets the part of a string after a given delimiter.
- loadProperties(String) - Static method in class org.tentackle.common.FileHelper
-
Loads properties.
Tries to load from filesystem first, then from classpath. - loadProperties(String, boolean) - Static method in class org.tentackle.common.FileHelper
-
Loads properties from a resource.
- LocaleProvider - Class in org.tentackle.common
-
A provider for the Locale.
- LocaleProvider() - Constructor for class org.tentackle.common.LocaleProvider
M
- main(String[]) - Static method in class org.tentackle.common.Version
-
Prints the build version and license.
- MAPPED_SERVICE_PATH - Static variable in class org.tentackle.common.Constants
-
the directory for mapped service provider configurations.
- MappedService - Annotation Type in org.tentackle.common
-
Annotation to mark an annotation to be processed by the ServiceAnalyzeHandler.
- merge(List<P>) - Method in interface org.tentackle.common.PathFactory
-
Merge paths to remove redundant path segments.
The returned consolidated paths form a hierarchical graph. - meta() - Method in annotation type org.tentackle.common.Service
-
Determines whether the servicing class is the annotated class or the value of the annotated annotation.
Notice the difference between the serviced and servicing class! - meta() - Method in annotation type org.tentackle.common.ServiceName
-
Determines whether the servicing class is the annotated class or the value of the annotated annotation.
Notice the difference between the serviced and servicing class! - META_SERVICE_PATH - Static variable in class org.tentackle.common.Constants
-
the directory for meta service provider configurations.
- MINUTE_MS - Static variable in class org.tentackle.common.Constants
-
a minute in milliseconds.
- ModuleHook - Interface in org.tentackle.common
-
Interface to determine the module hierarchy.
Provides a hook to access resources from within a module. - ModuleInfo - Class in org.tentackle.common
-
Holds information about a module.
- ModuleInfo(ModuleHook) - Constructor for class org.tentackle.common.ModuleInfo
-
Creates a module info.
- ModuleSorter - Class in org.tentackle.common
-
A dependency sorter for jigsaw modules.
- ModuleSorter() - Constructor for class org.tentackle.common.ModuleSorter
-
Creates a module sorter and loads the module hierarchy.
- multiply(double) - Method in class org.tentackle.common.BMoney
-
Multiplies this BMoney by a double and returns a new object.
- multiply(double) - Method in class org.tentackle.common.DMoney
N
- NAME_NONE - Static variable in class org.tentackle.common.Constants
-
name for "none".
- NAME_UNKNOWN - Static variable in class org.tentackle.common.Constants
-
unknown name.
- normalize(String) - Static method in class org.tentackle.common.StringHelper
-
Normalizes a string (phonetically) for use as PDO.normText using
StringHelper.stringNormalizer. - normalize(String, Function<String, String>) - Static method in class org.tentackle.common.StringHelper
-
Normalizes a string (phonetically) for use as PDO.normText.
- normalizeBasename(String) - Method in class org.tentackle.common.DefaultBundleFactory
-
Normalizes the basename.
The name is usually a dotted classname or a slashed resourcename without a leading slash. - normalizeLine(String) - Method in class org.tentackle.common.DefaultServiceFinder
-
Normalizes a line.
Trailing and leading spaces are ignored.
O
- objectArrayToString(Object[], String) - Static method in class org.tentackle.common.StringHelper
-
Creates a string from an object array.
- objectToLoggableString(Object) - Static method in class org.tentackle.common.StringHelper
-
Converts a value to a loggable string.
- org.tentackle.common - module org.tentackle.common
- org.tentackle.common - package org.tentackle.common
-
Common classes for build- and runtime.
- org.tentackle.common.service - package org.tentackle.common.service
- ORIGIN_INFO_LEAD - Static variable in class org.tentackle.common.Constants
-
Heredocs may start with this lead followed by the source info.
Same as in wurbelizer's Constants.
P
- parseString(String) - Static method in class org.tentackle.common.StringHelper
-
Parses a string.
The string may be enclosed in double- or single quotes which will be removed. - parseURL(URL, String, Map<String, URL>) - Method in class org.tentackle.common.DefaultServiceFinder
-
Parses a service URL.
The implementation assumes the provider configuration file in property-file format. - parseURLs(Collection<URL>, String, Map<String, URL>) - Method in class org.tentackle.common.DefaultServiceFinder
-
Parses an enumeration of URLs.
- Path<P extends Path<P,E>,E> - Interface in org.tentackle.common
-
Generic path to something.
- PathFactory<P extends Path<P,E>,E> - Interface in org.tentackle.common
-
A factory for
Paths. - PROPS_EXTENSION - Static variable in class org.tentackle.common.Constants
-
extension for property files.
R
- readTextFromResource(Class<?>, String) - Static method in class org.tentackle.common.StringHelper
-
Reads a textfile from a resource.
- RELEASE - Static variable in class org.tentackle.common.Version
-
the artifact version
- RemoteMethod - Annotation Type in org.tentackle.common
-
Annotation for manually written methods that must be analyzed prior to wurbelization.
- removeDirectory(String) - Static method in class org.tentackle.common.FileHelper
-
Removes a directory and all its contents recursively.
- removeExplicitClassLoader(String, String, ClassLoader) - Static method in class org.tentackle.common.ServiceFactory
-
Remove]s an explict classloader for a given service path and name.
Loaders are kept in a linked list for each path and name combination. - removeExplicitClassLoaderImpl(String, String, ClassLoader) - Method in class org.tentackle.common.ServiceFactory
-
Remove]s an explict classloader for a given service path and name.
Loaders are kept in a linked list for each path and name combination. - removeTrailingText(String, String) - Static method in class org.tentackle.common.StringHelper
-
Removes a trailing text from a string.
S
- SECOND_MS - Static variable in class org.tentackle.common.Constants
-
a second in milliseconds.
- Service - Annotation Type in org.tentackle.common
-
Annotation to express that the annotated class is a service implementation.
- ServiceFactory - Class in org.tentackle.common
-
Factory for services based on
ServiceFinder. - ServiceFactory() - Constructor for class org.tentackle.common.ServiceFactory
-
Creates the factory.
- ServiceFinder - Interface in org.tentackle.common
-
Finds service configurations.
- ServiceFinderKey - Class in org.tentackle.common
-
Key to map service finders.
- ServiceFinderKey(ClassLoader, String) - Constructor for class org.tentackle.common.ServiceFinderKey
-
Creates a finder key.
- ServiceName - Annotation Type in org.tentackle.common
-
Annotation to express that the annotated class is a service implementation.
Differs from @Servicethat the service can be some arbitrary name. - setClassLoader(ClassLoader) - Method in interface org.tentackle.common.BundleFactory
-
Sets the classloader to load the bundles.
If set, this classloader will be used forBundleFactory.getBundle(java.lang.String)andBundleFactory.getBundle(java.lang.String, java.util.Locale). - setClassLoader(ClassLoader) - Method in class org.tentackle.common.DefaultBundleFactory
- setCurrentLocale(Locale) - Method in class org.tentackle.common.LocaleProvider
-
Sets the session used by the current thread.
The session is stored asThreadLocal. - setDate(int) - Method in class org.tentackle.common.Date
-
Deprecated.
- setDate(int) - Method in class org.tentackle.common.Time
-
Deprecated.
- setDate(int) - Method in class org.tentackle.common.Timestamp
-
Deprecated.
- setEncodingCharset(Charset) - Static method in class org.tentackle.common.Settings
-
Sets the encoding used to read and write files.
- setFactoryClassloader(ClassLoader) - Static method in class org.tentackle.common.ServiceFactory
-
Sets the classloader to load the service factorty.
- setFactoryClassname(String) - Static method in class org.tentackle.common.ServiceFactory
-
Sets the classname of the service factory.
- setFixedClassLoader(ClassLoader) - Method in class org.tentackle.common.ServiceFactory
-
Sets the fixed classloader.
Default is Thread.currentThread().getContextClassLoader(). - setHours(int) - Method in class org.tentackle.common.Date
-
Deprecated.
- setHours(int) - Method in class org.tentackle.common.Time
-
Deprecated.
- setHours(int) - Method in class org.tentackle.common.Timestamp
-
Deprecated.
- setMaxLogCollectionSize(int) - Static method in class org.tentackle.common.StringHelper
-
Sets the size limit of collections to be logged.
If an object is logged and it is a collection and the size exceedsmaxLogCollectionSize, only the number of items is logged inStringHelper.objectToLoggableString(java.lang.Object)instead of each item. - setMinutes(int) - Method in class org.tentackle.common.Date
-
Deprecated.
- setMinutes(int) - Method in class org.tentackle.common.Time
-
Deprecated.
- setMinutes(int) - Method in class org.tentackle.common.Timestamp
-
Deprecated.
- setMonth(int) - Method in class org.tentackle.common.Date
-
Deprecated.
- setMonth(int) - Method in class org.tentackle.common.Time
-
Deprecated.
- setMonth(int) - Method in class org.tentackle.common.Timestamp
-
Deprecated.
- setNanos(int) - Method in class org.tentackle.common.Timestamp
- setObject(T) - Method in class org.tentackle.common.Binary
-
Sets the serializable.
- setOrdinal(int) - Method in class org.tentackle.common.ModuleInfo
-
Sets the ordinal.
Higher values come first in module order. - setSeconds(int) - Method in class org.tentackle.common.Date
-
Deprecated.
- setSeconds(int) - Method in class org.tentackle.common.Time
-
Deprecated.
- setSeconds(int) - Method in class org.tentackle.common.Timestamp
-
Deprecated.
- setTime(long) - Method in class org.tentackle.common.Date
- setTime(long) - Method in class org.tentackle.common.Time
- setTime(long) - Method in class org.tentackle.common.Timestamp
- Settings - Class in org.tentackle.common
-
Global settings.
- setUTC(boolean) - Method in class org.tentackle.common.Timestamp
-
Sets the UTC flag.
- setUTC(Timestamp, boolean) - Static method in class org.tentackle.common.Timestamp
-
Sets the UTC flag null-safe.
Method provided to reduce generated code. - setYear(int) - Method in class org.tentackle.common.Date
-
Deprecated.
- setYear(int) - Method in class org.tentackle.common.Time
-
Deprecated.
- setYear(int) - Method in class org.tentackle.common.Timestamp
-
Deprecated.
- smallestPositive() - Method in class org.tentackle.common.BMoney
-
Returns the smalles positive value.
Ex.: if scale is 2 --> 0.01 will be returned. - smallestPositive() - Method in class org.tentackle.common.DMoney
- sort(Enumeration<URL>, String) - Method in class org.tentackle.common.ModuleSorter
-
Sorts an enumeration of urls according to the module hierarchy.
The top of the hierarchy comes first. - split(String, String) - Static method in class org.tentackle.common.StringHelper
-
Splits a string keeping strings together.
The strings may be enclosed in double- or single quotes which will not be removed. - StringHelper - Class in org.tentackle.common
-
Some handy methods for strings.
- stringNormalizer - Static variable in class org.tentackle.common.StringHelper
-
The default normalizer used within the application.
- stripEnclosingDoubleQuotes(String) - Static method in class org.tentackle.common.StringHelper
-
Strips enclosing double quotes.
- subtract(BMoney) - Method in class org.tentackle.common.BMoney
-
Subtracts a BMoney from this value and returns a new object.
- subtract(BMoney) - Method in class org.tentackle.common.DMoney
- SUPPRESS_WARNINGS_STATEFUL_DOMAIN_LOGIC - Static variable in class org.tentackle.common.Constants
-
suppress warnings for suspicious stateful domain logic.
T
- TentackleRuntimeException - Exception in org.tentackle.common
-
Tentackle runtime exception.
- TentackleRuntimeException() - Constructor for exception org.tentackle.common.TentackleRuntimeException
-
Constructs a new tentackle runtime exception with
nullas its detail message. - TentackleRuntimeException(String) - Constructor for exception org.tentackle.common.TentackleRuntimeException
-
Constructs a new tentackle runtime exception with the specified detail message.
- TentackleRuntimeException(String, Throwable) - Constructor for exception org.tentackle.common.TentackleRuntimeException
-
Constructs a new tentackle runtime exception with the specified detail message and cause.
- TentackleRuntimeException(Throwable) - Constructor for exception org.tentackle.common.TentackleRuntimeException
-
Constructs a new tentackle runtime exception with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause).
- Time - Class in org.tentackle.common
-
Time with database semantics.
- Time() - Constructor for class org.tentackle.common.Time
-
Creates the current time.
- Time(long) - Constructor for class org.tentackle.common.Time
-
Constructs a
Timeobject using a milliseconds time value. - Timestamp - Class in org.tentackle.common
-
Timestamp with UTC option.
- Timestamp() - Constructor for class org.tentackle.common.Timestamp
-
Creates the current timestamp.
- Timestamp(long) - Constructor for class org.tentackle.common.Timestamp
-
Constructs a
Timestampobject using a milliseconds time value. - toAsciiLetterOrDigit(String) - Static method in class org.tentackle.common.StringHelper
-
Converts to string containing only the letters A-z or digits.
All other characters will be converted to an underscore. - toBytes(char) - Static method in class org.tentackle.common.StringHelper
-
Converts a single (unicode) char to a byte-array.
- toBytes(char[]) - Static method in class org.tentackle.common.StringHelper
-
Converts a char-array to a byte-array.
- toCamelCase(String) - Static method in class org.tentackle.common.StringHelper
-
Converts a dotted path to camelCase.
Example:
"alpha.beta.gamma"is converted to"alphaBetaGamma". - toCharArray(String) - Static method in class org.tentackle.common.StringHelper
-
Null-safe string to a char-array conversion.
- toDoubleQuotes(String) - Static method in class org.tentackle.common.StringHelper
-
Takes a string, surrounds it with double-quotes and escapes all double-quotes already in the string according to Unix rules.
- toDTA(String) - Static method in class org.tentackle.common.StringHelper
-
Filters illegal chars for DTA-Files (German "DATENAUSTAUSCH" banking format).
- toFixedLength(String, int) - Static method in class org.tentackle.common.StringHelper
-
Takes a string and returns one with a given length, cutting or filling up with spaces, whatever appropriate.
- toFixedLength(String, int, char) - Static method in class org.tentackle.common.StringHelper
-
Takes a string and returns one with a given length, cutting or filling up with fillchars, whatever appropriate.
- toFixedLengthLeftFill(String, int) - Static method in class org.tentackle.common.StringHelper
-
Takes a string and returns one with a given length, cutting or filling up with spaces from the left, whatever appropriate.
- toFixedLengthLeftFill(String, int, char) - Static method in class org.tentackle.common.StringHelper
-
Takes a string and returns one with a given length, cutting or filling up with fillchars from the left, whatever appropriate.
- toHexString(byte[]) - Static method in class org.tentackle.common.StringHelper
-
Creates a human-readable hex-String out of a byte-array (e.g.
- toHTML(String) - Static method in class org.tentackle.common.StringHelper
-
Converts a multiline string to an HTML-string that can be displayed in a label.
- toLower(String) - Static method in class org.tentackle.common.StringHelper
-
Converts a string to lowercase allowing null values.
- toParsableString(String) - Static method in class org.tentackle.common.StringHelper
-
Converts a string to a string parsable by
StringHelper.parseString(java.lang.String). - toString() - Method in class org.tentackle.common.ModuleInfo
- toString() - Method in class org.tentackle.common.ModuleSorter
- toUpper(String) - Static method in class org.tentackle.common.StringHelper
-
Converts a string to uppercase allowing null values.
- toVarName(String) - Static method in class org.tentackle.common.StringHelper
-
Filters illegal chars for Java variable names.
- toWords() - Method in class org.tentackle.common.BMoney
-
Converts a money value to a string of digits as words.
The digits after the comma are ignored. - trim(String) - Static method in class org.tentackle.common.StringHelper
-
Trims a string.
- trim(String, int) - Static method in class org.tentackle.common.StringHelper
-
Trims a string.
- trimLeft(String, char) - Static method in class org.tentackle.common.StringHelper
-
Cuts leading characters.
- trimRight(String, char) - Static method in class org.tentackle.common.StringHelper
-
Cuts trailing characters.
U
- unDiacrit(String, boolean) - Static method in class org.tentackle.common.StringHelper
-
Converts special unicode characters (so-called diacrits) to standard ascii.
Supports also special german and northern european "umlauts". - unzip(File, File, Consumer<File>) - Static method in class org.tentackle.common.FileHelper
-
Unzips a zip file.
V
- value() - Method in annotation type org.tentackle.common.Analyze
-
The classname of the handler.
Notice: we don't provide the class directly to avoid unnecessary runtime dependencies. - value() - Method in annotation type org.tentackle.common.Bundle
-
The optional bundle name.
Empty string if annotated class. - value() - Method in annotation type org.tentackle.common.ClasspathFirst
-
Gets the serviced class.
- value() - Method in annotation type org.tentackle.common.MappedService
-
The classname of the service class.
- value() - Method in annotation type org.tentackle.common.RemoteMethod
-
If methods with the same name exist in the same class, the wurblet can identify it by a special tag.
- value() - Method in annotation type org.tentackle.common.Service
-
Gets the serviced class.
- value() - Method in annotation type org.tentackle.common.ServiceName
-
Gets the service name.
- Version - Class in org.tentackle.common
-
Holds Tentackle versioning information.
- Version() - Constructor for class org.tentackle.common.Version
All Classes All Packages