Package org.esa.snap.core.util
Provides several utility classes used throughout SNAP.
-
Interface Summary Interface Description CachingObjectArray.ObjectFactory FeatureUtils.FeatureCrsProvider ForLoop.Body ModuleMetadata Provides metadata about a module.ObservableFeatureCollection.Listener PropertyMap ThePropertyMap
class can be used instead of the standard JDKjava.util.Properties
class.PropertyMap
provides a generally more useful interface by adding a couple type conversion methods for a set of most frequently used data types, such asBoolean
,Integer
,Double
,Color
andFont
.ShapeRasterizer.LinePixelVisitor Visits each pixel of a rasterized line.ShapeRasterizer.LineRasterizer An abstract representation of an algorithm used to rasterize lines. -
Class Summary Class Description AbstractPropertyMap Abstract implementation of thePropertyMap
interface.AreaCalculator Calculates the size of an specified area in square meter.ArrayUtils A utility class providing a set of static functions frequently used when working with basic Java arrays.AwtGeomToJtsGeomConverter BitRaster A pixel mask provides a boolean value for a given pixel position.BitSetter Static function to manipulate bits inside an int or long.BucketMap<K extends Number,V> Created by kraftek on 11/6/2015.CachingObjectArray CollectionHelper Helper class for simplifying lambda expression usage on collections and arrays.DateTimeUtils This utility class provides some date/time related methods.Debug TheDebug
as it name says is a utility class for debugging.DefaultPropertyMap Default implementation of thePropertyMap
interface backed by aProperties
instance.DummyProductBuilder Utility class for creating various Product dummy instances for testing.EngineVersionCheckActivator FeatureUtils Unstable API.ForLoop A programmatic, functional for-loop.ForwardingSimpleFeature Reusable forwarding class delegating to aSimpleFeature
instance.GeoUtils Guardian This utility class which provides several staticassert
XXX methods which can be used to internally check the arguments passed to methods.ImageUtils A utility class providing a set of static functions frequently used when working with images.IntMap ISO8601Converter Converts betweenString
andProductData.UTC
.MouseEventFilterFactory NamingConvention Stores tool names and spellings which may differ in packages which implement SNAPNamingConventionSnap Stores tool names and spellings which may differ in packages which implement SNAPNativeLibraryUtils Helper methods for native libraries registration.ObjectArray ObjectUtils This utility class provides several usefulObject
-related methods.ObservableFeatureCollection The class does not belong to the public API, only for internal Use.PreferencesPropertyMap Implementation of thePropertyMap
interface backed by aPreferences
instance.PrivilegedAccessor a.k.a.ProductUtils This class provides many static factory methods to be used in conjunction with data products.RandomUtils Random Utilities to manage seeds and other.RectangleExtender Extends a rectangle using a horizontal and vertical extension.ResourceInstaller Installs resources from a given source to a given target.ServiceFinder A finder for service provider interface (SPI) registries.ServiceFinder.Module The module containing the services.ServiceLoader IMPORTANT NOTE: This class does not belong to the public API.ShapeRasterizer Instances of this class are used to rasterize the outline of ajava.awt.Shape
.ShapeRasterizer.BresenhamLineRasterizer The Bresenham Algorithm is the default algorithm used to rasterize lines.StopWatch TheStopWatch
class is a (very) simple utility class that allows to measure the time passed between two user defined events.StringUtils TheStringUtils
class provides frequently used utility methods dealing withString
values and which are not found in thejava.lang.String
class.SystemUtils A collection of SNAP-system level functions.SystemUtils.ImageSelection This class is used to hold an image while on the clipboard.ThreadExecutor ThreadRunnable TimeStampExtractor Allows to extract time information from file names.TimeStampExtractor.DateInterpretationPatternValidator TimeStampExtractor.FilenameInterpretationPatternValidator TreeNode<T> A tree node implementation.UtilConstants Stores some constants used in this package.VersionChecker XmlWriter Deprecated. since BEAM 4.2, XML shall only be written via a DOM (e.g. -
Enum Summary Enum Description DummyProductBuilder.GC Geo CodingDummyProductBuilder.GCOcc Occurrence of geo-codings.DummyProductBuilder.GP Geo PositionDummyProductBuilder.I2M Image-to-model transformation type.DummyProductBuilder.Size Raster SizeDummyProductBuilder.SizeOcc Occurrence of sizes.ObservableFeatureCollection.EVENT_TYPE StringUtils.CaseType VersionChecker.CHECK -
Error Summary Error Description AssertionFailure TheAssertionFailure
class is an error caused by a failed program assertion.