Class JSONUserFormatter
- java.lang.Object
-
- org.intermine.webservice.server.user.JSONUserFormatter
-
public class JSONUserFormatter extends java.lang.Object
A formatter that knows how to format a user in JSON- Author:
- Daniela Butano
-
-
Constructor Summary
Constructors Constructor Description JSONUserFormatter(Profile profile)
Construct a user formatter.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<java.lang.String,java.lang.Object>
format()
Format a user into a map.
-
-
-
Constructor Detail
-
JSONUserFormatter
public JSONUserFormatter(Profile profile)
Construct a user formatter.- Parameters:
profile
- The current user.
-
-