Interface IFileSystemEntryFactory<Entry extends IFileSystemEntry<Entry>>

  • Type Parameters:
    Entry - The type of the file system entry.
    All Superinterfaces:
    BiFunction<String,​String,​Entry>, Serializable
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public interface IFileSystemEntryFactory<Entry extends IFileSystemEntry<Entry>>
    extends Serializable, BiFunction<String,​String,​Entry>
    Factory for creating file system entries.
    Since:
    8.3.0
    Author:
    XIMA MEDIA GmbH
    • Method Detail

      • forVolumeAndPath

        Entry forVolumeAndPath​(String volume,
                               String path)
        Creates a new file system entry for the given volume and file or directory path.
        Parameters:
        volume - The volume name.
        path - The file or directory path of the file in the volume. Empty for the root directory.
        Returns:
        The new file system entry.