Class CmsCmisRenditionFilter

java.lang.Object
org.opencms.cmis.CmsCmisRenditionFilter

public class CmsCmisRenditionFilter extends Object
This class encapsulates the filter logic for CMIS rendition filters.

  • Constructor Details

    • CmsCmisRenditionFilter

      public CmsCmisRenditionFilter(String filterStr)
      Creates a new filter from the given filter string.

      Parameters:
      filterStr - the CMIS rendition filter string
  • Method Details

    • accept

      public boolean accept(String kind, String mimetype)
      Checks whether this filter accepts a given kind/mimetype combination.

      Parameters:
      kind - the kind
      mimetype - the mime type
      Returns:
      true if the filter accepts the combination