Class MimeTypePropertyLookup

java.lang.Object
org.alfresco.rest.api.lookups.MimeTypePropertyLookup
All Implemented Interfaces:
PropertyLookup<String>

public class MimeTypePropertyLookup extends Object implements PropertyLookup<String>
Looks up mimetype values Pass in a mimetype value and a display string is returned.
Author:
Gethin James
  • Constructor Details

    • MimeTypePropertyLookup

      public MimeTypePropertyLookup()
  • Method Details

    • lookup

      public String lookup(String propertyValue)
      Description copied from interface: PropertyLookup
      Lookup the property value with a new value.
      Specified by:
      lookup in interface PropertyLookup<String>
      Returns:
      a new value or null if the property value isn't found.
    • supports

      public Set<String> supports()
      Description copied from interface: PropertyLookup
      The list of property keys that are supported by this class
      Specified by:
      supports in interface PropertyLookup<String>
      Returns:
      Set property keys
    • setServiceRegistry

      public void setServiceRegistry(ServiceRegistry serviceRegistry)
    • setSupported

      public void setSupported(List<String> supported)