Class BwHrefFilter

java.lang.Object
org.bedework.caldav.util.filter.FilterBase
org.bedework.caldav.util.filter.PropertyFilter
org.bedework.caldav.util.filter.ObjectFilter<String>
org.bedework.calfacade.filter.BwHrefFilter
All Implemented Interfaces:
Serializable

public class BwHrefFilter extends org.bedework.caldav.util.filter.ObjectFilter<String>
A filter that selects events that have a given href
Version:
1.0
Author:
Mike Douglass
See Also:
  • Field Summary

    Fields inherited from class org.bedework.caldav.util.filter.FilterBase

    cache, children, description, name, not, parent
  • Constructor Summary

    Constructors
    Constructor
    Description
    BwHrefFilter(String name, org.bedework.util.calendar.PropertyIndex.PropertyInfoIndex propertyIndex)
    Match on an event href.
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
     
     

    Methods inherited from class org.bedework.caldav.util.filter.ObjectFilter

    getCaseless, getEntity, getExact, getPrefixMatch, makeFilter, makeFilter, makeFilter, setCaseless, setEntity, setExact, setPrefixMatch, toString

    Methods inherited from class org.bedework.caldav.util.filter.PropertyFilter

    getIntKey, getParentPropertyIndex, getPropertyIndex, getPropertyIndexes, getStrKey, setParentPropertyIndex, setPropertyIndex, toStringSegment

    Methods inherited from class org.bedework.caldav.util.filter.FilterBase

    addAndChild, addChild, addOrChild, getCache, getChildren, getDescription, getName, getNot, getNumChildren, getParent, match, setCache, setChildren, setDescription, setName, setNot, setParent, stringOper

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • BwHrefFilter

      public BwHrefFilter(String name, org.bedework.util.calendar.PropertyIndex.PropertyInfoIndex propertyIndex)
      Match on an event href.
      Parameters:
      name - - null one will be created
      propertyIndex -
  • Method Details

    • getHref

      public String getHref()
      Returns:
      the href only - that bit after the "#"
    • getNamePart

      public String getNamePart()
      Returns:
      the name part of the href - that bit after the last "/"
    • getPathPart

      public String getPathPart()
      Returns:
      the path part of the href - that bit before the last "/"
    • getRecurrencePart

      public String getRecurrencePart()
      Returns:
      the recurrenceid part of the href - that bit after the last "#"