All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.softicar.platform.common.io.resource.supplier.ResourceSupplierFactory Maven / Gradle / Ivy

Go to download

The SoftiCAR Platform is a lightweight, Java-based library to create interactive business web applications.

There is a newer version: 50.0.0
Show newest version
package com.softicar.platform.common.io.resource.supplier;

import com.softicar.platform.common.io.resource.static_.IStaticResource;
import java.nio.charset.Charset;

/**
 * Convenience factory for instances of {@link IResourceSupplier}.
 *
 * @author Alexander Schmidt
 */
public class ResourceSupplierFactory extends AbstractResourceSupplierFactory {

	public ResourceSupplierFactory(Class anchorClass) {

		super(anchorClass);
	}

	public ResourceSupplierFactory(Class anchorClass, Charset charset) {

		super(anchorClass, charset);
	}

	@Override
	protected IResourceSupplier createSupplier(IStaticResource staticResource) {

		return new ResourceSupplier(staticResource);
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy