# Package org.apache.struts2.util

package org.apache.struts2.util
XWork util classes.

- Related Packages
  Package
  Description
  org.apache.struts2
  Main XWork interfaces and classes.
  org.apache.struts2.util.classloader
  org.apache.struts2.util.finder
  org.apache.struts2.util.fs
  org.apache.struts2.util.location
  Classes and utilities used to track location information.
  org.apache.struts2.util.reflection
- Class
  Description
  AnnotationUtils
  `AnnotationUtils`
  AppendIteratorFilter
  A bean that takes several iterators and outputs them in sequence
  ClassLoaderUtil
  This class is extremely useful for loading resources and classes in a fault tolerant manner that works across different applications servers.
  ClassPathFinder
  This class is an utility class that will search through the classpath for files whose names match the given pattern.
  ClearableValueStack
  ValueStacks implementing this interface provide a way to remove values from their contexts.
  ComponentUtils
  Various static methods used with components
  CompoundRoot
  A Stack that is implemented using a List.
  ConfigParseUtil
  ContainUtil
  `ContainUtil` will check if object 1 contains object 2.
  ContentTypeMatcher<E>
  Matches content type of uploaded files, similar to `PatternMatcher`
  Counter
  A bean that can be used to keep track of a counter.
  CreateIfNull
  DebugUtils
  DefaultContentTypeMatcher
  DomHelper
  Helper class to create and retrieve information from location-enabled DOM-trees.
  DomHelper.DOMBuilder
  The `DOMBuilder` is a utility class that will generate a W3C DOM Document from SAX events.
  DomHelper.StartHandler
  Element
  Evaluated
  FastByteArrayOutputStream
  A speedy implementation of ByteArrayOutputStream.
  InvocationSessionStore
  InvocationSessionStore
  IteratorFilterSupport
  A base class for iterator filters
  IteratorFilterSupport.EnumerationIterator
  IteratorGenerator
  A bean that generates an iterator filled with a given object depending on the count, separator and converter defined.
  IteratorGenerator.Converter
  Interface for converting each separated token into an Object of choice.
  Key
  KeyProperty
  ListEntry
  Entry in a list.
  MakeIterator
  MakeIterator.
  MemberAccessValueStack
  ValueStacks implementing this interface provide a way to remove block or allow access to properties using regular expressions
  MergeIteratorFilter
  A bean that takes several iterators and outputs the merge of them.
  NamedVariablePatternMatcher
  An implementation of a pattern matcher that uses simple named wildcards.
  NamedVariablePatternMatcher.CompiledPattern
  Stores the compiled pattern and the variable names matches will correspond to.
  ObjectFactoryDestroyable
  An interface to be implemented by any ObjectFactory implementation if it requires shutdown hook whenever an ObjectFactory is to be destroyed.
  OgnlTextParser
  OGNL implementation of `TextParser`
  PatternMatcher<E>
  Compiles and matches a pattern against a value
  PrefixTrie
  Quickly matches a prefix to an object.
  PropertiesReader
  This class is used to read properties lines.
  ProxyUtil
  `ProxyUtil`
  RegexPatternMatcher
  Allows regular expressions to be used in action names.
  RegexPatternMatcherExpression
  Holds a compiled expression to match URLs
  ResolverUtil<T>
  ResolverUtil is used to locate classes that are available in the/a class path and meet arbitrary conditions.
  ResolverUtil.AnnotatedWith
  A Test that checks to see if each class is annotated with a specific annotation.
  ResolverUtil.ClassTest
  ResolverUtil.IsA
  A Test that checks to see if each class is assignable to the provided class.
  ResolverUtil.NameEndsWith
  A Test that checks to see if each class name ends with the provided suffix.
  ResolverUtil.NameIs
  ResolverUtil.ResourceTest
  ResolverUtil.Test
  A simple interface that specifies how to test classes to determine if they are to be included in the results produced by the ResolverUtil.
  SortIteratorFilter
  A bean that takes a source and comparator then attempt to sort the source utilizing the comparator.
  StrutsTestCaseHelper
  Generic test setup methods to be used with any unit testing framework.
  StrutsTypeConverter
  StrutsUtil
  Struts base utility class, for use in Velocity and Freemarker templates
  SubsetIteratorFilter
  A bean that takes an iterator and outputs a subset of it.
  SubsetIteratorFilter.Decider
  A decider determines if the given element should be added to the list or not.
  TabbedPane
  A bean that helps implement a tabbed pane FIXME: use it remove
  TextParser
  Used to parse expressions like ${foo.bar} or %{bar.foo} but it is up tp the TextParser's implementation what kind of opening char to use (#, $, %, etc)
  TextParseUtil
  Utility class for text parsing.
  TextParseUtil.ParsedValueEvaluator
  A parsed value evaluator for `TextParseUtil`.
  TextProviderHelper
  Helper methods to access text from TextProviders
  Timer
  A bean that can be used to time execution of pages FIXME: remove?
  TokenHelper
  TokenHelper
  URLBean
  A bean that can generate a URL.
  ValueStack
  ValueStack allows multiple beans to be pushed in and dynamic EL expressions to be evaluated against it.
  ValueStackFactory
  Factory that creates a value stack, defaulting to the OgnlValueStackFactory
  ValueStackProvider
  WildcardHelper
  This class is an utility class that perform wilcard-patterns matching and isolation taken from Apache Cocoon.
  WildcardUtil
  Helper class to convert wildcard expression to regular expression
  XWorkTestCaseHelper
  Generic test setup methods to be used with any unit testing framework.