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
- add(Object, Object) - Method in class net.enilink.commons.util.ValueUtils
-
Adds the two objects given.
- ANY - net.enilink.commons.util.ValueType
B
- BIGDECIMAL - net.enilink.commons.util.ValueType
- bigDecValue(Object) - Method in class net.enilink.commons.util.ValueUtils
-
Evaluates the given object as a BigDecimal.
- BIGINTEGER - net.enilink.commons.util.ValueType
- bigIntValue(Object) - Method in class net.enilink.commons.util.ValueUtils
-
Evaluates the given object as a BigInteger.
- BOOLEAN - net.enilink.commons.util.ValueType
- booleanValue(Object) - Method in class net.enilink.commons.util.ValueUtils
- BYTE - net.enilink.commons.util.ValueType
C
- canOpen(Object, Object) - Method in interface net.enilink.commons.util.IOpener
- CHARACTER - net.enilink.commons.util.ValueType
- CollectionUtil - Class in net.enilink.commons.util
- CollectionUtil() - Constructor for class net.enilink.commons.util.CollectionUtil
- CommonsStatusCodes - Class in net.enilink.commons.util
-
A list of status codes for this plug-in.
- CommonsUtilPlugin - Class in net.enilink.commons.util
-
The activator class controls the plug-in life cycle
- CommonsUtilPlugin() - Constructor for class net.enilink.commons.util.CommonsUtilPlugin
-
The constructor
- compareWithConversion(Object, Object) - Method in class net.enilink.commons.util.ValueUtils
- compareWithConversion(Object, Object, Number) - Method in class net.enilink.commons.util.ValueUtils
- Constants - Class in net.enilink.commons.util.internal.extensions
-
OSGi constants.
- Constants() - Constructor for class net.enilink.commons.util.internal.extensions.Constants
- ContributorFactoryNonOSGI - Class in net.enilink.commons.util.internal.extensions
-
The contributor factory creates new registry contributors for use in NONE OSGi-based registries.
- ContributorFactoryNonOSGI() - Constructor for class net.enilink.commons.util.internal.extensions.ContributorFactoryNonOSGI
- convertValue(Class<?>, Object, Object) - Method in class net.enilink.commons.util.ValueUtils
-
Returns the value converted numerically to the given class type.
- createContributor(String) - Static method in class net.enilink.commons.util.internal.extensions.ContributorFactoryNonOSGI
-
Creates registry contributor object based on a "Bundle-SymbolicName".
- createInteger(ValueType, long) - Method in class net.enilink.commons.util.ValueUtils
-
Returns a new Number object of an appropriate type to hold the given integer value.
- createLinearExtension() - Method in class net.enilink.commons.util.LinearExtension
- createLinearExtension(List<T>) - Method in class net.enilink.commons.util.LinearExtension
- createReal(ValueType, double) - Method in class net.enilink.commons.util.ValueUtils
-
Returns a new Number object of an appropriate type to hold the given real value.
D
- DEBUG - Static variable in class net.enilink.commons.util.internal.extensions.DebugHelper
- DebugHelper - Class in net.enilink.commons.util.internal.extensions
-
Helper to debug None OSGi-env registry.
- DebugHelper() - Constructor for class net.enilink.commons.util.internal.extensions.DebugHelper
- defaultValues - Variable in class net.enilink.commons.util.ValueUtils
- divide(Object, Object) - Method in class net.enilink.commons.util.ValueUtils
-
Divides the first argument by the second
- DOUBLE - net.enilink.commons.util.ValueType
- doubleValue(Object) - Method in class net.enilink.commons.util.ValueUtils
-
Evaluates the given object as a double-precision floating-point number.
E
- equals(Object) - Method in class net.enilink.commons.util.Pair
F
G
- getBaseDir(URL, String) - Static method in class net.enilink.commons.util.internal.extensions.Utils
-
Returns baseDir of the URL.
- getDefault() - Static method in class net.enilink.commons.util.CommonsUtilPlugin
-
Returns the shared instance
- getDescription(IConfigurationElement) - Method in class net.enilink.commons.util.extensions.RegistryReader
-
This method extracts description as a subelement of the given element.
- getElements() - Method in interface net.enilink.commons.util.IPartialOrderProvider
- getFirst() - Method in class net.enilink.commons.util.Pair
- getInstance() - Static method in class net.enilink.commons.util.ValueUtils
- getManifests(ClassLoader) - Static method in class net.enilink.commons.util.internal.extensions.Utils
-
Returns the MANIFEST.MF founded from the ClassLoader.
- getManifestsMap(ClassLoader) - Static method in class net.enilink.commons.util.internal.extensions.Utils
-
Return a map of the whole MANIFEST.MF founded into the ClassPath.
- getNumericType(ValueType, ValueType, boolean) - Method in class net.enilink.commons.util.ValueUtils
-
Returns the constant from the NumericTypes interface that best expresses the type of an operation, which can be either numeric or not, on the two given types.
- getPluginXMLs(ClassLoader) - Static method in class net.enilink.commons.util.internal.extensions.Utils
-
Returns the plugin.xml founded from the ClassLoader.
- getRegistry() - Static method in class net.enilink.commons.util.extensions.RegistryFactoryHelper
- getRegistry() - Method in class net.enilink.commons.util.internal.extensions.RegistryProviderNonOSGI
- getSecond() - Method in class net.enilink.commons.util.Pair
- getSuccessors(T) - Method in interface net.enilink.commons.util.IPartialOrderProvider
- getType(Object) - Method in class net.enilink.commons.util.ValueUtils
H
- hashCode() - Method in class net.enilink.commons.util.Pair
I
- INTEGER - net.enilink.commons.util.ValueType
- INTERNAL_ERROR - Static variable in class net.enilink.commons.util.CommonsStatusCodes
-
Error status code indicating that an unexpected error occurred.
- IOpener - Interface in net.enilink.commons.util
- IPartialOrderProvider<T> - Interface in net.enilink.commons.util
- isEmpty(String) - Static method in class net.enilink.commons.util.internal.extensions.Utils
-
Checks if a String is empty ("") or null.
- isEmpty(Collection<?>) - Static method in class net.enilink.commons.util.CollectionUtil
L
- LinearExtension<T> - Class in net.enilink.commons.util
- LinearExtension(IPartialOrderProvider<T>) - Constructor for class net.enilink.commons.util.LinearExtension
- load(ClassLoader) - Static method in class net.enilink.commons.util.internal.extensions.Utils
-
Load springclrfactory.properties from OSGi fragments linked to this bundle..
- log(String) - Static method in class net.enilink.commons.util.internal.extensions.DebugHelper
-
Log message.
- log(String, int) - Static method in class net.enilink.commons.util.internal.extensions.DebugHelper
-
Log message with indent.
- log(Throwable) - Static method in class net.enilink.commons.util.CommonsUtilPlugin
- log(IStatus) - Static method in class net.enilink.commons.util.CommonsUtilPlugin
- log(IStatus) - Method in class net.enilink.commons.util.Log
- Log - Class in net.enilink.commons.util
- Log(Class<?>) - Constructor for class net.enilink.commons.util.Log
- logError(String) - Static method in class net.enilink.commons.util.internal.extensions.DebugHelper
-
Log error.
- logError(String, int) - Static method in class net.enilink.commons.util.internal.extensions.DebugHelper
-
Log error with indent.
- logError(Throwable) - Static method in class net.enilink.commons.util.internal.extensions.DebugHelper
-
Log error exception.
- logError(IConfigurationElement, String) - Static method in class net.enilink.commons.util.extensions.RegistryReader
-
Logs the error in the workbench log using the provided text and the information in the configuration element.
- logErrorMessage(String) - Static method in class net.enilink.commons.util.CommonsUtilPlugin
- logErrorStatus(String, IStatus) - Static method in class net.enilink.commons.util.CommonsUtilPlugin
- logMissingAttribute(IConfigurationElement, String) - Static method in class net.enilink.commons.util.extensions.RegistryReader
-
Logs a very common registry error when a required attribute is missing.
- logMissingElement(IConfigurationElement, String) - Static method in class net.enilink.commons.util.extensions.RegistryReader
-
Logs a very common registry error when a required child is missing.
- logUnknownElement(IConfigurationElement) - Static method in class net.enilink.commons.util.extensions.RegistryReader
-
Logs a registry error when the configuration element is unknown.
- LONG - net.enilink.commons.util.ValueType
- longValue(Object) - Method in class net.enilink.commons.util.ValueUtils
-
Evaluates the given object as a long integer.
M
- main(String...) - Static method in class net.enilink.commons.util.LinearExtension
- max(ValueType, ValueType) - Static method in enum net.enilink.commons.util.ValueType
- multiply(Object, Object) - Method in class net.enilink.commons.util.ValueUtils
-
Multiplies v1 times v2.
N
- negate(Object) - Method in class net.enilink.commons.util.ValueUtils
-
Negates v1.
- net.enilink.commons.util - package net.enilink.commons.util
- net.enilink.commons.util.extensions - package net.enilink.commons.util.extensions
- net.enilink.commons.util.internal.extensions - package net.enilink.commons.util.internal.extensions
O
- OK - Static variable in class net.enilink.commons.util.CommonsStatusCodes
-
Status code indicating that everything is OK.
- onStart(IExtensionRegistry, boolean) - Method in class net.enilink.commons.util.internal.extensions.RegistryStrategyNonOSGI
- open(Object, Object) - Method in interface net.enilink.commons.util.IOpener
- openResource(String, Object, Object) - Static method in class net.enilink.commons.util.CommonsUtilPlugin
- orderExtensions(IExtension[]) - Method in class net.enilink.commons.util.extensions.RegistryReader
-
Apply a reproducable order to the list of extensions provided, such that the order will not change as extensions are added or removed.
- OSGI_BUNDLE_MANIFEST - Static variable in class net.enilink.commons.util.internal.extensions.Constants
-
Bundle manifest name
- osgiLogger - Variable in class net.enilink.commons.util.Log
P
- Pair<A,B> - Class in net.enilink.commons.util
- Pair() - Constructor for class net.enilink.commons.util.Pair
- Pair(A, B) - Constructor for class net.enilink.commons.util.Pair
- PLUGIN_ID - Static variable in class net.enilink.commons.util.CommonsUtilPlugin
- PLUGIN_MANIFEST - Static variable in class net.enilink.commons.util.internal.extensions.Constants
- PLUGIN_SHUTDOWN_FAILURE - Static variable in class net.enilink.commons.util.CommonsStatusCodes
-
Status code indicating that an error occurred during plug-in shut-down.
- PLUGIN_STARTUP_FAILURE - Static variable in class net.enilink.commons.util.CommonsStatusCodes
-
Status code indicating that an error occurred during plug-in start-up.
R
- readElement(IConfigurationElement) - Method in class net.enilink.commons.util.extensions.RegistryReader
-
Implement this method to read element's attributes.
- readElement(IConfigurationElement, boolean) - Method in class net.enilink.commons.util.extensions.RegistryReader
-
Implement this method to read element attributes for the purpose of adding or removing their registrations.
- readElementChildren(IConfigurationElement, boolean) - Method in class net.enilink.commons.util.extensions.RegistryReader
-
Read the element's children.
- readElements(IConfigurationElement[], boolean) - Method in class net.enilink.commons.util.extensions.RegistryReader
-
Read each element one at a time by calling the subclass implementation of
readElement. - readExtension(IExtension, boolean) - Method in class net.enilink.commons.util.extensions.RegistryReader
-
Read one extension by looping through its configuration elements.
- readRegistry() - Method in class net.enilink.commons.util.extensions.RegistryReader
-
Start the registry reading process using the supplied plugin ID and extension point.
- registerListener() - Method in class net.enilink.commons.util.extensions.RegistryReader
-
Registers change listener to extension registry
- registryChanged(IRegistryChangeEvent) - Method in class net.enilink.commons.util.extensions.RegistryReader
- RegistryFactoryHelper - Class in net.enilink.commons.util.extensions
-
Helper class which returns
IExtensionRegistrysingleton switch the environment (OSGi-env or none OSGi-env) : into OSGi-env, returns the "standard" OSGiIExtensionRegistrysingleton which use Bundle Activator to load "plugin.xml". into NONE OSGi-env, returns theIExtensionRegistrysingleton which load the whole "plugin.xml" founded from the shared ClassLoader. - RegistryFactoryHelper() - Constructor for class net.enilink.commons.util.extensions.RegistryFactoryHelper
- RegistryProviderNonOSGI - Class in net.enilink.commons.util.internal.extensions
-
Provider for
IExtensionRegistryinto No OSGi-env. - RegistryProviderNonOSGI() - Constructor for class net.enilink.commons.util.internal.extensions.RegistryProviderNonOSGI
- RegistryReader - Class in net.enilink.commons.util.extensions
-
Template implementation of a registry reader that creates objects representing registry contents.
- RegistryReader(String, String) - Constructor for class net.enilink.commons.util.extensions.RegistryReader
-
The constructor.
- RegistryReader(IExtensionRegistry, String, String) - Constructor for class net.enilink.commons.util.extensions.RegistryReader
-
The constructor.
- RegistryStrategyNonOSGI - Class in net.enilink.commons.util.internal.extensions
-
The registry strategy that can be used in NO OSGi-env.
- RegistryStrategyNonOSGI(File[], boolean[], Object) - Constructor for class net.enilink.commons.util.internal.extensions.RegistryStrategyNonOSGI
- remainder(Object, Object) - Method in class net.enilink.commons.util.ValueUtils
-
Returns the number of the first argument, v1, divided by the second number's remainder (modulus).
S
- safe(Collection<T>) - Static method in class net.enilink.commons.util.CollectionUtil
- safe(List<T>) - Static method in class net.enilink.commons.util.CollectionUtil
- safe(Set<T>) - Static method in class net.enilink.commons.util.CollectionUtil
- SERVICE_FAILURE - Static variable in class net.enilink.commons.util.CommonsStatusCodes
-
Status code indicating that an error occurred with a service.
- setFirst(A) - Method in class net.enilink.commons.util.Pair
- setSecond(B) - Method in class net.enilink.commons.util.Pair
- SHORT - net.enilink.commons.util.ValueType
- slf4jLogger - Variable in class net.enilink.commons.util.Log
- start(BundleContext) - Method in class net.enilink.commons.util.CommonsUtilPlugin
- stop(BundleContext) - Method in class net.enilink.commons.util.CommonsUtilPlugin
- stringValue(Object, boolean) - Method in class net.enilink.commons.util.ValueUtils
-
Evaluates the given object as a String and trims it if the trim flag is true.
- subtract(Object, Object) - Method in class net.enilink.commons.util.ValueUtils
-
Subtracts v2 from v1.
T
- TAG_DESCRIPTION - Static variable in class net.enilink.commons.util.extensions.RegistryReader
- toString() - Method in class net.enilink.commons.util.Pair
- trace(String) - Method in class net.enilink.commons.util.Log
- typeMap - Variable in class net.enilink.commons.util.ValueUtils
U
- unregisterListener() - Method in class net.enilink.commons.util.extensions.RegistryReader
-
Unregisters change listener from extension registry
- Utils - Class in net.enilink.commons.util.internal.extensions
-
Utilities.
- Utils() - Constructor for class net.enilink.commons.util.internal.extensions.Utils
V
- valueOf(String) - Static method in enum net.enilink.commons.util.ValueType
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum net.enilink.commons.util.ValueType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- ValueType - Enum in net.enilink.commons.util
- ValueUtils - Class in net.enilink.commons.util
- ValueUtils() - Constructor for class net.enilink.commons.util.ValueUtils
All Classes All Packages