Package org.alfresco.rest.api.lookups
Class MimeTypePropertyLookup
java.lang.Object
org.alfresco.rest.api.lookups.MimeTypePropertyLookup
- All Implemented Interfaces:
PropertyLookup<String>
Looks up mimetype values
Pass in a mimetype value and a display string is returned.
- Author:
- Gethin James
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionLookup the property value with a new value.void
setServiceRegistry
(ServiceRegistry serviceRegistry) void
setSupported
(List<String> supported) supports()
The list of property keys that are supported by this class
-
Constructor Details
-
MimeTypePropertyLookup
public MimeTypePropertyLookup()
-
-
Method Details
-
lookup
Description copied from interface:PropertyLookup
Lookup the property value with a new value.- Specified by:
lookup
in interfacePropertyLookup<String>
- Returns:
- a new value or null if the property value isn't found.
-
supports
Description copied from interface:PropertyLookup
The list of property keys that are supported by this class- Specified by:
supports
in interfacePropertyLookup<String>
- Returns:
- Set
property keys
-
setServiceRegistry
-
setSupported
-