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

sirius.biz.storage.vfs.VFSRoot Maven / Gradle / Ivy

There is a newer version: 9.6
Show newest version
/*
 * Made with all the love in the world
 * by scireum in Remshalden, Germany
 *
 * Copyright by scireum GmbH
 * http://www.scireum.de - [email protected]
 */

package sirius.biz.storage.vfs;

import java.util.function.Consumer;

/**
 * Represents a root withing the {@link VirtualFileSystem}.
 * 

* This can contribute one of more top-level files for the VFS. Implementing classes must wear a {@link * sirius.kernel.di.std.Register} to become visible to the injector and the VFS framework. */ public interface VFSRoot { /** * Collects all top-level files provided by this root. * * @param parent the root directory of the VFS to be used a parent for the provided files * @param fileCollector the consumer to collect all provided files */ void collectRootFolders(VirtualFile parent, Consumer fileCollector); }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy