org.springframework.hateoas.core
Class ObjectUtils
java.lang.Object
org.springframework.hateoas.core.ObjectUtils
public class ObjectUtils
- extends Object
Simple helper class.
- Author:
- Oliver Gierke
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ObjectUtils
public ObjectUtils()
getResourceType
public static Object getResourceType(Object object)
- Returns the resource type of the given object. In case a
Resource is given, it will return the
Resource content's type.
- Parameters:
object - can be null.
- Returns:
Copyright © 2012-2014-2014 Pivotal, Inc.. All Rights Reserved.