framework/application/api/src/main/java/org/ldp4j/application/vocabulary/TypeAdapter.java
static <S,T> T adapt(S object, Class<? extends T> resultClass) {
		return TypeAdapter.<S,T>doCreateAdapter(resultClass, AdapterMethodValidator.newInstance(resultClass, object)).adapt(object);
	}
static <S,T> T adapt(S object, Class<? extends T> resultClass) {
		return TypeAdapter.<S,T>doCreateAdapter(resultClass, AdapterMethodValidator.newInstance(resultClass, object)).adapt(object);
	}
Transform a given object into an instance of the specified type.

@param object
The object that is to be transformed.
@param resultClass
The type of instance that is to be created.
@return An instance of type {@code resultClass} created upon the
specified @ object} .
@throws CannotAdaptClassesException
when no adapter capable of carrying out such transformation
is available.