Package org.geotools.util
package org.geotools.util
Contains utilities and addition to the collection framework. Some classes implements the
Set
interface and provides facilities for mutually exclusive set, caching or handling ranges of values.-
ClassDescriptionA helper class for parsing command-line arguments.Encodes and decodes to and from Base64 notation.A
Base64.InputStream
will read data from another java.io.InputStream, given in the constructor, and encode/decode to/from Base64 notation on the fly.ABase64.OutputStream
will write data to another java.io.OutputStream, given in the constructor, and encode/decode to/from Base64 notation on the fly.CanonicalSet<E>A canonical set of objects, used to optimize memory use.Collection that ensures that all elements are assignable to a given base type.CheckedHashMap<K,V> A checked and synchronizedMap
.A central place to register transformations between an arbitrary class and aNumber
.A set of miscellaneous methods working onClass
objects.Throws when a stream can't be parsed because some content uses an invalid format.Converts values of one type into another.Factory used to create instances ofConverter
.Convenience class for converting an object from one type to an object of another.A range of dates.Parses thetime
parameter of the request.AFileFilter
implementation using Unix-style wildcards.DerivedMap<BK,K, V> A map whose keys are derived from an other map.DerivedSet<B,E> A set whose values are derived from an other set.DisjointSet<E>A set which is disjoint from othersDisjointSet
s.Writes characters to a stream while expanding tabs ('\t'
) into spaces.Base class for generic scoped and local name structure for type and attribute name in the context of name spaces.A writer that put some spaces in front of every lines.ResourceBundle
implementation using integers instead of strings for resource keys.Resource compiler.A list of unsigned integer values.A set of utilities methods related to JDBC (Java Database Connectivity).List of elements sorted by a key which is not the element itself.A linked HashMap set up for easy construction.LazySet<E>An immutable set built from an iterator, which will be filled only when needed.Parses a line of text data.Writes characters to a stream while replacing various EOL by a unique string.Identifier within a name space for a local object.MapEntry<K,V> A default implementation ofMap.Entry
which map an arbitrary key-value pairs.A range of numbers associated with a unit of measurement.A factory forGenericName
objects.Utility class for managing memory mapped buffers.NullObject implementation forEntityResolver2
(used as an alternative to null checks).A range of numbers.ObjectCache<K,V> A cache for arbitrary objects.This is facade around several constructs used by GeoTools for internal caching.Bridges to optional dependencies (especiallywidget-swing
module).Set of elements having a partial order, established by setting before/after relationship callingPartiallyOrderedSet.setOrder(Object, Object)
EntityResolver implementation to prevent use external entity resolution to local files.Range<T extends Comparable<? super T>>A range between a minimum and maximum comparable.RangeSet<T extends Comparable<? super T>>An ordered set of ranges.An international string backed by a resource bundle.Fully qualified identifier for an object.A simple international string consisting of a single string for all locales.SoftValueHashMap<K,V> A hash map implementation that uses soft references, leaving memory when an entry is not used anymore and memory is low.A delegate that can be used to perform clean up operation, such as resource closing, before the values cached in soft part of the cache gets disposed ofGeoTools custom ersion of Spotbugs SuppressFBWarnings, added here to avoid dependencies on extra jars and for IDE friendlyness (IntelliJ does not seem to provide completion for optional dependencies, even if annotations not found at runtime apparently don't cause issues).A collection of utility methods for Swing.A character stream that can be used to format tables.An unmodifiable view of an array.Throws when an operation can't use arbitrary implementation of an interface, and a given instance doesn't meet the requirement.Utilities for manipulating and converting to and fromURL
s.Holds a version number.A thread invokingReference.clear()
on each enqueded reference.WeakHashSet<E>A set of objects hold by weak references.WeakValueHashMap<K,V> A hashtable-basedMap
implementation with weak values.Escape codes from ANSI X3.64 standard (aka ECMA-48 and ISO/IEC 6429).Simple operations on arrays.Simple mathematical functions.