Package uk.ac.starlink.util
package uk.ac.starlink.util
Miscellaneous utility classes.
-
ClassDescriptionGeneralised parser for data stored as a table in a plain text file.This class provides a ClassLoader which looks on a given class path.Reads in base-64 encoded input and spits out the raw binary decoding.Utility class for configuring dynamically loaded objects.Represents an object configuration operation.OutputStream that encodes to Base64 with buffering.DataSource implementation that uses an internal byte buffer to store the data.Extendable array of bytes.Utility class for constructing CGI query strings.Characterises the compression status of a stream, and provides methods for decompressing it.Annotation that prepares a mutator method for use and documentation by the
BeanConfig
class.Defines a policy for Content Codings used in HTTP connections.Represents a Content Type (MIME type) string.Filter input stream that counts the number of bytes read.CountMap<T>Keeps track of the number of times an item of type T has been added.Customisable implementation ofURLStreamHandlerFactory
.InputStream which provides buffering and an efficient DataInput implementation.BufferedOutputStream subclass implementing the DataOutput interface.Represents a stream-like source of data.Defines an object which can return an output stream, and hence represents the potential destination of a stream of data.Provides convenience methods for handling DOMs.Extendable array of doubles.A DataSource implementation based on aFile
.Extendable array of floats.Convenience class which wraps one of the NIO <Type>Buffer classes to provide generic functionality.Filter input stream that records the first few bytes read from its base stream for later examination.Utility functions related to Icons.Extendable array of integers.IOConsumer<T>Consumer-like interface that allows an IOException to be thrown.IOFunction<T,R> Function-like interface that allows an IOException to be thrown.IOSupplier<T>Supplier-like interface that allows an IOException to be thrown.Provides static methods which do miscellaneous input/output tasks.Class containing methods for reading strings from the user (standard input).Provides utilities associated with loading resources.Exception thrown if an object creation fails for reasonable reasons.Utilities for working with logging.Extendable array of longs..MapGroup<K,V> Represents an ordered list ofMap
s containing related data.Used to generate a proxy instance which implements a given interface and delegates its calls to each of a given list of target implementations.Represents the set of Nodes in the tree rooted at a particular DOM Node.TheVisitor
processes a single node in a tree.Manages dynamic creation of objects from a known set of classes.Pair<T>Aggregates two objects of the same type.Class of physical and astronomical constants.Thread which reads data from a pipe.Provides an extendable list of primitive values.An abstract base-class for objects that want to encode and decode themselves from an XML stream.DataSource that uses the standard output of a System process.Authenticator implementation which uses system properties to set fixed username and passwords for HTTP Basic Authentication.A singleton class for controlling the configuration of the web proxy system properties.A DataSource which represents a resource available from the class loader'sClassLoader.getResourceAsStream(java.lang.String)
method.Utility sub-interface of Splittable suitable for use with splittable data that can be iterated over.Extendable array of shorts.Convenience class to manipulate XML Sources.Defines an object that can collect values from a Splittable into an accumulator.Defines the details of a concurrency policy as used by SplitProcessor.SplitProcessor<S extends Splittable<S>>Invokes processing on Splittables.Splittable<S extends Splittable<S>>Defines an object which can be split into two for subdivided processing.Provides specialised XML entity resolution.Utility to generate a single jar file containing all the resources referenced by a given jar file.A DataSource which stores its data in a temporary file.This class extendsTestCase
, providing some additional assertions and methods for providing test data for convenience.This class decompresses an input stream containing data compressed with the unix "compress" utility (LZC, a LZW variant).A DataSource implementation based on aURL
.Provides convenience methods for resolving URLs.Looks out for an unused value in a sequence of submitted numbers.Mixin interface which indicates an object built on top of a base object.Utilities relating to theWrapper
class.Interface for objects that can encode and decode their internal configuration within the content of anElement
.Provides methods for writing XML output to a stream.