com.softicar.platform.common.io.resource.supplier.ResourceSupplier Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of platform-common Show documentation
Show all versions of platform-common Show documentation
The SoftiCAR Platform is a lightweight, Java-based library to create interactive business web applications.
package com.softicar.platform.common.io.resource.supplier;
import com.softicar.platform.common.io.resource.IResource;
import com.softicar.platform.common.io.resource.static_.AbstractStaticResourceSupplier;
import com.softicar.platform.common.io.resource.static_.IStaticResource;
/**
* Supplies a static {@link IResource}.
*
* @author Alexander Schmidt
*/
public class ResourceSupplier extends AbstractStaticResourceSupplier {
public ResourceSupplier(IStaticResource staticResource) {
super(staticResource);
}
@Override
public IResource getResource() {
return staticResource;
}
}