Package com.inductiveautomation.ignition.common.util
package com.inductiveautomation.ignition.common.util
-
ClassDescriptionConvenience base-class for any object that wants to manage change listenersAggregationSet<T,
K, R> Some stuff used to rely on StatusCode#getRawValue() and StatusCode#toString(), but now StatusCode isn't available for use.This is a thin wrapper around BeanInfo, which has some more helpful conveniences for calling getters and setters without all the syntax noiseJust like DataInputStream but uses buffered reads for readInt and readShortAn output stream that mirrors all output on 1 or more child output streams.A pool of byte[].Created by carl.gould on 8/14/2014.Utility to perform string comparisons that sort in a human-readable order (e.g.A simple FilterOutputStream that calculates a checksum as data is written to the underlying streamA builder to create datasets by hand (i.e.These are static functions that help when testing things involving datasets.A subclass of SimpleDateFormat that always checks the current timezone and updates to it, in case it has been changed.Equator<T>Queues up submittedRunnable
s and executes them in serial on anExecutorService
.Executor<In,Out> Strips characters that are invalid (to the filesystem) on common OSes.General purpose wrapper around an int that lets you easily work with numeric flags.Filename: HttpUtils Author: Perry Arellano-Jones Created on: 8/14/15IndexedValue<In>Static utility map to add map-like functionality to Java.ListMap.Mapper<F,B> This class is a wrapper around a logger which provides additional useful tools.This class provides helper functions for naming objects.The basic name factory generates sequential names with simple pattern detection.For a given object, provides its name.The implementor will return whether the provided name exists or not.This NameValidator wrapper is used for generating many names, when the underlying name validator won't be updated on the fly.Resolves file paths to native libraries based on the following file structure:OperationAggregator<T,K, R> The OperationAggregator takes a set of objects, splits them up based on keys determined by a KeyProvider, and then aggregates the results back together in the correct order, after some execution has occured.The InputValidator provides a way to validate input values before they get to execution.PredicateMap<T,V> A predicate map connects predicates of a certain type to multiple objects of another type.RAFCircularBuffer<T extends Serializable>A persistent circular buffer system that uses aRandomAccessFile
as the backing store.Reference<T>A very general purpose interface to provide a reference to an object that may or may not be available.A FileOutputStream that implements a two-stage write process, and additionaly copies any existing file to a backup location.Default java deserialization is dangerous with untrusted payloads.A number format that will switch between a "small" and "large" format depending on the magnitude of the value.Queues up submitted items and executes them in serial on an ExecutorService.AnSerialExecutionQueue.ExecutionCallback
that executesRunnable
s.This class helps with "simple" pattern matching.SimplePredicateMap<T,V> A simple (and rather inefficient) implementation of a PredicateMap.Acts as a bag (kind of like an un-ordered list or a set of like items) whose entries are kept in SoftReferences.SoftRefMap<K,V> A very simple cache map implementation using soft references around the keys.Splitter<In>Aggregates items, grouping them if they are submitted consecutively within a specified delay or if a specified maximum delivery frequency dictates that no more deliveries can be made at the time.Runnable which wraps another runnable and records its execution duration using aTimer
A timeline is a simple list of time segments.TimelineList<T>A timeline list is a list of values that cover a span of time.This class is used to organize overlapping time events.This class provides information about the specific absolute time to run, but also the symbolic time of day, and the id of the event that was used to generate it.Simple implementation ofX509ExtendedTrustManager
that trusts all certificates.Simple implementation ofX509TrustManager
that trusts all certificates.The ZipMap provides a convenient way of working with zip files by providing aMap
that is backed by a zip file.