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.-
Interface Summary Interface Description CheckedCollection<E> Collection that ensures that all elements are assignable to a given base type.Converter Converts values of one type into another.ConverterFactory Factory used to create instances ofConverter
.ObjectCache<K,V> A cache for arbitrary objects.SoftValueHashMap.ValueCleaner<K,V> 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 of -
Class Summary Class Description AbstractInternationalString Arguments A helper class for parsing command-line arguments.Base64 Encodes and decodes to and from Base64 notation.Base64.InputStream ABase64.InputStream
will read data from another java.io.InputStream, given in the constructor, and encode/decode to/from Base64 notation on the fly.Base64.OutputStream 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.CheckedArrayList<E> CheckedHashMap<K,V> A checked and synchronizedMap
.CheckedHashSet<E> ClassChanger<S extends Comparable<S>,T extends Number> A central place to register transformations between an arbitrary class and aNumber
.Classes A set of miscellaneous methods working onClass
objects.Converters Convenience class for converting an object from one type to an object of another.DateRange A range of dates.DateTimeParser Parses thetime
parameter of the request.DefaultFileFilter 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.ExpandedTabWriter Writes characters to a stream while expanding tabs ('\t'
) into spaces.GenericName Base class for generic scoped and local name structure for type and attribute name in the context of name spaces.GrowableInternationalString IndentedLineWriter A writer that put some spaces in front of every lines.IndexedResourceBundle ResourceBundle
implementation using integers instead of strings for resource keys.IndexedResourceCompiler Resource compiler.IntegerList A list of unsigned integer values.JDBC A set of utilities methods related to JDBC (Java Database Connectivity).KeySortedList<K extends Comparable<K>,V> List of elements sorted by a key which is not the element itself.KVP A linked HashMap set up for easy construction.LazySet<E> An immutable set built from an iterator, which will be filled only when needed.LineFormat Parses a line of text data.LineWriter Writes characters to a stream while replacing various EOL by a unique string.LocalName Identifier within a name space for a local object.MapEntry<K,V> A default implementation ofMap.Entry
which map an arbitrary key-value pairs.MeasurementRange<T extends Number & Comparable<? super T>> A range of numbers associated with a unit of measurement.NameFactory A factory forGenericName
objects.NIOUtilities Utility class for managing memory mapped buffers.NullEntityResolver NullObject implementation forEntityResolver2
(used as an alternative to null checks).NumberRange<T extends Number & Comparable<? super T>> A range of numbers.ObjectCaches This is facade around several constructs used by GeoTools for internal caching.OptionalDependencies Bridges to optional dependencies (especiallywidget-swing
module).PartiallyOrderedSet<E> Set of elements having a partial order, established by setting before/after relationship callingPartiallyOrderedSet.setOrder(Object, Object)
PreventLocalEntityResolver 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.ResourceInternationalString An international string backed by a resource bundle.ScopedName Fully qualified identifier for an object.SimpleInternationalString 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.SwingUtilities A collection of utility methods for Swing.TableWriter A character stream that can be used to format tables.UnmodifiableArrayList<E> An unmodifiable view of an array.URLs Utilities for manipulating and converting to and fromURL
s.Utilities Version Holds a version number.WeakCollectionCleaner 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.X364 Escape codes from ANSI X3.64 standard (aka ECMA-48 and ISO/IEC 6429).XArray Simple operations on arrays.XMath Simple mathematical functions. -
Enum Summary Enum Description DateTimeParser.FormatAndPrecision -
Exception Summary Exception Description ContentFormatException Throws when a stream can't be parsed because some content uses an invalid format.UnsupportedImplementationException Throws when an operation can't use arbitrary implementation of an interface, and a given instance doesn't meet the requirement. -
Annotation Types Summary Annotation Type Description SuppressFBWarnings GeoTools 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).