Class FilterUtils

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

public class FilterUtils extends Object
Utilities for filter processing.
  • 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