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.
-
Interface Summary Interface Description MessageRouter.StdChannelListener TheStdChannelListenerinterface declares methods that should be implemented by each standard message channel listener.ProcessUtil.StdStreamListener TheStdStreamListenerinterface defines 2 methods that should be implemented by a standard stream listener to get console messages ('stderr' and 'stdout' streams) printed by selected process. -
Class Summary Class Description FileUtil TheFileUtilclass provides utility methods for working with general files.FileUtil.DirFileFilter TheDirFileFilterclass allows to filter files based on specified directory path and filename extension.FileUtil.ExtFilenameFilter TheExtFileFilterallows to filter file names based on the specified filename extension.FileUtil.FileTimeComparator TheFileTimeComparatorclass allows comparing 'last modified' time in 2 givenFileobjects.FileUtil.NameFileFilter TheNameFileFilterclass allows to filter files based on specified file name.MessageRouter TheMessageRouterclass facilitates intra-process message routing.ProcessUtil TheProcessUtilclass encapsulates utilities that help in dealing withProcessobjects.ProcessUtil.Runner TheProcessUtil.Runnerclass allows collecting, printing and distributing console output (stdout and stderr) of the specifiedProcesswithout blocking the caller.StringUtil TheStringUtilclass provides utility methods for working with strings.UIMAUtil TheUIMAUtilclass provides convenient methods for handling UIMA specific objects.XMLUtil TheXMLUtilclass provides miscellaneous XML utilities.