# Package org.apache.uima.pear.util

package org.apache.uima.pear.util
The `org.apache.uima.pear.util` package provides utilities that facilitate common operations with general files, strings and XML files, as well as simple process message routing and other useful operations.

- Class
  Description
  FileUtil
  The `FileUtil` class provides utility methods for working with general files.
  FileUtil.DirFileFilter
  The `DirFileFilter` class allows to filter files based on specified directory path and filename extension.
  FileUtil.ExtFilenameFilter
  The `ExtFileFilter` allows to filter file names based on the specified filename extension.
  FileUtil.FileTimeComparator
  The `FileTimeComparator` class allows comparing 'last modified' time in 2 given `File` objects.
  FileUtil.NameFileFilter
  The `NameFileFilter` class allows to filter files based on specified file name.
  MessageRouter
  The `MessageRouter` class facilitates intra-process message routing.
  MessageRouter.StdChannelListener
  The `StdChannelListener` interface declares methods that should be implemented by each standard message channel listener.
  ProcessUtil
  The `ProcessUtil` class encapsulates utilities that help in dealing with `Process` objects.
  ProcessUtil.Runner
  The `ProcessUtil.Runner` class allows collecting, printing and distributing console output (stdout and stderr) of the specified `Process` without blocking the caller.
  ProcessUtil.StdStreamListener
  The `StdStreamListener` interface defines 2 methods that should be implemented by a standard stream listener to get console messages ('stderr' and 'stdout' streams) printed by selected process.
  StringUtil
  The `StringUtil` class provides utility methods for working with strings.
  UIMAUtil
  The `UIMAUtil` class provides convenient methods for handling UIMA specific objects.
  XMLUtil
  The `XMLUtil` class provides miscellaneous XML utilities.