Package org.opencms.cmis
Class CmsCmisRenditionFilter
- java.lang.Object
-
- org.opencms.cmis.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.
-
-
-
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 kindmimetype
- the mime type- Returns:
- true if the filter accepts the combination
-
-