Package com.waveset.util

A set of general purpose utility classes.

See:
          Description

Interface Summary
CommandProcess.LineOption CLI option interface.
CommandProcess.Register CLI option register
FlatFileIterator This interface is provided for use with the Flat File ActiveSync Adapter.
HttpsUtil.InputStreamHandler Enables client code to process data in the response from an HTTPS server after posting a message to it.
ITrace Deprecated. as of 6.0, use com.sun.idm.logging.trace instead.
JSSE.ServerTrustManager Our own X509TrustManager interface which will work in either JDK1.3 or JDK1.4.
Supplier Supplier is a Callable-like object that indicates when further calls should not be made.
VariableResolver  
WavesetProperties.Listener Implement this interface and call
   WavesetProperties.registerListener(this)
to have your propertiesFileChanged() method called whenever the underlying properties file changes.
WavesetProperties.PropertiesProvider Properties provider to be used for loading waveset properties Currently this is used by the netbeans plugin to override the default WavesetProperties loading mechanism.
XmlObject An interface for objects that are able to serialize and deserialize themselves using XML.
XmlObjectHandler An interface that provides methods to transform objects to and from XML.
 

Class Summary
AbstractServerTrustManager Partial implementation of JSSE.ServerTrustManager which has an implementation for storing the certificate in a KeyStore.
AbstractXmlObject An abstract class that implements the XmlObject interface and provides a set of default implementations for some methods.
AssertUtil Miscellaneous assert-type methods.
Base64  
Binary The Binary class represents an arbitrary chunk of binary data.
BlockingQueue  
BlockingQueueIterator The BlockingQueueIterator emulates an Iterator, but allows WavesetException to be thrown by both nextElement() and hasMoreElements().
BlockingQueueIterator.BQIData The BQIData class is use to wrap all data objects inserted into the queue.
BlockIterator Deprecated. as of 7.0, for iteration of block-oriented datastreams consider using the Supplier and DoubleBufferedQueue classes instead.
BufferedIterator Deprecated. as of 7.0, for iteration of block-oriented datastreams consider using the Supplier and DoubleBufferedQueue classes instead.
BufferedSupplier BufferedSupplier will push objects that are retrieved from 'supplier' into the queue 'queue'.
ByteHex Utility class for converting byte arrays to and from a Hex string
CallFrame Represents an individual method in the call stack.
CallStack Represents (the subset that is visible to WSTrace of) the Java call stack for a thread.
CallStatistics Summarizes invocations of a specific method.
CallTimer Records call statistics for Lighthouse methods.
CallTree A network of methods that call each other.
CaseInsensitiveStringComparator  
CaseInsensitiveStringMap  
CertificateUtil  
Checksum  
Cipher Lighthouse wrapper for a javax.crypto.Cipher object.
Command Launches commands.
CommandProcess Launches commands.
CommandProcess.LineOptionImpl Default implementation of the LineOption interface.
ConnectionPool A general purpose JDBC connection pool.
ConnectionPool.Bucket A helper class that maintains a list of connections for a particular key.
Console A simple console interpreter for administration and testing.
CRLDownloader Class which encapsulates all the logic for fetching a collection of CRLs from a URL
Crypt jcrypt.java Java-based implementation of the unix crypt command Based upon C source code written by Eric Young, eay@psych.uq.oz.au
CryptoUtil A bag of utilities.
CSVParser  
DateParser This class deals with Date related issues.
Debug Deprecated. - Use com.sun.idm.logging.Trace instead
DeferredInputStream Utility for when you have an input stream which you may which to process out of order or repeatedly.
DelimitedFileParser  
Doc2Html  
DoubleBufferQueue The DoubleBufferQueue class encapsulates the logic required to allow double buffering of objects coming from a 'supplier' Since the queue is the same length as the expected buffer size, the queue acts as one buffer, with the second buffer existing inside the BufferedSupplier.
Encoding Utilities related to character encodings.
EncryptedData The EncryptedData class is to be used by any object containing data which should be private or encrypted to prevent it from being stored or transmitted in clear text.
Encryptor  
Enum Convenient base class for enumerated types.
FileCounter  
FlatFileDiffIterator  
FlatFileDiffIterator.IndexEntry  
FlatFileDiffIterator.KeyComparator  
GUID  
HtmlUtil Deprecated. - Use com.waveset.ui.util.html.HtmlUtil.
HttpClient A class providing a high level interface for sending basic HTTP requests to a server, and returning responses.
HttpClient.Cookie Helper class containing information about cookies.
HttpsUtil Utility to provide Https connection functionality regardless of Java version.
IteratorEnumeration Adapts an Iterator into an Enumeration
Javascript Helper class to execute Javascript
JCECipher Extends Cipher to wrap an instance of javax.crypto.Cipher.
JdbcUtil Various JDBC utilities.
JndiUtil Various JDBC utilities.
JREVersion Utility class for getting current JRE version.
JspBreakpoint Title: Description: Copyright: Copyright (c) 2000 Company:
JSSE Bag of JSSE utilities
JSSE.MyTrustManagerFactorySpi  
KeyUtil This is a utility class encode and decode keys.
KiddieConnection Wraps a JDBC connection for use with a KiddiePool.
KiddiePool A private, homogeneous JDBC connection pool.
LDIFParser  
LHClassLoader Lighthouse custom class loader (in effect) sets its own CLASSPATH.
ListUtil Miscellaneous utilities for working with Lists, Maps, and Collections.
Locales  
LRUCache A simple implementation of Map that limits the number of entries and, when the limit is reached, scavenges the least recently used item to replace with the new item.
LRUCache.CacheReport  
MethodTimer A simple class to keep track of how long a method call takes.
MethodTimer.HistoryEntry A simple class to store a history entry, used for charting performance
MethodTimer.StackTraceEntry A simple class to get the current stack trace, wrap it for storage in a collection or map, and keep track of a count.
NamedValue A named value, where the name is a String.
ObjectID Class responsible for maintaining a mapping between objects and a unique identifier for that object.
Pair An arbitrary pair of objects.
ParseStringCharacterIterator Adds some additional functionality to the StringCharacterIterator.
PdfReportRenderer A simple rendering utility that takes an XML document or Report object and turns it into PDF.
PipeDelimitedParser  
PooledConnection A wrapper around a JDBC Connection object created by the ConnectionPool class.
Power  
Queue  
Quota A simple class that provides arbitrary named quotas for things and an interface to wait when the quota is exceeded for an item.
RandomGen  
Reflection Reflection utilities.
RegExUtil Take a look at the RegExUtilTest for examples on what to expect.
Report  
ReportBuilder A class that provides a convenient set of methods for building up <report> documents.
ReportRenderer A simple rendering utility that takes an XML document or Report object and turns it into either HTML or Text.
ReportSection  
ReportTable A class that provides a convenient set of methods for minipulating tables in a report section.
RFC2253Parser  
RFC2396URLPieceEncode  
SafeSleep Initially copied from com.waveset.adapter.util, but then modified it to be more robust to changes in the system clock.
Semaphore  
SignatureUtil This is a utility class for sign and verify the signature.
SignedString  
SoftCache A cache that stores items using normal Java references while the item is active (i.e.
StringAppender StringAppender is built for 'append' speed and scalability it uses block based storage to reduce the number and amount of allocations.
StringBufferWrapper A class that wraps a StringBuffer and provides awareness of XML.
StringPrintWriter Simple extension of PrintWriter so you don't have to create a StringWriter to pass to it, when you want the functionality of PrintWriter but you want it in a buffer.
StringUtil String utilities..
SwingWorker This is the 3rd version of SwingWorker (also known as SwingWorker 3), an abstract class that you subclass to perform GUI-related work in a dedicated thread.
SynchronizedQueue  
Trace Deprecated. as of 6.0; use com.sun.idm.logging classes instead.
TraceWindow A silly little Swing application that pops up a window containing a text area that can display trace messages.
TreeHtmlUtil  
TreeNode A simple collection that stores the nodes in a tree and provides for depth-first and breadth first iteration.
URLBuilder  
URLQueryParser  
URLUTF8Decoder  
URLUTF8Decoder.ByteToCharConverter  
URLUTF8Decoder.ByteToCharUTF8  
URLUTF8Encoder Provides a method to encode any string into a URL-safe form.
UserAgent Simple class to model the User-Agent field in a http header.
Util A bag of utilities.
Util.StringComparator Internal class that implenents the Comparator interface for sorting the rows in the table.
Util.TimePeriod Used to represent a time period, such as number of days, weeks or months, relative to an arbitrary day.
Util.TimeUnit Used by the TimePeriod class to indicate the unit of the period counter.
VariableExpander Utilities for parsing a string containing variable references of the form "$(name)" and building a string containing the expanded values of those variables.
VariableExpander.MapResolver A class that implements the VariableResolver interface, and looks up variables in a Map.
WavesetProperties A class that provides a cached interface to the waveset.properties file.
WebHelpCatalog  
WSLoginException.LoginError Used for values of the _loginErrorInfo field
XmlBuffer A class that wraps a StringBuffer and provides awareness of XML.
XmlElement A wrapper around the standard DOM Element that provides a more convenient set of methods.
XmlObjectFactory A class that provides factory methods to create Object instances from XML and serialize objects to XML.
XmlObjectWrapper Convenient base class for XmlObjects which just introduce a new element to wrap some other XmlObject as the payload.
XmlParser A simplified wrapper around the Xerces DOM parser.
XmlUtil XML parsing and DOM manipulation utilities.
 

Exception Summary
AuditLoggingError For optionally throwing an exception across from AuditEventHandler to WSEvent.
ConfigurationError  
ExceptionWrapper An exception class that can wrap other exceptions.
HttpsUtil.HttpsConnectionException  
HttpsUtil.HttpsUtilException Allows differentiating between exceptions passed up from implementation code, and exceptions detected by the HttpsUtil itself.
InternalError A common class for various "internal" errors for which we don't want to have specific exception classes.
InvalidArgument  
InvalidXmlString Thrown when an XML string is invalid.
IOException Application analog to java.lang.IOException.
NotInitialized  
ProcessException  
RuntimeExceptionWrapper For wrapping exceptions as a RuntimeException.
Shutdown  
TreeContentAdapterException Exception indicates a problem with the use of the adapter..
TreeContentAdapterFactoryException Exception indicates a problem with the construction of adapters..
TreeContentFilterException Exception indicates a problem with the use of the filter..
TreeNode.WouldCreateCycleException  
WavesetException The base exception thrown by Waveset components.
WSAuthorizationException Signals that user authentication failed
WSCredentialsTimeoutException Signals that either a user's or administrator's subject has timed out
WSFailedLoginException Signals that user authentication failed
WSLoginException Signals that user authentication failed
WSMaxPasswordLoginsExceededException Signals that user authentication failed
WSMaxQuestionLoginsExceededException Signals that user authentication failed
WSPasswordChangeLimitException Signals that user authentication failed
WSPasswordExpiredException Signals that user authentication failed
WSSessionTerminatedException Signals that user authentication failed
WSUserDisabledException Signals that user authentication failed
WSUserLockedException Signals that user authentication failed
XmlParseException An exception thrown to indicate one or more validation errors encountered during form processing.
 

Package com.waveset.util Description

A set of general purpose utility classes.