Package org.aitools.programd.util

Provides numerous utility capabilities used throughout Program D.

See:
          Description

Interface Summary
CacheListener Notifies the cache entry that it's been removed from the cache.
LRUCache.Entry<K_,V_> Interface for entry iterator;
ManagedProcess Specifies the interface for any process that should be managed in a separate thread.
Pulse A Pulse does something (anything) at a regular interval to indicate that the bot is alive.
 

Class Summary
AIMLWatcher Watches a set of AIML files.
ClassRegistry<B> Registers classes with aliases.
ClassUtils Contains utilities related to manipulating classes.
FileManager FileManager provides a standard interface for getting File objects and paths.
Heart A Heart beats.
IAmAlivePulse Prints the message "I am alive!" to the console/log.
InputNormalizer InputNormalizer replaces Substituter as the utility class for performing various stages of input normalization .
JDKLogHandler This handler takes a log message sent to the JDK's logging system and sends it to log4j.
LRUCache<K,V> Fixed length cache with a LRU replacement policy.
ManagedProcesses Controls processes that run in separate threads and need to be shut down before the bot exits.
MersenneTwister Mersenne Twister and MersenneTwisterFast
MersenneTwisterFast Mersenne Twister and MersenneTwisterFast
ObjectExemplarRegistry<B> Similar to ClassRegistry, but registers object exemplars.
PatternArbiter Provides utility methods for pattern-oriented tasks.
Settings A Settings object can read properties from a given path, or initialize itself with default values.
StringKit Contains various utilities.
StringTriple Contains three Strings.
StringTripleMatrix Manages a matrix of StringTriple s.
Substituter Provides substitution utilities for all classes.
SuffixFilenameFilter Provides a simple filename filter given an array of acceptable suffixes.
URITools URITools contains helper methods for dealing with URIs.
URLTools URLTools contains helper methods for dealing with URLs.
UserSystem Contains utilities for getting/setting system information.
WildCardFilter Implements a simple wildcard file filter.
XMLKit A collection of XML utilities.
 

Exception Summary
CouldNotCreateFileException Thrown when a file cannot be created.
FileAlreadyExistsAsDirectoryException This exception indicates that an attempt to create a file cannot be fulfilled, because there is already a directory with the requested name.
FileAlreadyExistsAsFileException This exception indicates that an attempt to create a directory cannot be fulfilled, because there is already a file with the requested name.
NoMatchException Indicates that no match was found in the Graphmaster .
NotAnAIMLPatternException Thrown by PatternArbiter when it gets a pattern candidate that does not meet the definition of an AIML pattern.
NotARegisteredClassException This exception is thrown by ClassRegistry.get when its label does not correspond to a class that is registered by the ClassRegistry.
NotARegisteredObjectException This exception is thrown by ObjectExemplarRegistry.get when its label does not correspond to a class that is registered by the ObjectExemplarRegistry.
 

Error Summary
DeveloperError A developer error.
UnspecifiedParameterError An error condition in which a necessary parameter has not been specified.
UserError A user error.
 

Package org.aitools.programd.util Description

Provides numerous utility capabilities used throughout Program D.