Package org.mycore.user2.utils
Class MCRUserNameConverter
java.lang.Object
org.mycore.user2.utils.MCRUserNameConverter
- All Implemented Interfaces:
MCRUserAttributeConverter<String,
String>
public class MCRUserNameConverter
extends Object
implements MCRUserAttributeConverter<String,String>
- Author:
- René Adler (eagle)
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
MCRUserNameConverter
public MCRUserNameConverter()
-
-
Method Details
-
convert
public String convert(String value, String separator, Map<String, String> valueMapping) throws ExceptionDescription copied from interface:MCRUserAttributeConverter
Convert a given value to the specified type.- Specified by:
convert
in interfaceMCRUserAttributeConverter<String,
String> - Parameters:
value
- the value of type<ValueType>
, to convertseparator
- the value separator ornull
valueMapping
- the value mapping ornull
- Returns:
- the converted value of type
<BoundType>
- Throws:
Exception
- if there's an error during the conversion.
-