A B C D E F G H I L M N O P Q R S T U V W

A

accept(File) - Method in class net.lessy.util.filefilter.DirectoryFilter

Checks if the specified file is a directory
accept(File) - Method in class net.lessy.util.filefilter.FileExtensionFilter
add(Amount<T>) - Method in class net.lessy.util.type.Amount
Add an amount to this Amount
addDays(Date, int) - Static method in class net.lessy.util.DateUtil
 
addFormatter(String, FormatIF) - Static method in class net.lessy.util.format.FormatUtil
Registers a new formatter.
afterInitialize(ApplicationContext) - Method in class net.lessy.util.configuration.Environment
Deprecated. Is called after the default context has been loaded.
Amount<T extends Amount<T>> - Class in net.lessy.util.type
General class to represent a number.
Amount(BigDecimal, int) - Constructor for class net.lessy.util.type.Amount
 
Amount(BigDecimal) - Constructor for class net.lessy.util.type.Amount
 

B

BaseService - Class in net.lessy.util.services
 
BaseService() - Constructor for class net.lessy.util.services.BaseService
 
BeanUtil - Class in net.lessy.util
 

C

Channel - Interface in net.lessy.util.messaging
A channel is part of the framework's messaging system.
ChannelUtils - Class in net.lessy.util.messaging
 
checkNumber(Object) - Static method in class net.lessy.util.NumberUtil
Checks if the passed value is a number
checkVetoableMessage(Message) - Method in interface net.lessy.util.messaging.VetoableMessageListener
 
CommonException - Exception in net.lessy.util.exception
 
CommonException() - Constructor for exception net.lessy.util.exception.CommonException
Constructs a new runtime exception with null as its detail message.
CommonException(Throwable) - Constructor for exception net.lessy.util.exception.CommonException
Constructs a new runtime exception with the specified cause and a detail message of (cause==null ?
CommonException(String) - Constructor for exception net.lessy.util.exception.CommonException
Constructs a new runtime exception with the specified detail message.
CommonException(String, Throwable) - Constructor for exception net.lessy.util.exception.CommonException
Constructs a new runtime exception with the specified detail message and cause.
concatenate(Object...) - Static method in class net.lessy.util.StringUtil
Concats an array of objects
concatenateNotEmpty(String, String, String) - Static method in class net.lessy.util.StringUtil
Concats 2 objects with an optional separator.
concatenateNotEmpty(String, String) - Static method in class net.lessy.util.StringUtil
Concats 2 objects separated by a space.
Constants - Class in net.lessy.util
 
containsKey(Object) - Method in interface net.lessy.util.template.TemplateContext
Indicates whether the specified key is in the context.
convertToInt(Integer, int) - Static method in class net.lessy.util.NumberUtil
Converts a (big) Integer to a small int.
convertToLong(Number) - Static method in class net.lessy.util.NumberUtil
Converts a Number to (big) Long
convertToNumber(Amount) - Static method in class net.lessy.util.NumberUtil
Converts an Amount to its associated Number (usually a BigDecimal)
convertToNumber(Amount, Number) - Static method in class net.lessy.util.NumberUtil
Converts an Amount to its associated Number (usually a BigDecimal)
copyProperties(Object, Object) - Static method in class net.lessy.util.BeanUtil
Wrapper around Spring's BeanUtils.copyProperties();
createContext() - Method in interface net.lessy.util.template.TemplateManager
Create a Context that suits the Manager-Implementation.
createContext() - Method in class net.lessy.util.template.velocity.VelocityTemplateManager
Create a Context that suits the Manager-Implementation.
createDate(int, int, int) - Static method in class net.lessy.util.DateUtil
Creates a date specified with the passed values
createDate() - Static method in class net.lessy.util.DateUtil
Creates a date based on the actual date but without time-settings, so the time part of this date is 00:00:00.000
createInstance(BigDecimal) - Method in class net.lessy.util.type.Amount
 
createMessageBean(String, Object...) - Method in class net.lessy.util.resource.ResourceManager
 
CURRENCY - Static variable in class net.lessy.util.format.FormatUtil
Constant for the currency-formatter

D

DATE - Static variable in class net.lessy.util.format.FormatUtil
Constant for the date-formatter
DateUtil - Class in net.lessy.util
Utility-Methods around Date and Time
DateUtil() - Constructor for class net.lessy.util.DateUtil
 
debug(Object...) - Method in class net.lessy.util.logging.Logger
Convenience Debug-Method that takes a variable number of parameters.
debug(Object) - Method in class net.lessy.util.logging.Logger
All following methods are delegating directly to the Commons-Logger
debug(Object, Throwable) - Method in class net.lessy.util.logging.Logger
 
DefaultChannel - Class in net.lessy.util.messaging
 
DefaultChannel() - Constructor for class net.lessy.util.messaging.DefaultChannel
 
DefaultChannel(String) - Constructor for class net.lessy.util.messaging.DefaultChannel
Defaultimplementation for a message channel
DefaultMessage - Class in net.lessy.util.messaging
 
DefaultMessage() - Constructor for class net.lessy.util.messaging.DefaultMessage
Default
DefaultMessage(String, Object) - Constructor for class net.lessy.util.messaging.DefaultMessage
 
DirectoryFilter - Class in net.lessy.util.filefilter
Filter for Directories
DirectoryFilter() - Constructor for class net.lessy.util.filefilter.DirectoryFilter
 
divideBy(Amount<T>) - Method in class net.lessy.util.type.Amount
 
divideBy(int) - Method in class net.lessy.util.type.Amount
 

E

EmptyIterator<T> - Class in net.lessy.util
Empty iterator
EmptyIterator() - Constructor for class net.lessy.util.EmptyIterator
 
ENC_UTF8 - Static variable in class net.lessy.util.Constants
 
Environment - Class in net.lessy.util.configuration
Deprecated. What was meant to be convenience, turns out to be pain in the butt
Environment() - Constructor for class net.lessy.util.configuration.Environment
Deprecated. Default Constructor.
Environmentable - Interface in net.lessy.util.configuration
 
equals(Object) - Method in class net.lessy.util.type.Amount
 
error(Object) - Method in class net.lessy.util.logging.Logger
 
error(Object, Throwable) - Method in class net.lessy.util.logging.Logger
 

F

fatal(Object) - Method in class net.lessy.util.logging.Logger
 
fatal(Object, Throwable) - Method in class net.lessy.util.logging.Logger
 
FileExtensionFilter - Class in net.lessy.util.filefilter
FileFilter for checking on File-Extension
FileExtensionFilter(String) - Constructor for class net.lessy.util.filefilter.FileExtensionFilter
Constructor
FLOAT - Static variable in class net.lessy.util.format.FormatUtil
Constant for the float-formatter
format(T, Locale, Properties) - Method in interface net.lessy.util.format.FormatIF
Formats the passed value and returns the result as a string
format(Object, String, Object, Locale, Properties) - Static method in class net.lessy.util.format.FormatUtil
Wrapper method for formatting a value.
format(Date, Locale, Properties) - Method in class net.lessy.util.format.impl.FormatDate
Formats the value as a date.
format(Object, Locale, Properties) - Method in class net.lessy.util.format.impl.FormatFloat
Formats the value (impl.method)
FormatCurrency - Class in net.lessy.util.format.impl
Implementation of a currency formatter.
FormatCurrency() - Constructor for class net.lessy.util.format.impl.FormatCurrency
 
FormatDate - Class in net.lessy.util.format.impl
Implementation of a date formatter.
FormatDate() - Constructor for class net.lessy.util.format.impl.FormatDate
 
FormatFloat - Class in net.lessy.util.format.impl
Implementation of a float formatter.
FormatFloat() - Constructor for class net.lessy.util.format.impl.FormatFloat
 
FormatIF<T> - Interface in net.lessy.util.format
Implement this interface to create custom formatters.
FormatTime - Class in net.lessy.util.format.impl
 
FormatTime() - Constructor for class net.lessy.util.format.impl.FormatTime
 
FormatUtil - Class in net.lessy.util.format
Helper class around custom formatting of a value.
FormatUtil() - Constructor for class net.lessy.util.format.FormatUtil
 

G

get(String) - Method in interface net.lessy.util.template.TemplateContext
Gets the value corresponding to the provided key from the context.
getApplicationContext() - Method in class net.lessy.util.configuration.Environment
Deprecated. Gets the Application Context
getBundleName() - Method in class net.lessy.util.resource.ResourceManager
Name of the resource bundle
getCalendar(Date) - Static method in class net.lessy.util.DateUtil
Get a calendar
getChannelName() - Method in class net.lessy.util.messaging.DefaultChannel
 
getCommand() - Method in class net.lessy.util.messaging.DefaultMessage
 
getCommand() - Method in interface net.lessy.util.messaging.Message
Returns the message's command.
getData() - Method in class net.lessy.util.messaging.DefaultMessage
 
getData() - Method in interface net.lessy.util.messaging.Message
Returns the optional data.
getDateFormatter(Locale) - Method in class net.lessy.util.format.impl.FormatDate
Gets a dateformatter.
getDateFormatter(Locale) - Method in class net.lessy.util.format.impl.FormatTime
 
getExtension() - Method in class net.lessy.util.filefilter.FileExtensionFilter
 
getId() - Method in interface net.lessy.util.persistence.Identifyable
Gets the id
getInsets() - Method in exception net.lessy.util.exception.PracticalException
Getter
getInsets() - Method in interface net.lessy.util.MessageHolder
 
getInsets() - Method in class net.lessy.util.resource.MessageBean
 
getInstance() - Static method in class net.lessy.util.configuration.Environment
Deprecated. Gets the singleton instance of the environment
getInstance() - Static method in class net.lessy.util.resource.ResourceManager
Get the one and only singleton instance.
getKey() - Method in exception net.lessy.util.exception.PracticalException
 
getKey() - Method in interface net.lessy.util.MessageHolder
 
getKey() - Method in class net.lessy.util.resource.MessageBean
 
getKeys() - Method in interface net.lessy.util.template.TemplateContext
Get all the keys for the values in the context.
getLogger(Class) - Static method in class net.lessy.util.logging.Logger
 
getMaxDecimals() - Method in class net.lessy.util.format.impl.FormatCurrency
Returns the maximal number of decimal places (two)
getMaxDecimals() - Method in class net.lessy.util.format.impl.FormatFloat
Returns the maximal number of decimal places (two)
getMessage() - Method in class net.lessy.util.resource.MessageBean
 
getMinDecimals() - Method in class net.lessy.util.format.impl.FormatCurrency
Returns the minimal number of decimal places (two)
getMinDecimals() - Method in class net.lessy.util.format.impl.FormatFloat
Returns the minimal number of decimal places (zero)
getString(String, Object[]) - Method in interface net.lessy.util.resource.MessageResolver
Gets a String by it's key
getString(String, Object...) - Method in class net.lessy.util.resource.ResourceManager
Gets a String by it's key
getString(MessageHolder) - Method in class net.lessy.util.resource.ResourceManager
Gets a string from the resource bundle.
getValue() - Method in class net.lessy.util.type.Amount
 
getYear(Date) - Static method in class net.lessy.util.DateUtil
Gets the Year-Part from a date

H

hashCode() - Method in class net.lessy.util.type.Amount
 
hasNext() - Method in class net.lessy.util.EmptyIterator
 
hasValidId() - Method in interface net.lessy.util.persistence.Identifyable
Is the Id valid?

I

Identifyable - Interface in net.lessy.util.persistence
 
ifNull(Object, String) - Static method in class net.lessy.util.Reject
Throws an exception if the passed object is null
info(Object) - Method in class net.lessy.util.logging.Logger
 
info(Object, Throwable) - Method in class net.lessy.util.logging.Logger
 
initialize() - Static method in class net.lessy.util.configuration.Environment
Deprecated. Initializes the Environment.
isCommand(String) - Method in class net.lessy.util.messaging.DefaultMessage
 
isCommand(String) - Method in interface net.lessy.util.messaging.Message
Compares this message's command string with the given command string and returns true only if they match.
isDebugEnabled() - Method in class net.lessy.util.logging.Logger
 
isEmpty(String) - Static method in class net.lessy.util.StringUtil
Prueft ob uebergebene Zeichenkette null oder ist bzw nur aus white spaces besteht.
isErrorEnabled() - Method in class net.lessy.util.logging.Logger
 
isInfoEnabled() - Method in class net.lessy.util.logging.Logger
 
isPersistent() - Method in interface net.lessy.util.persistence.Identifyable
Is there an Id at all?
isTraceEnabled() - Method in class net.lessy.util.logging.Logger
 
isWarnEnabled() - Method in class net.lessy.util.logging.Logger
 

L

Logger - Class in net.lessy.util.logging
 
Logger(Class) - Constructor for class net.lessy.util.logging.Logger
 

M

Message - Interface in net.lessy.util.messaging
Interface for the Message Objects.
MessageBean - Class in net.lessy.util.resource
 
MessageBean(MessageResolver, String, Object...) - Constructor for class net.lessy.util.resource.MessageBean
 
MessageBean(String, Object...) - Constructor for class net.lessy.util.resource.MessageBean
 
MessageHolder - Interface in net.lessy.util
 
MessageListener - Interface in net.lessy.util.messaging
 
MessageResolver - Interface in net.lessy.util.resource
Interface to get a string by it's message key.
MessageVetoException - Exception in net.lessy.util.messaging
Exception that can be thrown by a message listener to raise it's Veto against processing a particular message.
MessageVetoException() - Constructor for exception net.lessy.util.messaging.MessageVetoException
 
Money - Class in net.lessy.util.type
Wrappes an amount to represent a money amount
Money(BigDecimal, int) - Constructor for class net.lessy.util.type.Money
 
Money(BigDecimal) - Constructor for class net.lessy.util.type.Money
 
Money(double) - Constructor for class net.lessy.util.type.Money
 
Money(String) - Constructor for class net.lessy.util.type.Money
 
Money4 - Class in net.lessy.util.type
Wrappes an amount to represent a money amount with 4 decimal digits
Money4() - Constructor for class net.lessy.util.type.Money4
 
Money4(String) - Constructor for class net.lessy.util.type.Money4
 
Money4(double) - Constructor for class net.lessy.util.type.Money4
 
Money4(BigDecimal) - Constructor for class net.lessy.util.type.Money4
 
multiplyWith(Amount<T>) - Method in class net.lessy.util.type.Amount
 

N

net.lessy.util - package net.lessy.util
 
net.lessy.util.configuration - package net.lessy.util.configuration
 
net.lessy.util.exception - package net.lessy.util.exception
 
net.lessy.util.filefilter - package net.lessy.util.filefilter
 
net.lessy.util.format - package net.lessy.util.format
 
net.lessy.util.format.impl - package net.lessy.util.format.impl
 
net.lessy.util.logging - package net.lessy.util.logging
 
net.lessy.util.messaging - package net.lessy.util.messaging
 
net.lessy.util.persistence - package net.lessy.util.persistence
 
net.lessy.util.resource - package net.lessy.util.resource
 
net.lessy.util.services - package net.lessy.util.services
 
net.lessy.util.template - package net.lessy.util.template
 
net.lessy.util.template.velocity - package net.lessy.util.template.velocity
 
net.lessy.util.type - package net.lessy.util.type
 
next() - Method in class net.lessy.util.EmptyIterator
 
NumberUtil - Class in net.lessy.util
 
NumberUtil() - Constructor for class net.lessy.util.NumberUtil
 

O

objectToString(Object) - Static method in class net.lessy.util.StringUtil
Gets the toString-Version of the passed object or null if the object is null
objectToString(Object, String) - Static method in class net.lessy.util.StringUtil
Gets the toString-Version of the passed object or the passed default if the object is null
ObjectUtil - Class in net.lessy.util
Utilities around Objects
ObjectUtil() - Constructor for class net.lessy.util.ObjectUtil
 

P

Percentage - Class in net.lessy.util.type
Represents a Precentage
Percentage(String) - Constructor for class net.lessy.util.type.Percentage
 
Percentage(double) - Constructor for class net.lessy.util.type.Percentage
 
Percentage(BigDecimal) - Constructor for class net.lessy.util.type.Percentage
 
PracticalException - Exception in net.lessy.util.exception
 
PracticalException() - Constructor for exception net.lessy.util.exception.PracticalException
Constructs a new runtime exception with null as its detail message.
PracticalException(Throwable) - Constructor for exception net.lessy.util.exception.PracticalException
Constructs a new runtime exception with the specified cause and a detail message of (cause==null ?
PracticalException(String, Object...) - Constructor for exception net.lessy.util.exception.PracticalException
Constructs a new runtime exception with the specified detail message.
PracticalException(String, Throwable, Object...) - Constructor for exception net.lessy.util.exception.PracticalException
Constructs a new runtime exception with the specified detail message and cause.
process(String, String, TemplateContext, Writer) - Method in interface net.lessy.util.template.TemplateManager
Processes a template and writes the result to the Writer
process(String, String, TemplateContext, Writer) - Method in class net.lessy.util.template.velocity.VelocityTemplateManager
Processes a template and writes the result to the Writer
put(String, Object) - Method in interface net.lessy.util.template.TemplateContext
Adds a name/value pair to the context.

Q

Quantity - Class in net.lessy.util.type
Represents a Quantity amount
Quantity() - Constructor for class net.lessy.util.type.Quantity
 
Quantity(String) - Constructor for class net.lessy.util.type.Quantity
 
Quantity(double) - Constructor for class net.lessy.util.type.Quantity
 
Quantity(BigDecimal) - Constructor for class net.lessy.util.type.Quantity
 

R

receiveMessage(Message) - Method in interface net.lessy.util.messaging.MessageListener
 
registerMessageListener(MessageListener) - Method in interface net.lessy.util.messaging.Channel
Registers the given message listener to retrieve all upcoming messages.
registerMessageListener(MessageListener) - Method in class net.lessy.util.messaging.DefaultChannel
Registers the given message listener to retrieve all upcoming messages.
Reject - Class in net.lessy.util
Checks for several purposes like parameters for methods etc.
Reject() - Constructor for class net.lessy.util.Reject
 
remove() - Method in class net.lessy.util.EmptyIterator
 
remove(Object) - Method in interface net.lessy.util.template.TemplateContext
Removes the value associated with the specified key from the context.
resetTimePart(Calendar) - Static method in class net.lessy.util.DateUtil
Sets the time part in a calendar to zero (Hours, Minutes, Seconds, Milliseconds)
resetTimePart(Date) - Static method in class net.lessy.util.DateUtil
Sets the time part of a date to zero
ResourceManager - Class in net.lessy.util.resource
Convenient Manager around a resource bundle.
ResourceManager(String) - Constructor for class net.lessy.util.resource.ResourceManager
Constructor

S

secureEquals(Object, Object) - Static method in class net.lessy.util.ObjectUtil
Compares 2 Objects on equality, but with null-safety
sendMessage(Message) - Method in interface net.lessy.util.messaging.Channel
Sends a fire-and-forget message that is forwarded to all message listener.
sendMessage(Channel, Message) - Static method in class net.lessy.util.messaging.ChannelUtils
Convient method to send a message to a channel.
sendMessage(Message) - Method in class net.lessy.util.messaging.DefaultChannel
Sends a fire-and-forget message that is forwarded to all message listener.
sendVetoableMessage(Message) - Method in interface net.lessy.util.messaging.Channel
Sends a vetoable message.
sendVetoableMessage(Message) - Method in class net.lessy.util.messaging.DefaultChannel
Sends a vetoable message.
Service - Interface in net.lessy.util.services
 
setApplicationContext(ApplicationContext) - Method in class net.lessy.util.configuration.Environment
Deprecated. Setter for the spring application context called by Spring
setBundleName(String) - Method in class net.lessy.util.resource.ResourceManager
 
setChannelName(String) - Method in class net.lessy.util.messaging.DefaultChannel
 
setExtension(String) - Method in class net.lessy.util.filefilter.FileExtensionFilter
 
setTemplatePostfix(String) - Method in class net.lessy.util.template.velocity.VelocityTemplateManager
 
setTemplatePrefix(String) - Method in class net.lessy.util.template.velocity.VelocityTemplateManager
 
setTimeToEndOfDay(Date) - Static method in class net.lessy.util.DateUtil
Sets the time part to the last second of the day.
setVelocityEngine(VelocityEngine) - Method in class net.lessy.util.template.velocity.VelocityTemplateManager
 
shutDown() - Method in class net.lessy.util.configuration.Environment
Deprecated. De-Initializes the Environment, i.e. at the end of the Application.
shutDown() - Method in interface net.lessy.util.configuration.Environmentable
 
StringUtil - Class in net.lessy.util
All kind of String-Utility Methods
StringUtil() - Constructor for class net.lessy.util.StringUtil
 
subtract(Amount<T>) - Method in class net.lessy.util.type.Amount
Subtract an amount from this Amount

T

TechnicalException - Exception in net.lessy.util.exception
 
TechnicalException() - Constructor for exception net.lessy.util.exception.TechnicalException
Constructs a new runtime exception with null as its detail message.
TechnicalException(Throwable) - Constructor for exception net.lessy.util.exception.TechnicalException
Constructs a new runtime exception with the specified cause and a detail message of (cause==null ?
TechnicalException(String) - Constructor for exception net.lessy.util.exception.TechnicalException
Constructs a new runtime exception with the specified detail message.
TechnicalException(String, Throwable) - Constructor for exception net.lessy.util.exception.TechnicalException
Constructs a new runtime exception with the specified detail message and cause.
TemplateContext - Interface in net.lessy.util.template
 
TemplateManager - Interface in net.lessy.util.template
 
TIME - Static variable in class net.lessy.util.format.FormatUtil
Constant for the time-formatter
toString() - Method in class net.lessy.util.messaging.DefaultChannel
Prints the name of the channel
toString() - Method in class net.lessy.util.messaging.DefaultMessage
 
toString() - Method in class net.lessy.util.type.Amount
 
toUpperLower(String) - Static method in class net.lessy.util.StringUtil
Converts a String to the Format "Xxxxxx".
trace(Object) - Method in class net.lessy.util.logging.Logger
 
trace(Object, Throwable) - Method in class net.lessy.util.logging.Logger
 
trim(String) - Static method in class net.lessy.util.StringUtil
Trim with respect of Nullpointer

U

unregisterMessageListener(MessageListener) - Method in interface net.lessy.util.messaging.Channel
Unregisters the given message listener so that it won't receive any messages any more.
unregisterMessageListener(MessageListener) - Method in class net.lessy.util.messaging.DefaultChannel
Unregisters the given message listener so that it won't receive any messages any more.

V

VelocityTemplateContext - Class in net.lessy.util.template.velocity
Wrapper to implement the TemplateContext.
VelocityTemplateContext() - Constructor for class net.lessy.util.template.velocity.VelocityTemplateContext
 
VelocityTemplateManager - Class in net.lessy.util.template.velocity
Velocity-Implementation of a Template-Manager
VelocityTemplateManager() - Constructor for class net.lessy.util.template.velocity.VelocityTemplateManager
 
VetoableMessageListener - Interface in net.lessy.util.messaging
Every object that would like to receive vetoable messages sent to a channel, has to implement this interface and register at the channel.

W

warn(Object) - Method in class net.lessy.util.logging.Logger
 
warn(Object, Throwable) - Method in class net.lessy.util.logging.Logger
 

A B C D E F G H I L M N O P Q R S T U V W

Copyright © 2012. All Rights Reserved.