ResourceConverter.java 577 Bytes
/*
 * Decompiled with CFR 0_118.
 * 
 * Could not load the following classes:
 *  aQute.bnd.annotation.ConsumerType
 */
package com.adobe.granite.rest.converter;

import aQute.bnd.annotation.ConsumerType;
import com.adobe.granite.rest.converter.ResourceConverterContext;
import com.adobe.granite.rest.converter.ResourceConverterException;

@ConsumerType
public interface ResourceConverter<T> {
    public T toEntity(ResourceConverterContext var1) throws ResourceConverterException;

    public T toSubEntity(ResourceConverterContext var1) throws ResourceConverterException;
}