Package com.attivio.util
Contains utility classes and methods used across the Attivio code base.
-
Interface Summary Interface Description IOUtils.OutputStreamConsumer Used for copying an OutputStream into an InputStream.StatusListener Accepts status messages for various system or client events.Tailer.TailerListener -
Class Summary Class Description AttivioDateFormat This class provides functions for parsing and formatting dates in a format used by the Attivio Engine.AttivioLogger Unifies all logging facilities through SLF4j with special handling for various features such as error codes and log message formatting.AttivioLogger.ThreadLocalComponentName The thread local component nameBlockExitSecurityManager ASecurityManager
which blocks calls to System.exit() and turns them into aBlockedExitException
.CharacterEncodingUtils CharacterEncodingUtils
provides utility methods for detection and conversion of character encodings.ConcurrentHashSet<E> Deprecated. UseConcurrentSkipListSet
insteadDateUtils Contains utilities to format and parse dates.DuplicatedInputStream Utility class that duplicates a single input stream to multiple input streams.EncryptionUtils Standard encryption relate utilities used throughout Attivio.EventUtils FieldExpressionFactory Factory for creatingFieldExpression
instances.FileUtils Contains utility methods for reading/writing files while handling encodings and other issues.FileUtils.FileNameComparator Compares file objects.GeometryUtils Utility functions for geometry classes.HTTPUtils Contains utility methods related to HTTP.ImageUtils Utilities for inspecting, processing, and modifying Images.IncludeExcludeDocumentFilterImpl InverseMapEntryComparator<T extends java.lang.Comparable<T>> Inverted sort: bigger values come firstIOUtils Contains utilities for reading/writing streams.JmxUtils Set of base-level JMX utilities needed for remote JMX invocationLazyReference<T> A class that keeps a reference to an object and initializes it in a lazy fashion.LocaleUtils Contains locale-related constants and utility methods.MessageLifecycleState MessageUtils Contains utilities for accessing the Enterprise Service Bus functionality.ModelStringUtils Contains utility functions for working with theStrings
MultiValueMap<K,V> Map implementation that can hold multiple unique values for a given key.ObjectUtils Contains utility functions for working with the Object typeRandomAccessFileInputStream An InputStream wrapper around theRandomAccessFile
class.RandomAccessFileOutputStream An OutputStream wrapper around theRandomAccessFile
class.RemoteEndpoint RemoteJmxEndpoint SchemaUtils SerializationUtils Utilities for serializing data.StatusListenerTee Passes each message to all listenersStringUtils Contains utility methods related to strings.StringUtils.WhiteSpaceTrimmingInputStream Replaces any chunk of whitespace characters within a text stream, with a single space character.Tailer Version ofTailer
that lets you set the start positionThreadUtils Utility functions for working with threads.TokenUtils Utility methods for working withTokenList
objects.TokenUtils.PositionBuffer Expert Use Only: Utility class for buffering and processing tokens indexed at the same position.TokenUtils.TokenBuffer Expert Use Only: represents aToken
and associated positional data as part of aTokenUtils.PositionBuffer
.ValueCounter<K> Simple class to map a key to a count.XMLSerializer Serializes/deserializes objects to/from XML.XMLUtils Contains various utility function to parse and output XML.XMLUtils.NonValidatingEntityResolver Acts as a no-op entity resolverXMLUtils.SinglyConfiguredSAXReader A SAXReader that only configures itself once.XStreamSerializer Serializes/deserializes XML using XStream.XStreamSerializer.AttivioDefaultConverter Converter that will throw an exception if anyone tries to convert an Attivio model object.XStreamSerializer.NonCachingStringConverter The non-caching string converter. -
Exception Summary Exception Description BlockedExitException The exception thrown byBlockExitSecurityManager
when System.exit is called. -
Annotation Types Summary Annotation Type Description SuppressWarnings SuppressWarnings annotation that can be used at runtime by findbugs but can be shipped with our source.