Package dk.netarkivet.common.utils

Interface Summary
CleanupIF Interface for classes which can be cleaned up by a shutdown hook.
FreeSpaceProvider This interface encapsulates providing the number of bytes free on the file system.
Named This interface describes objects that have a name.
StringTree<T> An interface defining a structure with nodes, subnodes and leaves.
XmlTree.ValueParser<T> This interface defines how the value of an xml leaf is parsed to get a value of type T.
 

Class Summary
AllDocsCollector Simple Collector to collect all results from Lucene query.
ApplicationUtils This class provides functionality for starting applications.
ChecksumCalculator Calculates MD5 or SHA1 checksums on files using the built-in Java methods.
CleanupHook Defines a ShutdownHook for a class which has a cleanup method.
DBUtils Various database related utilities.
DefaultFreeSpaceProvider Default Free Space Provider of the number of bytes free on the file system.
DiscardingOutputStream An OutputStream implementation that simply discards everything it gets.
DomainUtils Utilities for working with domain names.
EMailNotifications Delivers NetarchiveSuite notifications by email.
EMailUtils Utilities for sending an email.
ExceptionUtils Utilities for reading a stacktrace.
FileArrayIterator<T> An iterator that iterates over elements that can be read from files, given an array of files.
FilebasedFreeSpaceProvider File Free Space Provider returns the number of bytes free out of a file.
FileUtils Misc.
FilterIterator<T,S> An iterator that filters out and converts items from another iterator.
FixedUURI Fixed UURI which extends UURI to fix an NPE bug in getReferencedHost.
FreeSpaceProviderFactory Factory for FreeSpaceProvider.
I18n Internationalization class.
InputStreamUtils This class provides various utilities for inputstreams.
IteratorUtils Various utilities to work with iterators more easily.
JMXUtils Various JMX-related utility functions.
KeyValuePair<K,V> A generic Map.Entry class, useful for returning key-value-like results.
LargeFileGZIPInputStream Subclass of GZIPInputstream, including a workaround to support >2GB files.
LoggingOutputStream OutputStream which can be used to redirect all stdout and stderr to a logger.
Notifications This class encapsulates reacting to a serious error or warning message.
NotificationsFactory Get a notifications handler for serious errors.
PrintNotifications A notification implementation that prints notifications on System.err.
ProcessUtils Various utilities for running processes -- not exactly Java's forte.
ReadOnlyByteArray Implements access to an array in a read-only fashion.
ResultSetIterator<T> Similar to a FilterIterator, but takes a java.sql.ResultSet (which is neither Iterable, Iterator nor Enumeration).
Settings Provides access to general application settings.
SettingsFactory<T> Generic class for creating class instances from class names given in settings.
ShutdownHook Defines a ShutdownHook for a class which has a cleanup method.
SimpleXml Utility class to load and save data from/to XML files using a very simple XML format.
SparseBitSet A sparse implementation of a BitSet, that does not require memory linear to the largest index.
StreamUtils Utilities for handling streams.
StringUtils Utilities for working with strings.
SystemUtils Miscellanous utilities for getting system resources.
TableSort contains the data about how a table is sorted.
TimeUtils Various utilities for waiting some time.
XmlTree<T> A class that implements the StringTree interface by backing it with XML.
XmlUtils Utilities for handling XML-files.
ZipUtils Utilities for interfacing with the (fairly low-level) java.util.zip package.
 

Enum Summary
LoggingOutputStream.LoggingLevel Enum representing the standard logging levels for commons logging.
NotificationType Encapsulates the three different notification Types.
TableSort.SortOrder list of the sort order.