Class 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 Detail

      • MimeTypePropertyLookup

        public MimeTypePropertyLookup()
    • Method Detail

      • 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.
      • setServiceRegistry

        public void setServiceRegistry​(ServiceRegistry serviceRegistry)
      • setSupported

        public void setSupported​(List<String> supported)