Package org.alfresco.rest.api.lookups
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 Summary
Constructors Constructor Description MimeTypePropertyLookup()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
lookup(String propertyValue)
Lookup the property value with a new value.void
setServiceRegistry(ServiceRegistry serviceRegistry)
void
setSupported(List<String> supported)
Set<String>
supports()
The list of property keys that are supported by this class
-
-
-
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 interfacePropertyLookup<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 interfacePropertyLookup<String>
- Returns:
- Set
property keys
-
setServiceRegistry
public void setServiceRegistry(ServiceRegistry serviceRegistry)
-
-