Package org.limitless.util

The util package holds useful classes which aren't tied to a particular project at Limitless Knowledge Association.

See:
          Description

Interface Summary
Annotation Describes an interface for Annotating objects.
CommandLineArgumentParser.DetailsBuilder  
ConcurrentTCPService.ClientConnection This interface allows access to the writer and management routines, such as fetching an address.
ConcurrentTCPService.ReaderSlave A ReaderSlave processes the input from a client connection and sends proper output back.
ConcurrentTCPService.ReaderSlave.Factory  
FileVisitor.Worker Each worker processes a single file.
GeneralEventListener.Invoke  
GeneralEventSource.Invoke A listener must implement this if it wants to be invoked by this source and requires no exceptions be thrown.
GeneralEventSource.InvokeWithException A listener must implement this if it wants to be invoked by this source and requires exceptions be thrown.
InterruptableTimeout.OnTimeout  
ThreadPooledEventQueue.Worker This inteface specifies that a worker will, on demand, handle an object from the queue.
ThreadPooledEventQueue.Worker.Factory This is used to create a worker on demand.
UDPPacketEvent.Listener This describes the methods al listeners must implement for call-backs.
UDPPacketEvent.Source This describes the functions all sources needed in order to serve the listeners.
 

Class Summary
BitDestination This class provides a 'sink' for data trickled in a bit or bits at a time, instead of bytes at a time.
BitSource  
CommandLineArgumentParser This class trivializes the parsing of command-line arguments that obey the following structure: --flag - the presence of this stands alone -option value - this is an option with a single value following Anything else is an argument.
CommandLineArgumentParser.BasicDetailsBuilder Basic command line argument builder.
CommandLineArgumentParser.BasicParseStrategy  
CommandLineArgumentParser.DefaultDetailsBuilder Default command line argument builder.
CommandLineArgumentParser.Details This holds the processed set of command line arguments with no leading dashes on anything.
CommandLineArgumentParser.Option This holds option name and value, with the leading "-" stripped from the name.
ConcurrentTCPService This class provides the template-method for a TCP service that listens for incomming connections.
ConcurrentTCPService.EchoService This is a class used for testing
ConcurrentTCPService.EchoService.Factory  
CountSynchronizer A CountSynchronizer is used to synchronize a fixed set of threads.
FileVisitor This class lets each file in directory that matches a regular expression be visited in sequence by a given object.
GeneralAnnotation  
GeneralEventListener This base class provides a simple way to ensure that an event listener can handle all the queue management needed for multiple sources.
GeneralEventSource This class provides a simple way to ensure that an event source can handle all the queue management.
GroupClassLoader This loads a group of classes by regex pattern in a directory that share a common interface.
GroupClassLoader.Worker Objects of this class will populate the destination list.
HtmlSanitizer This class has static methods for cleaning strings for safe HTML viewing.
InterruptableTimeout This class takes an object and a timeout, and when the timeout occurs, if it hasn't been aborted, it invokes "go" on the object.
KnownCommandLineArgumentsDetailsBuilder This class provides a builder that throws an exception if the option or flag is unknown.
NetAddress This class represents the address of a socket - both the hostname and port.
RandomStringGenerator A quick way to get a random string of letters and numbers (without strength needed for strong cryptographic implementations).
ReaderViaSocket This class stores the socket that the reader is fetched from in order to allow the reader to disabled with a call to close of the reader.
ReadonlyThreadsafeCollection Use this when you are using Collections.sychronized and you want to further restrict access to read-only.
ReadonlyThreadsafeMap Use this when you are using Collections.sychronized and you want to further restrict access to read-only.
ReadonlyThreadsafeSet Use this if the set interface needs to stay supported.
ReadonlyThreadsafeSortedMap Use this if the SortedMap interface needs to stay supported.
ReadonlyThreadsafeSortedSet Use this if the SortedSet interface needs to stay supported.
RegexValues This is a bean that will _explain_ the grouping resulting from a given regular expression with a line of sample text.
SaxUtils  
ThreadPooledEventQueue This class provides a queue with a dedicated pool of thread workers to handle all entries into it.
ThreadPooledEventQueue.TestWorker Test worker for producer/consumer testing.
ThreadPooledEventQueue.TestWorker.Factory  
Types This is a pure utility class for useful type conversions.
UDPConnection This class is used to make an event-driven receiving UDP socket act as a sending destination as well.
UDPPacketDump This provides UDP packet diagnostic routines.
UDPPacketEvent This class represents a packet received.
UDPSource This class wraps a UDP datagram socket and allows one or more listeners to receive each packet as it arrives.
UriIdentifier This class represents a URI that is meant to be "converted" into a target identifier of a real type.
WhitespaceParsedString This takes a string and provides access to each element in it by index (starting from zero) broken by one or more whitespace characters.
 

Exception Summary
Annotation.AnnotationNotFoundException This exception indicates that the requested annotation was not present on this object.
CommandLineArgumentParser.ParseException This exception class is used when a parse rule is violated.
ThreadPooledEventQueue.QueueDisabledException Exception class for internal use.
 

Package org.limitless.util Description

The util package holds useful classes which aren't tied to a particular project at Limitless Knowledge Association.

These classes span a large array of features, and are being added to constantly.



Copyright © 1995, 2004 Limitless Knowledge Association, All Rights Reserved.