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

A

AbstractActivator - Class in com.puresoltechnologies.commons.osgi
This is an abstract Activator implementation which should be used by all PureSol Technologies' OSGi bundles.
AbstractActivator() - Constructor for class com.puresoltechnologies.commons.osgi.AbstractActivator
This is the default constructor.
AbstractProgressObservable<Observable> - Class in com.puresoltechnologies.commons.misc.progress
This class implements an abstract ProgressObservable.
AbstractProgressObservable() - Constructor for class com.puresoltechnologies.commons.misc.progress.AbstractProgressObservable
 
Activator - Class in com.puresoltechnologies.commons.misc
 
Activator() - Constructor for class com.puresoltechnologies.commons.misc.Activator
 
Activator - Class in com.puresoltechnologies.commons.money
 
Activator() - Constructor for class com.puresoltechnologies.commons.money.Activator
 
Activator - Class in com.puresoltechnologies.commons.types
 
Activator() - Constructor for class com.puresoltechnologies.commons.types.Activator
 
addObserver(ProgressObserver<Observable>) - Method in class com.puresoltechnologies.commons.misc.progress.AbstractProgressObservable
 
addObserver(ProgressObserver<Observable>) - Method in interface com.puresoltechnologies.commons.misc.progress.ProgressObservable
This method is used to add a new observer.
allocate(long, double...) - Static method in class com.puresoltechnologies.commons.money.MoneyMath
Splits a long value into an array of long values which sum up to the original value, but are splitted into amounts given by ratios.
allocate(long, int...) - Static method in class com.puresoltechnologies.commons.money.MoneyMath
Splits a long value into an array of long values which sum up to the original value, but are splitted into amounts given by ratios.

B

BinaryPrefix - Enum in com.puresoltechnologies.commons.misc.io
This class represents a binary prefix used for file sizes, memory sizes and so forth.

C

CallableProgressObservable<Observable,Return> - Interface in com.puresoltechnologies.commons.misc.progress
This is a combined interface of Callable and ProgressObservable.
classToRelativePackagePath(Class<?>) - Static method in class com.puresoltechnologies.commons.misc.io.PathUtils
This method converts a Class into a File which contains the package path.
clone() - Method in class com.puresoltechnologies.commons.misc.io.FileSearchConfiguration
 
clone() - Method in class com.puresoltechnologies.commons.types.EmailAddress
 
clone() - Method in class com.puresoltechnologies.commons.types.Password
 
com.puresoltechnologies.commons.misc - package com.puresoltechnologies.commons.misc
 
com.puresoltechnologies.commons.misc.hash - package com.puresoltechnologies.commons.misc.hash
 
com.puresoltechnologies.commons.misc.io - package com.puresoltechnologies.commons.misc.io
 
com.puresoltechnologies.commons.misc.progress - package com.puresoltechnologies.commons.misc.progress
 
com.puresoltechnologies.commons.money - package com.puresoltechnologies.commons.money
 
com.puresoltechnologies.commons.osgi - package com.puresoltechnologies.commons.osgi
 
com.puresoltechnologies.commons.types - package com.puresoltechnologies.commons.types
 
compareTo(HashId) - Method in class com.puresoltechnologies.commons.misc.hash.HashId
 
compareTo(Money) - Method in class com.puresoltechnologies.commons.money.Money
 
convertByteArrayToString(byte[]) - Static method in class com.puresoltechnologies.commons.types.StringUtils
This method converts a byte array into a string converting each byte into a 2-digit hex representation and appending them all together.
convertStringToByteArray(String) - Static method in class com.puresoltechnologies.commons.types.StringUtils
 
copy(File, File) - Static method in class com.puresoltechnologies.commons.misc.io.FileUtilities
This method performs a simple copy of sourceFile to targetFile.
copy(InputStream, OutputStream) - Static method in class com.puresoltechnologies.commons.misc.io.FileUtilities
 
copyResource(URL, File) - Static method in class com.puresoltechnologies.commons.misc.io.JARUtilities
 
countLineBreaks(String) - Static method in class com.puresoltechnologies.commons.types.StringUtils
 
createHashId(File) - Static method in class com.puresoltechnologies.commons.misc.hash.HashUtilities
This method creates a HashId from a File.
createHashId(String) - Static method in class com.puresoltechnologies.commons.misc.hash.HashUtilities
This method creates a HashId from a String.
createHashId(File, HashAlgorithm) - Static method in class com.puresoltechnologies.commons.misc.io.FileUtilities
 
createHumanReadableSizeString(long) - Static method in class com.puresoltechnologies.commons.misc.io.FileUtilities
This method converts a size in bytes into a string which can be used to be put into UI.

D

deleteFileOrDir(File) - Static method in class com.puresoltechnologies.commons.misc.io.FileUtilities
Utility method used to delete the profile directory when run as a stand-alone application.
done(Observable, String, boolean) - Method in interface com.puresoltechnologies.commons.misc.progress.ProgressObserver
This method is implemented by the observer.

E

EmailAddress - Class in com.puresoltechnologies.commons.types
This class represents an email address.
EmailAddress() - Constructor for class com.puresoltechnologies.commons.types.EmailAddress
This default constructor is needed for Jackson JSON serialization.
EmailAddress(String) - Constructor for class com.puresoltechnologies.commons.types.EmailAddress
 
EmailAddress(String, String) - Constructor for class com.puresoltechnologies.commons.types.EmailAddress
 
equals(Object) - Method in class com.puresoltechnologies.commons.misc.hash.HashId
 
equals(Object) - Method in class com.puresoltechnologies.commons.misc.io.FileSearchConfiguration
 
equals(Object) - Method in class com.puresoltechnologies.commons.money.Money
 
equals(Object) - Method in class com.puresoltechnologies.commons.types.EmailAddress
 
equals(Object) - Method in class com.puresoltechnologies.commons.types.Password
 

F

FileSearchConfiguration - Class in com.puresoltechnologies.commons.misc.io
This class contains the file search configuration for the file search facilities in FileSearch class.
FileSearchConfiguration(List<String>, List<String>, List<String>, List<String>, boolean) - Constructor for class com.puresoltechnologies.commons.misc.io.FileSearchConfiguration
This constructor sets the initial value for this class.
FileUtilities - Class in com.puresoltechnologies.commons.misc.io
This class contains several static methods for easier access to standard functionality.
FileUtilities() - Constructor for class com.puresoltechnologies.commons.misc.io.FileUtilities
 
fireDone(String, boolean) - Method in class com.puresoltechnologies.commons.misc.progress.AbstractProgressObservable
 
fireStarted(String, long) - Method in class com.puresoltechnologies.commons.misc.progress.AbstractProgressObservable
 
fireUpdateWork(String, long) - Method in class com.puresoltechnologies.commons.misc.progress.AbstractProgressObservable
This method is used to fire the ProgressObserver.updateWork(Object, String, long) for all observers.
fromAlgorithmName(String) - Static method in enum com.puresoltechnologies.commons.misc.hash.HashAlgorithm
This method returns a HashId for a given string value.

G

get(HashAlgorithm, String) - Static method in class com.puresoltechnologies.commons.misc.hash.HashCodeGenerator
 
get(HashAlgorithm, ByteBuffer) - Static method in class com.puresoltechnologies.commons.misc.hash.HashCodeGenerator
 
getAddress() - Method in class com.puresoltechnologies.commons.types.EmailAddress
 
getAlgorithm() - Method in class com.puresoltechnologies.commons.misc.hash.HashId
 
getAlgorithmName() - Method in enum com.puresoltechnologies.commons.misc.hash.HashAlgorithm
This method returns a human readable name of the algorithm.
getAmount() - Method in class com.puresoltechnologies.commons.money.Money
 
getBinaryFactor() - Method in enum com.puresoltechnologies.commons.misc.io.BinaryPrefix
 
getBundleContext() - Static method in class com.puresoltechnologies.commons.osgi.AbstractActivator
This method returns the current bundle context.
getCRString() - Method in enum com.puresoltechnologies.commons.misc.io.LineTerminator
 
getCryptoImpls(String) - Static method in class com.puresoltechnologies.commons.misc.hash.HashCodeGenerator
 
getCryptoImpls() - Static method in class com.puresoltechnologies.commons.misc.hash.HashCodeGenerator
 
getCurrency() - Method in class com.puresoltechnologies.commons.money.Money
 
getDecimalFactor() - Method in enum com.puresoltechnologies.commons.misc.io.BinaryPrefix
 
getDefaultMessageDigest() - Static method in class com.puresoltechnologies.commons.misc.hash.HashUtilities
 
getDefaultMessageDigestAlgorithm() - Static method in class com.puresoltechnologies.commons.misc.hash.HashUtilities
 
getDomainPart() - Method in class com.puresoltechnologies.commons.types.EmailAddress
 
getDuration() - Method in interface com.puresoltechnologies.commons.misc.TimeAwareness
This method returns the time duration of the run in milliseconds.
getField(Object, String) - Static method in class com.puresoltechnologies.commons.types.IntrospectionUtilities
 
getFileExcludes() - Method in class com.puresoltechnologies.commons.misc.io.FileSearchConfiguration
 
getFileIncludes() - Method in class com.puresoltechnologies.commons.misc.io.FileSearchConfiguration
 
getFraction() - Method in class com.puresoltechnologies.commons.money.Money
 
getGetter(Object, Field) - Static method in class com.puresoltechnologies.commons.types.IntrospectionUtilities
 
getGetter(Class<?>, Field) - Static method in class com.puresoltechnologies.commons.types.IntrospectionUtilities
 
getGetterName(Field) - Static method in class com.puresoltechnologies.commons.types.IntrospectionUtilities
 
getHash() - Method in class com.puresoltechnologies.commons.misc.hash.HashId
 
getLocalPart() - Method in class com.puresoltechnologies.commons.types.EmailAddress
 
getLocationExcludes() - Method in class com.puresoltechnologies.commons.misc.io.FileSearchConfiguration
 
getLocationIncludes() - Method in class com.puresoltechnologies.commons.misc.io.FileSearchConfiguration
 
getMD5(String) - Static method in class com.puresoltechnologies.commons.misc.hash.HashCodeGenerator
 
getMilliseconds() - Method in class com.puresoltechnologies.commons.misc.StopWatch
 
getName() - Method in enum com.puresoltechnologies.commons.misc.io.BinaryPrefix
 
getPassword() - Method in class com.puresoltechnologies.commons.types.Password
 
getReason() - Method in exception com.puresoltechnologies.commons.types.IllegalEmailAddressException
 
getRelativePath(String, String, String) - Static method in class com.puresoltechnologies.commons.misc.io.PathUtils
(Found at: http://stackoverflow.com/questions/204784/how-to-construct-a-relative -path-in-java-from-two-absolute-paths-or-urls) Get the relative path from one file to another, specifying the directory separator.
getSeconds() - Method in class com.puresoltechnologies.commons.misc.StopWatch
 
getServiceTypes() - Static method in class com.puresoltechnologies.commons.misc.hash.HashCodeGenerator
 
getSetter(Object, Field) - Static method in class com.puresoltechnologies.commons.types.IntrospectionUtilities
 
getSetter(Class<?>, Field) - Static method in class com.puresoltechnologies.commons.types.IntrospectionUtilities
 
getSetterName(Field) - Static method in class com.puresoltechnologies.commons.types.IntrospectionUtilities
 
getSHA(String) - Static method in class com.puresoltechnologies.commons.misc.hash.HashCodeGenerator
 
getSHA256(String) - Static method in class com.puresoltechnologies.commons.misc.hash.HashCodeGenerator
 
getSHA384(String) - Static method in class com.puresoltechnologies.commons.misc.hash.HashCodeGenerator
 
getSHA512(String) - Static method in class com.puresoltechnologies.commons.misc.hash.HashCodeGenerator
 
getStartTime() - Method in class com.puresoltechnologies.commons.misc.StopWatch
 
getStartTime() - Method in interface com.puresoltechnologies.commons.misc.TimeAwareness
This method returns the start time.
getStopTime() - Method in class com.puresoltechnologies.commons.misc.StopWatch
 
getSuitablePrefix(long) - Static method in enum com.puresoltechnologies.commons.misc.io.BinaryPrefix
 
getUnit() - Method in enum com.puresoltechnologies.commons.misc.io.BinaryPrefix
 

H

HashAlgorithm - Enum in com.puresoltechnologies.commons.misc.hash
This enum contains a list of all supported hash algorithms.
hashCode() - Method in class com.puresoltechnologies.commons.misc.hash.HashId
 
hashCode() - Method in class com.puresoltechnologies.commons.misc.io.FileSearchConfiguration
 
hashCode() - Method in class com.puresoltechnologies.commons.money.Money
 
hashCode() - Method in class com.puresoltechnologies.commons.types.EmailAddress
 
hashCode() - Method in class com.puresoltechnologies.commons.types.Password
 
HashCodeGenerator - Class in com.puresoltechnologies.commons.misc.hash
 
HashCodeGenerator() - Constructor for class com.puresoltechnologies.commons.misc.hash.HashCodeGenerator
 
HashId - Class in com.puresoltechnologies.commons.misc.hash
 
HashId(HashAlgorithm, String) - Constructor for class com.puresoltechnologies.commons.misc.hash.HashId
This is the initial value constructor for this hash id.
HashUtilities - Class in com.puresoltechnologies.commons.misc.hash
This class provides some utilities for the analysis store.

I

IllegalEmailAddressException - Exception in com.puresoltechnologies.commons.types
This exception is thrown in cases of illegal email addresses.
IllegalEmailAddressException(String, String) - Constructor for exception com.puresoltechnologies.commons.types.IllegalEmailAddressException
 
IntrospectionUtilities - Class in com.puresoltechnologies.commons.types
This class contains helper functions for efficient code introspection like name wrappers from fields to getters and setters.
IntrospectionUtilities() - Constructor for class com.puresoltechnologies.commons.types.IntrospectionUtilities
 
invokeMethod(Object, String, Object...) - Static method in class com.puresoltechnologies.commons.types.IntrospectionUtilities
 
isIgnoreHidden() - Method in class com.puresoltechnologies.commons.misc.io.FileSearchConfiguration
 
isUpdateRequired(File, File) - Static method in class com.puresoltechnologies.commons.misc.io.FileUtilities
This method checks for the requirement for an update.

J

JARUtilities - Class in com.puresoltechnologies.commons.misc.io
This class provides some utilities for handling jar files and their content.

L

LineTerminator - Enum in com.puresoltechnologies.commons.misc.io
This is an enumeration for line terminators.

M

Money - Class in com.puresoltechnologies.commons.money
This class is inspired by the Money implementation in Fowler's book "Enterprise Application Patterns".
Money(String, int, long) - Constructor for class com.puresoltechnologies.commons.money.Money
 
MoneyMath - Class in com.puresoltechnologies.commons.money
 
MoneyMath() - Constructor for class com.puresoltechnologies.commons.money.MoneyMath
 

N

normalizePath(File) - Static method in class com.puresoltechnologies.commons.misc.io.PathUtils
This method normalized paths by removing '//' and redundant '..'.

P

Password - Class in com.puresoltechnologies.commons.types
This class represents a single password.
Password() - Constructor for class com.puresoltechnologies.commons.types.Password
This default constructor is only convenience for JSON serialization.
Password(String) - Constructor for class com.puresoltechnologies.commons.types.Password
 
PathResolutionException - Exception in com.puresoltechnologies.commons.misc.io
 
PathUtils - Class in com.puresoltechnologies.commons.misc.io
This class contains several static methods for easier access to standard functionality.
PathUtils() - Constructor for class com.puresoltechnologies.commons.misc.io.PathUtils
 
ProgressObservable<Observable> - Interface in com.puresoltechnologies.commons.misc.progress
This is an interface which is implemented by progress observables.
ProgressObserver<Observable> - Interface in com.puresoltechnologies.commons.misc.progress
This interface is used for all classes which are interested in the progress of an object.

R

readFileToString(File, String) - Static method in class com.puresoltechnologies.commons.misc.io.FileUtilities
 
readFileToString(File) - Static method in class com.puresoltechnologies.commons.misc.io.FileUtilities
 
readPropertyFile(URL) - Static method in class com.puresoltechnologies.commons.misc.io.JARUtilities
This class reads a properties file and replaces constructs surrounded by ${ and } by a system properties specified within the curly brackets.
readResourceFileToString(URL) - Static method in class com.puresoltechnologies.commons.misc.io.JARUtilities
 
registerService(Class<T>, T) - Method in class com.puresoltechnologies.commons.osgi.AbstractActivator
This method should be used to register services.
registerService(Class<T>, T, Dictionary<String, String>) - Method in class com.puresoltechnologies.commons.osgi.AbstractActivator
This method should be used to register services.
removeObservable(ProgressObserver<Observable>) - Method in class com.puresoltechnologies.commons.misc.progress.AbstractProgressObservable
 
removeObservable(ProgressObserver<Observable>) - Method in interface com.puresoltechnologies.commons.misc.progress.ProgressObservable
This method is used to remove an already added observer.

S

setField(Object, String, Object) - Static method in class com.puresoltechnologies.commons.types.IntrospectionUtilities
 
share(double...) - Method in class com.puresoltechnologies.commons.money.Money
This method calculates shares of this money object which are weigthed by given ratios.
share(int) - Method in class com.puresoltechnologies.commons.money.Money
The method calculates equal shares.
start() - Method in class com.puresoltechnologies.commons.misc.StopWatch
 
start(BundleContext) - Method in class com.puresoltechnologies.commons.osgi.AbstractActivator
 
started(Observable, String, long) - Method in interface com.puresoltechnologies.commons.misc.progress.ProgressObserver
This method is implemented by the observer.
stop() - Method in class com.puresoltechnologies.commons.misc.StopWatch
 
stop(BundleContext) - Method in class com.puresoltechnologies.commons.osgi.AbstractActivator
 
StopWatch - Class in com.puresoltechnologies.commons.misc
This class is a simple implementation of a stop watch used for debugging and performance tests.
StopWatch() - Constructor for class com.puresoltechnologies.commons.misc.StopWatch
 
StringUtils - Class in com.puresoltechnologies.commons.types
This is a simple utilities class containing some functionality for String.
StringUtils() - Constructor for class com.puresoltechnologies.commons.types.StringUtils
 

T

TimeAwareness - Interface in com.puresoltechnologies.commons.misc
This interface is used to put some time information to an object.
toString() - Method in enum com.puresoltechnologies.commons.misc.hash.HashAlgorithm
 
toString() - Method in class com.puresoltechnologies.commons.misc.hash.HashId
 
toString() - Method in enum com.puresoltechnologies.commons.misc.io.BinaryPrefix
 
toString() - Method in class com.puresoltechnologies.commons.misc.StopWatch
 
toString() - Method in class com.puresoltechnologies.commons.money.Money
 
toString() - Method in class com.puresoltechnologies.commons.types.EmailAddress
 
toString() - Method in class com.puresoltechnologies.commons.types.Password
 

U

updateWork(Observable, String, long) - Method in interface com.puresoltechnologies.commons.misc.progress.ProgressObserver
This method is to be implemented by any observer.

V

validate(String) - Static method in class com.puresoltechnologies.commons.types.EmailAddress
Validates an email address format.
validateDomainPart(String) - Static method in class com.puresoltechnologies.commons.types.EmailAddress
 
validateLocalPart(String) - Static method in class com.puresoltechnologies.commons.types.EmailAddress
 
valueOf(String) - Static method in enum com.puresoltechnologies.commons.misc.hash.HashAlgorithm
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in class com.puresoltechnologies.commons.misc.hash.HashId
 
valueOf(String) - Static method in enum com.puresoltechnologies.commons.misc.io.BinaryPrefix
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.puresoltechnologies.commons.misc.io.LineTerminator
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.puresoltechnologies.commons.misc.hash.HashAlgorithm
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.puresoltechnologies.commons.misc.io.BinaryPrefix
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.puresoltechnologies.commons.misc.io.LineTerminator
Returns an array containing the constants of this enum type, in the order they are declared.

W

wrapLinesByWords(String, int) - Static method in class com.puresoltechnologies.commons.types.StringUtils
This methods auto breaks a long line of text into several lines by adding line breaks.
writeFile(File, File, String) - Static method in class com.puresoltechnologies.commons.misc.io.FileUtilities
This method writes the content of a String into a file specified by a directory and its fileName.
A B C D E F G H I J L M N P R S T U V W 
Skip navigation links

Copyright © 2014-2015 PureSol Technologies. All Rights Reserved.