Class CmsCmisRenditionFilter


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

    • Constructor Summary

      Constructors 
      Constructor Description
      CmsCmisRenditionFilter​(java.lang.String filterStr)
      Creates a new filter from the given filter string.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean accept​(java.lang.String kind, java.lang.String mimetype)
      Checks whether this filter accepts a given kind/mimetype combination.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CmsCmisRenditionFilter

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

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

      • accept

        public boolean accept​(java.lang.String kind,
                              java.lang.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