com.softicar.platform.common.io.resource.supplier.IResourceSupplierFactory 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;
/**
* Implementations of this interface create {@link IResourceSupplier} instances
* from file names.
*
* @author Alexander Schmidt
*/
@FunctionalInterface
public interface IResourceSupplierFactory {
/**
* Creates an {@link IResourceSupplier} that supplies the resource with the
* given file name.
*
* @param filename
* the name of the resource file (never null)
* @return the {@link IResourceSupplier} (never null)
*/
IResourceSupplier create(String filename);
}