# Package net.sf.jasperreports.engine.util

Contains utility classes for the core library.

See: Description

- Interface Summary
  Interface | Description
  --- | ---
  BigDecimalHandler | `BigDecimal` handler interface used by `BigDecimalUtils`.
  ExpressionChunkVisitor | Visitor of expressions chunks.
  FileResolver |
  FormatFactory |
  JRImageEncoder |
  JRImageReader |
  JRQueryChunkHandler | A query chunk handler.
  JRTextMeasurerFactory | Text measurer factory.
  JRValueStringUtils.ValueSerializer |
  MarkupProcessor |
  MarkupProcessorFactory |
  MessageProvider |
  MessageProviderFactory |
  ProtectionDomainFactory | `ProtectionDomain` factory that is used by `JRClassLoader` to create per-instance protection domains.
  ReportCreator |
  ReportUpdater |
  StreamCompression |

- Class Summary
  Class | Description
  --- | ---
  AbstractSampleApp |
  AbstractTextMeasurerFactory | Factory of `JdkGlyphFixTextMeasurer` instances.
  BigDecimalUtils | Utility methods for `BigDecimal` handling.
  Bounds |
  BreakIteratorSplitCharacter | Implementation of `SplitCharacter` that uses the same logic as AWT to break texts into lines.
  BreakIteratorSplitCharacter.ArrayCharIterator |
  ClassLoaderResource | Details of a resource found on a classloader.
  ClassUtils | Class utilities.
  CompositeClassloader | A composite classloader that has a parent classloader and an alternate classloader.
  CompositeExpressionChunkVisitor | Composite expression chunk visitor.
  CompositePrintElementVisitor<T> | A print element visitor that contains several visitors to which it delegates calls.
  ContextClassLoaderObjectInputStream | A subclass of `ObjectInputStream` that uses `the context class loader` to resolve classes encountered in the input stream.
  DeduplicableRegistry | A registry of deduplicable objects.
  DeduplicableRegistry.DeduplicableMap<T extends Deduplicable> |
  DeduplicableRegistry.DeduplicableWrapper<T extends Deduplicable> |
  DeepPrintElementCounter | Print element visitor that counts deep elements by recursively visiting `JRPrintFrame` containers.
  DeepPrintElementVisitor<T> | Print element visitor decorator that recursively visits `JRPrintFrame` subelements.
  DefaultFormatFactory |
  DefaultPrintElementVisitor<T> | Base print element visitor implementation with empty methods.
  DeflateStreamCompression |
  DelegatePropertiesHolder |
  DigestUtils |
  DisplayComparableValue<T extends java.lang.Comparable<T>> |
  DisplayValue<T> |
  DisplayValueLabelComparator<T> |
  ElementsVisitorUtils | Utility methods for element visitors.
  FileBufferedOutputStream |
  FileBufferedWriter |
  FlashUtils | Utility methods related to Flash objects.
  FormatUtils |
  HyperlinkData |
  Java14BigDecimalHandler | `BigDecimalHandler` implementation used on Java 1.4.
  Java15BigDecimalHandler | `BigDecimalHandler` implementation used on Java 1.5 or newer.
  JdkGlyphFixTextMeasurer | A text measurer implementation that extends `the default text measurer` and adds a workaround for Sun JDK bug | JdkGlyphFixTextMeasurerFactory | Factory of `JdkGlyphFixTextMeasurer` instances.
  JEditorPaneHtmlMarkupProcessor |
  JEditorPaneMarkupProcessor |
  JEditorPaneMarkupProcessor.HtmlFactory |
  JEditorPaneMarkupProcessor.RtfFactory |
  JEditorPaneRtfMarkupProcessor |
  JRAbstractImageEncoder |
  JRApiWriter | A writer that generates the Java code required to produce a given report template programmatically, using the JasperReports API.
  JRBoxUtil |
  JRClassLoader |
  JRCloneUtils | Cloning related utility methods.
  JRColorUtil |
  JRConcurrentSwapFile | `JRSwapFile` derived class that uses a `FileChannel` to perform concurrent I/O on the swap file.
  JRDataUtils |
  JRDateLocaleConverter | A Converter class dedicated for the java.util.Date type.
  JRDelegationVisitor | Abstract delegation visitor.
  JRElementsVisitor | Report elements visitor.
  JRExpressionUtil |
  JRFloatLocaleConverter | `FloatLocaleConverter` extension that fixes https://issues.apache.org/jira/browse/BEANUTILS-351 To be removed on upgrade to BeanUtils 1.8.1.
  JRFontUtil | Deprecated Replaced by `FontUtil`.
  JRGraphEnvInitializer |
  JRImageLoader |
  JRJdk13ImageReader |
  JRJdk14ImageEncoder |
  JRJdk14ImageReader |
  JRLoader | Utility class that helps load serialized objects found in various locations such as files, URLs, and input streams.
  JRPenUtil |
  JRProperties | Deprecated Replaced by `JRPropertiesUtil`.
  JRProperties.PropertySuffix | Class used by `JRProperties.getProperties(String)`.
  JRQueryExecuterUtils | Query executer utility class.
  JRQueryExecuterUtils.WrappingQueryExecuterFactory | Deprecated To be removed.
  JRQueryParser | Report query parser.
  JRReportUtils |
  JRResourcesUtil | Provides methods for resource resolution via class loaders or URL stream handlers.
  JRSaver | Utility class that can be used when serializable objects must be saved on disk or sent over the network through an output stream.
  JRSingletonCache<T> | Utility to use as a soft cache of singleton instances.
  JRStringUtil |
  JRStyledText |
  JRStyledText.Run |
  JRStyledTextParser |
  JRStyledTextUtil |
  JRStyleResolver |
  JRSwapFile | Swap file implementation that can be used as a disk cache for arbitrary binary data.
  JRSwapFile.LongQueue |
  JRSwapFile.SwapHandle |
  JRTextAttribute |
  JRTextMeasurerUtil | Text measurer utility class.
  JRTextMeasurerUtil.WrappingTextMeasurerFactory | Deprecated To be removed.
  JRTypeSniffer |
  JRValueStringUtils | Utility class used to serialize/deserialize value objects to/from String values.
  JRValueStringUtils.BigDecimalSerializer |
  JRValueStringUtils.BigIntegerSerializer |
  JRValueStringUtils.BooleanSerializer |
  JRValueStringUtils.ByteSerializer |
  JRValueStringUtils.CharacterSerializer |
  JRValueStringUtils.DateSerializer |
  JRValueStringUtils.DefaultSerializer |
  JRValueStringUtils.DoubleSerializer |
  JRValueStringUtils.FloatSerializer |
  JRValueStringUtils.IntegerSerializer |
  JRValueStringUtils.LongSerializer |
  JRValueStringUtils.ShortSerializer |
  JRValueStringUtils.StringSerializer |
  JRValueStringUtils.TimeSerializer |
  JRValueStringUtils.TimestampSerializer |
  JRVisitorSupport | Abstract implementation of `JRVisitor` that has empty visit methods for all visitable types.
  JRXmlUtils | XML parsing utilities.
  JRXmlWriteHelper |
  JRXmlWriteHelper.Attribute |
  JRXmlWriteHelper.StackElement |
  JsonUtil |
  LinkedMap<K,V> | A doubly linked list that can also map entries on keys.
  LinkedMap.LinkedValue<K,V> |
  LocalizedMessageProvider |
  LocalJasperReportsContext |
  MaxFontSizeFinder |
  MD5Digest |
  MessageUtil |
  NullOutputStream | Output stream implementation that discards all the data.
  ObjectUtils | Object comparison and hashing utilities.
  ObjectUtils.HashCode | Hash code creator for objects.
  Pair<T,U> | Utility class used to pair two objects.
  ParagraphUtil |
  ResourceBundleMessageProvider |
  ResourceBundleMessageProviderFactory |
  SimpleFileResolver |
  SingleProtectionDomainFactory | Implementation of `ProtectionDomainFactory` that wraps a single protection domain.
  SingleValue |
  SortedIntList |
  StyleUtil |
  SwapFileVirtualizerStore |
  SwapFileVirtualizerStoreFactory |
  ThreadLocalStack | Thread local stack utility class.
  UniformElementVisitor | An abstract visitor class that treats all report elements in the same way.
  UniformPrintElementVisitor<T> | Print element visitor that delegates all visit calls to a single method.
  ValuePropertiesWrapper |
  ValuePropertiesWrapperComparator |
  VersionComparator |
  VirtualizationSerializer |
  WrappingImageMapRenderable | Deprecated To be removed.
  WrappingRenderable | Deprecated To be removed.
  XmlNamespace | An XML namespace.

- Exception Summary
  Exception | Description
  --- | ---
  JRFontNotFoundException | Exception raised when a font name used as value for the `fontName` attribute in the report template, is not found in any of the runtime available JasperReports font extensions, nor among the font names available to the Java Virtual Machine.
  JRPdfaIccProfileNotFoundException | Exception raised when an ICC profile is not available to the JVM.

## Package net.sf.jasperreports.engine.util Description

Contains utility classes for the core library.

### Related Documentation

JasperReports Tutorial

© 2001-2010 Jaspersoft Corporation www.jaspersoft.com