Package com.collabnet.ce.soap60.webservices

# Class FilterUtils

java.lang.Object
com.collabnet.ce.soap60.webservices.FilterUtils

public class FilterUtils extends Object
Utilities for filter processing.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `FilterUtils()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static String`
  `getFilterValue(SoapFilter[] filters, String filterName)`
  Returns the value for the specified filter
  `static Date`
  `processDateString(String filterValue)`
  Process a string that was passed in to represent a date.

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### FilterUtils

    public FilterUtils()

- ## Method Details

  - ### getFilterValue

    public static String getFilterValue(SoapFilter[] filters, String filterName)
    Returns the value for the specified filter
    Parameters:
      `filters` - Array of filters.
      `filterName` - Filter for which value is sought.
    Returns:
      Filter value.

  - ### processDateString

    public static Date processDateString(String filterValue) throws InvalidFilterFault
    Process a string that was passed in to represent a date.
    Parameters:
      `filterValue` - The string representation of the date. This could be a milliseconds since 1970 or a properly formatted date string.
    Returns:
      The date represented by the filter.
    Throws:
      `InvalidFilterFault`