Package org.sandev.basics.util

The util package holds commonly used code which is intended for general programming.

See:
          Description

Interface Summary
AuthFilter An AuthFilter is a plain java class implementing data visibility logic for use by UI nodes and Authorizer nodes.
Authorizer The Authorizer interface identifies a node as being able to perform the special purpose functions required for secure processing.
AuthUser An interface to identify a user of the system for authorization purposes.
AuthUserLookup An interface declaring this object supports finding an AuthUser via their ID.
CommBridge A bridge between communications used internally by the application, and communications used outside the application.
IDCache Defines a reliable and efficient lookup of a persistent object instance via its unique identifier.
IDLookup Provides general object resolution capabilities.
InstanceClassEnumerator Provide a mapping between short names of messages or interfaces, and derived or implementing classes.
MessageValidator A MessageValidator class can be configured as part of a TestScript, to check for arbitrary input situations.
NameLookup Provides general object resolution capabilities.
Resolvable Interface indicating reference fields within this object can be resolved.
SandEncryptor Simplified interface for reversable string encryption used in messaging and other applications.
SimpleMailSender A simple mail send utility interface.
TrustedInstanceLookup An interface declaring this object supports direct, full retrieval of the current message instance information.
UIFileLocator Provide file and URL access to uploaded or generated files.
UIFormAdaptor Renders/reconstructs a UIFormContext to/from a user interface.
UIFormAdaptorCallback Callback interface for UIFormAdaptor providing IDLookup, NameLookup, and dynamic form processing functions.
UIFormManager Handles the processing of a UIFormContext.
UIFormOwner Callback interface implemented by classes that use UIFormManager.
UIRenderInput An input operand used by a UIFormAdaptor to retrieve input parameters.
UIRenderOperand A relatively opaque class representing what a UIFormAdaptor needs to enable output rendering or input reconstruction.
UIRenderOutput A common base for all output operands.
UIRenderOutputDirect Used by a UIFormAdaptor to render a form for display.
UIRenderOutputStream Used by a UIFormAdaptor to render a form for display.
UIRenderOutputString Used by a UIFormAdaptor to render a form for display, where the rendered output can be accessed as a String afterwards.
 

Class Summary
AbstractFormManager Provides a root implementation of a UIFormManager delegating data manipulation tasks to extending classes.
ArrayAssociation A standard associative list represented by two equal length arrays.
ArrayUtils Simple array management utilities to fill gaps in common use.
ConfirmationValidator The ConfirmationValidator implements the MessageValidator interface by simply confirming everything is what it looks like.
CSVTransforms Converts an array of basic types to a comma separated value String.
DateUtil Common date manipulation utilities.
EnvGrabber Provides a utility to return the value of something set as an environment variable.
FileUtil Common file manipulation utilities.
Hexifier An alternative to base64 encoding in some cases.
IDCacheBase Provides common methods for all IDCache implementations.
IntReference Holds a reference to an int.
MatchUtil Simple match expression evaluation.
NamedSingletonIDCache Provides singleton instances of one or more IDCaches.
NodeLocalIDCache A simple IDCache for use by any single node.
NullEncryptor A degenerate SandEncryptor that simply returns what it was given without doing any work.
PropUtils A utility for value lookup in localized property files.
ReaderWriterLock A multiple reader single writer lock utility.
RootedFormManager An implementation of a UIFormManager used for working with a tree of non-persistent objects.
SampleEncryptor A sample encryptor implementation.
SingletonIDCache A singleton IDCache for shared object caching.
StandardFormManager An implementation of UIFormManager suitable for general use.
StringUtil Utilities for String value manipulation.
TextEncoder A utility class for encoding and decoding text, used to preserve text formatting.
UIFormContext A contract between a user interface and the system.
UserWorkLog An accumulative logger for messages to be delivered to the user while the system does work.
XMLTextProcessing Provides raw text translation services for XML.
 

Exception Summary
DuplicateReferenceException A specialized exception for reporting duplicate references.
MailException A specialized exception for mail processing problems.
SandEncryptorException A specialized exception for UIFormManagers to complain with.
UIFormAdaptorException A specialized exception for UIFormAdaptors to complain with.
UIFormManagerException A specialized exception for UIFormManagers to complain with.
 

Package org.sandev.basics.util Description

The util package holds commonly used code which is intended for general programming. Use at will.

Utilities defined here do not require anything beyond standard java. They have no impact to application porting.